Skip to main content

Module operation

Module operation 

Source
Expand description

The plastic features as operations of a program: Rib, Lip, Groove and Draft.

Structs§

Draft
Tilts the planar faces faces of a solid by angle degrees about the plane neutral, so the part comes out of a mould pulled along the neutral plane’s normal — into the solid, for a face of it picked as the neutral plane — or the other way if reversed: past the neutral plane, that way, the solid gets narrower. The solid is consumed and the result named draft(D) for the operation D; every face, edge and vertex keeps its name (see crate::draft::draft).
DraftArgs
Groove
Cuts the groove that takes a Lip width wide and height high, clearance wider and deeper, along the edges edges of the planar rim face face — all along its hole if none are picked — from the solid (see crate::lip::groove), for the operation G: the result is named groove(G).
GrooveArgs
Lip
Raises a lip width wide and height high along the edges edges of the planar rim face face — all along its hole if none are picked: the inside of a shelled enclosure’s rim — flush with the wall they are on and joined to the solid (see crate::lip::lip), for the operation L: the result is named lip(L), the lip’s side on the wall along an edge E lip(L,E), its side on the rim lip(L,E,far), its top lip(L,end).
LipArgs
Rib
Grows a rib thickness thick from the open profile of a sketch — lines and arcs — until it meets the solid solid, its ends run on into the walls they point at, and joins it (see crate::rib::rib), for the operation R: the result is named rib(R). Growing normal to the sketch, the rib’s caps are rib(R,start) on the sketch’s plane; its sides along a profile piece K,X are rib(R,K,X) and rib(R,K,X,far). Parallel, its sides on either side of the sketch’s plane are rib(R,start) and rib(R,end), its edge along the profile rib(R,K,X).
RibArgs

Enums§

RibDirection
Which way a rib grows from its profile: along the sketch plane’s normal, or in the sketch plane, square to the chord between the profile’s ends.
RibSide
Which side of its profile a rib is thick on: both alike, its first side — to the profile’s left, growing normal to the sketch; along the sketch plane’s normal, growing parallel to it — or its second.