Overview
/
KCL Standard Library
/
Functions
/
getBoundedEdge

getBoundedEdgeFunction in std::sketch

Get a bounded edge of a surface used for the blend operation. A bounded edge is a reference to an existing edge that can be clipped at both ends. This will result in only the non-clipped portion of the edge being used during the blend.

Arguments

NameTypeDescriptionRequired
solidSolidThe solid that the edge belongs to.Yes
edgeEdge or anyThe edge to bound. This can be a tagged edge, an edge ID from edgeId(...), or an edge reference object. Edge reference objects use sideFaces, e.g. { sideFaces = [faceTag1, faceTag2], endFaces = [...], index = 0 }.Yes
lowerBoundnumber(_)A lower percentage bound of the edge, must be between 0 and 1 inclusive. Defaults to 0.No
upperBoundnumber(_)A upper percentage bound of the edge, must be between 0 and 1 inclusive. Defaults to 1.No

Returns

BoundedEdge - A bounded edge of a solid.

Examples