Prune Beams

Keeps or removes the beams of a lattice that pass one test: their length, thickness or angle to a plane compared with a value, a list with one value per beam, how their ends connect, whether they lie in a region, or whether they are attached.

Attached: beams that share an end, or whose thickened beams overlap where they cross, form one group; a group passes when one of its beams touches the Anchor (its surface within Touch tolerance of the Anchor, tested every quarter of the beam's radius along it, a rib wall along its base and its top), or, with no Anchor, when it holds the most material (the first of equal ones in the lattice's beam order).

Beams stay whole, and vertices no beam uses any more are dropped. The Attached test says in the System Log how many groups it found and how many beams went.

Inputs

Lattice Lattice

The lattice to edit.

Takes: any block that gives Lattice (14 blocks)
Test Choice

What each beam is tested on.

Mode Choice

Keep: the beams that pass stay and the rest go. Remove: the beams that pass go.

Condition Choice

How each beam's value is compared with the criterion; beams that pass are kept. = and != allow a 1e-9 tolerance.

Length Number

Beam length to compare against, in mm.

Thickness Number

Beam diameter to compare against, in mm.

Angle Number

Angle to the plane to compare against, in degrees: 0 lies in the plane, 90 stands on it.

Plane Plane or Solid

Plane the angle is measured from. The XY plane when unset.

Takes: any block that gives Plane (102 blocks)
Values List of Number

One value per beam, in the lattice's beam order; the count must match.

Criteria Number

The value each beam's entry is compared with.

Connectivity Choice

Dangling: exactly one end touches no other beam. Closed: both ends are joined. Loose: neither end is. Classes are read once, on the lattice as it comes in.

Region Solid

Solid marking the region; a beam end is inside where its value is 0 or below.

Takes: any block that gives Solid (102 blocks)
Inside region Choice

Whole: a beam is in the region when both ends are inside. Touching: when either is.

Anchor Solid

The Solid a group of beams must touch to pass. Unset: the group with the most material passes.

Takes: any block that gives Solid (102 blocks)
Touch tolerance Number

How close a beam's surface must come to the Anchor to touch it, in mm (0: touching or overlapping).

Output

Lattice

Used by: any block that takes Lattice (98 blocks)

Properties

Values the block gives besides its output. The editor lists them under Properties, and an input can read one by reference.

Beams List of Beam

Every beam, each with its own properties.

Solid Solid

All the thickened beams merged into one Solid; beams with no thickness yet are the distance to their segments.

List List of Lattice

This lattice in a Lattice List of one.

BeamGraph Beam Graph

The beams, vertices and thicknesses, without the lattice around them.

Graph Lattice

The beams and vertices alone, with no thickness.

BoundingBox Bounding Box

The axis-aligned extent of the beams' vertices.

EdgeCount Number

How many beams the lattice has.

LineSegments List of Curve

Each beam as a line segment.

VertexCount Number

How many vertices the lattice has.

VertexValencies List of Number

For each vertex, the number of beams that end there.

Vertices List of Point

The position of every vertex.

In the demos

What implicit modeling is

Clever Design GmbH · Einsiedeln, SwitzerlandPrivacy · Imprint