Skip to main content

Bezier

Extends Geometry

Inherited from Geometry

guide()​

guide(): this

Marks this sketch geometry as construction geometry. Guide geometries are excluded from the final sketch output (e.g., extrude, revolve) unless explicitly included.


edge()​

edge(roleOrIndex: string | number, roleIndex?: number): ISelection

Uniform edge accessor. edge('body') selects this feature's edges by role (optionally disambiguated by role index); edge(1) selects by build-order index over the feature's real edges. Roles: solver lines and arcs stamp body; circles and ellipses perimeter; derived-op outputs carry provenance-specific roles (e.g. fillet arcs).

Returns: ISelection

ParameterTypeDescription
roleOrIndexstring | numberA role name, or a build-order edge index.
roleIndexnumberDisambiguates roles that repeat. (optional)

start()​

start(): Vertex

Returns a lazy-evaluated vertex at the start point of this geometry element.

Returns: Vertex


end()​

end(): Vertex

Returns a lazy-evaluated vertex at the end point of this geometry element.

Returns: Vertex

Inherited from SceneObject

name()​

name(value: string): this

Sets a custom display name for this object, overriding the default type-based name.

ParameterTypeDescription
valuestringThe display name to assign.

Methods​

point()​

point(index: number): Vertex

Returns the i-th control point (0-based; 0 is the start, the last index is the end) as a lazy vertex / constraint target.

Returns: Vertex

ParameterTypeDescription
indexnumber

start()​

start(): Vertex

Returns the curve's start point — point(0).

Returns: Vertex


end()​

end(): Vertex

Returns the curve's end point — point(n - 1).

Returns: Vertex