Skip to main content

Module rib

Module rib 

Source
Expand description

rib: a thin wall grown from an open sketch profile until it meets a solid, and joined to it.

Its ends. Each end of the profile runs on along its tangent, in the sketch’s plane, into the wall it points at: to the middle of that wall, between where the line enters the solid and where it leaves it again — a place the geometry defines, so the rib’s end face lies on no face of the solid. An end already inside the solid stays where it is; one that points at nothing of the solid is refused, by name.

Its growth. Normal to the sketch, the profile is thickened in its plane — on one side, the other, or both alike (see crate::band) — and swept along the plane’s normal. Parallel to the sketch, the profile is swept in its plane, square to the chord between its ends, and thickened along the plane’s normal. Either way the sweep reaches well past the solid, and only what grows from the profile until it runs into the solid is joined: the same “up to next” an extrude goes by (geop_ops_model::Combine with a Tool going up to the next face). A profile that is not stopped by the solid all along is refused.

Enums§

Growth
Which way a rib grows from its profile.

Functions§

rib
Grows a rib (near, far) thick — from near to far to the left of the profile in its plane, growing normal to it; from near to far along the plane’s normal, growing parallel to it — from the open profile profile in plane, up to the solid target, and joins it, for the operation operation_id whose names namer builds: the result is named namer’s root. See the module docs.