### Clusters a set of panels or nodes

## Inputs

Name | ID | Description | Type |

**SmartMesh** | SMesh | Input a SmartMesh to cluster | |

**Number of Cluster** | N | The number of clusters wanted. Use this or the tolerance to define what you want to set as the cluster factor | Integer |

**α-tolerance** | α-tol | The maxmimum angle deviance allowed between the bars of the new node and the original in the normal plane of the node. Given in degrees. | Number |

**β-tolerance** | β-tol | The maximum angle deviance allowed between the bars of the new node and the original in the plane perpendicular to the normal plane of the node. Given in degrees. | Number |

**γ-tolerance** | γ-tol | The maximum angle deviance allowed in regards to the rotation of the bars around their own axis. Given in degrees. | Number |

## Outputs

Name | ID | Description | Type |

**SmartMesh** | SMesh | The Clustered Mesh | |

**Bar centre lines** | Bar | The orentation of the bar centre lines for the nodes | Line |

**γ Orientation** | γdir | The rotated orientation of the bar connection | Line |

**Brep** | Brep | The Breps representing the clustered panels | Brep |

**Cluster** | Cluster | The cluster the corresponding panel belong to | Integer |

**Δα** | Δα | The angle between the bars of the new node and the original in the normal plane of the node. Given in degrees. | Number |

**Δβ** | Δβ | The angle deviance between the bars of the new node and the original in the plane perpendicular to the normal plane of the node. Given in degrees. | Number |

**Δγ** | Δγ | The angle deviance in regards to the rotation of the bars around their own axis. Given in degrees. | Number |