Skip to main content

Module operation

Module operation 

Source
Expand description

Subd: a freeform body shaped by its control cage, built as the cage’s Catmull–Clark limit surface — a solid for a closed cage, a sheet for an open one.

The step holds the cage itself, not a history of edits: edits are made in the editor and leave the cage they made behind. A new cage is a basic shape — a box, a cylinder, a sphere or a plane — SIZE across, whose width, depth and height (or radius) are typed in the dialog while the cage is still that shape (see Basic::of). Its vertices, edges and faces are drawn, and picked by clicking them — an edge’s loop by double-clicking it, its ring with shift held, everything in a window dragged after b; what is selected is moved, turned and scaled about its centre with the gizmo there — along the world’s axes, or, for faces, their own — or by typing its centre’s coordinates, a scale and turns; and edited with the actions: extruding and insetting faces, bridging two of them, bevelling edges, cutting a loop across them, sliding them, dissolving and merging, filling a hole, creasing edges sharp or soft, deleting. An element not selected is dragged on its own, in the plane facing the eye. The limit surface is drawn as the part, the cage over it; “cage only” hides the surface.

Structs§

Amounts
How far each edit goes, as typed; the defaults until set.
Subd
Builds the limit surface of cage — mirrored in mirror’s plane, if any — as the step Scalar: a solid named subd(Scalar), or a sheet. What it is made of is named after the cage elements, see crate::brep.
SubdArgs
SubdSession
What editing a subd step keeps besides its arguments and the keys of the cage elements selected.

Enums§

Basic
A basic shape a cage starts from, with its dimensions.

Constants§

SIZE
How large a basic shape a cage starts from is: across, in each direction.

Functions§

build_subd
Builds the limit surface of args’ cage into model as the step step (see Subd), as a test builds it.

Type Aliases§

SubdEditing
What a subd step keeps while it is edited.