Skip to main content

DirectionInputLike

A direction, as .direction() of a projected curve takes it: an axis gives its own direction, a plane its normal. A direction is a line, not an arrow — what uses it decides which way along it matters. Any of the following are accepted:

FormatExampleDescription
Standard axis string"x", "y", "z"The three principal axes
Axisaxis("z", { offsetX: 50 })An axis object created with axis()
SceneObjectselect(edge().line().first())A straight edge, along its line
Connectorconnector("pin", …)The connector's Z axis
Standard plane string"xy", "xz", "yz"The normal of a principal plane
Planeplane("xy", { rotateX: 30 })The normal of a plane object created with plane()
SceneObjectselect(face().planar().first())The normal of a planar face

A curved edge or face gives no direction and is refused when the feature builds.