Skip to main content

About this Block

What it does: The Graph from Line Segments block converts line segments to a graph type. Common uses:
  • Used as a utility block for creating a Custom Graph Unit Cell. Use as the input into the Custom Unit Cell block.
  • Used for support structure generation.
  • Any invalid (infinite line or NaN endpoint) line segments are ignored and will not be in the output Graph.
  • Duplicate line segments are removed from the Graph.

Example File

Download Example: Graph from Line Segments Example Screenshot Constructs a Graph from a list of Line Segments. Each Line Segment becomes a beam in the resulting Graph. Line Segments that share endpoints will join a shared vertex. Duplicate Line Segments will be removed.

Inputs

NameTypeDescription
Line segmentsLine ListLine segments to construct the graph.

Outputs

Type
Graph