Graph, Scalar
Lattice, Scalar
Graph, Scalar
Remove all of the intermediate vertices of a Graph where the vertex valency is equal to 2. All intermediate vertices will be removed by default, but an optional threshold angle may be used to preserve sharp vertices.Inputs
| Name | Type | Description |
|---|---|---|
| Graph | Graph | The graph of which to collapse the beams. |
| Tolerance | Scalar | The maximum allowed angular difference between beams joined by a single vertex. Beam angles greater than this threshold will be removed, collapsing the neighboring beams into one. A value of 180 deg will preserve all vertices. |
Outputs
| Type |
|---|
| Graph |
Lattice, Scalar
Remove all of the intermediate vertices of a Lattice where the vertex valency is equal to 2. All intermediate vertices will be removed by default, but an optional threshold angle may be used to preserve sharp vertices.Inputs
| Name | Type | Description |
|---|---|---|
| Lattice | Lattice | The lattice of which to collapse the beams. |
| Tolerance | Scalar | The maximum allowed angular difference between beams joined by a single vertex. Beam angles greater than this threshold will be removed, collapsing the neighboring beams into one. A value of 180 deg will preserve all vertices. |
Outputs
| Type |
|---|
| Lattice |

