Distance
Extends SceneObject
Inherited from SceneObject
name()
name(value: string): this
Sets a custom display name for this object, overriding the default type-based name.
| Parameter | Type | Description |
|---|---|---|
value | string | The display name to assign. |
reusable()
reusable(): this
Marks this object as reusable. Reusable objects retain their shapes when
consumed by features (e.g., extrude, revolve), allowing multiple features
to reference the same source geometry. Use remove(obj) to force-remove
shapes from a reusable object.
Methods
max()
max(): this
Measures to the FAR side of any circle/arc in the pair (the
SolidWorks/Onshape arc-condition "max"): point–circle and
line–circle measure center distance + radius, circle–circle
measures between the far circumferences. Requires a circle or arc
entity target. For a center distance, dimension the accessor
instead: distance(l, a.center(), v).
min()
min(): this
Measures to the NEAR side of the circumference — the default; an
explicit .min() only documents intent.