Skip to main content

Primitives

segments controls tessellation where a backend uses it. It does not turn an exact OCCT circle into a polygon; exact kernels can preserve analytic surfaces while using the value for mesh extraction where applicable. All size, height, and radius expressions must resolve to finite valid geometry. The evaluator rejects zero or negative dimensions before asking a kernel to construct the shape.

One transform

Convenience methods are available for translation, Euler rotation, nonuniform scale, and mirror.

Ordered transform chain

Use cad.transform when operation order must be explicit:
Operations execute in authored order. Reordering scale, rotation, and translation generally changes the result and therefore changes effective feature hashes.

Mirror

The vector is the mirror-plane normal. It must resolve to a usable finite direction. A zero normal is invalid.

Topology through transforms

Transforms create a new feature node, but semantic topology can retain origin and modification lineage when the selected backend provides it. Query for modifiedBy(transform) and combine it with the original feature source rather than using a post-transform coordinate alone. Nonuniform scale changes metric geometry and may change analytic surface kinds. Persistent matching therefore depends on compatible evidence and the declared topology protocol, not merely on the fact that a transform node exists.