---
title: "Extract Largest Component"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/model3d/extractlargestcomponent
markdown: https://docs.nodetool.ai/nodes/nodetool/model3d/extractlargestcomponent.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/model3d/extractlargestcomponent.md
---

# Extract Largest Component

**Type:** `nodetool.model3d.ExtractLargestComponent`

**Namespace:** `nodetool.model3d`

## Description

Keep only the largest disconnected triangle component of a 3D mesh.
    3d, mesh, model, cleanup, component, connected, floater, islands

    Current limits:
    - First honest pass supports GLB triangle geometry only
    - Output rebuilds triangle geometry and does not preserve all original attributes/material setup

    Use cases:
    - Remove disconnected floaters from AI-generated meshes
    - Keep the primary object from noisy geometry
    - Clean up multi-island outputs before downstream processing

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| model | `model_3d` | The 3D model to clean up | - |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `model_3d` |  |

## Related Nodes

Browse other nodes in the [nodetool.model3d](./) namespace.
