Skip to content
Development version. Forge is under active development and testing. APIs, behaviour, coverage and verification results may be incomplete or change without notice; published PASS results are not a support guarantee or production-readiness claim.

sketch-slot-constructors

Five explicit 2D Slot construction methods mapped directly to SolidCraft sketch.slot.* commands.

Related guide

Members

SlotCenterToCenter2D

Create a straight Slot from the centres of its two round ends.

SlotCenterToCenter2D(p0, p1, width)

SlotOverall2D

Create a straight Slot from its two outermost end points.

SlotOverall2D(p0, p1, width)

SlotCenterPoint2D

Create a straight Slot from its centre and one round-end centre.

SlotCenterPoint2D(center, end, width)

SlotArcThreePoint2D

Create a curved Slot whose centre arc passes through three points.

SlotArcThreePoint2D(start, through, end, width)

SlotArcCenter2D

Create a curved Slot from an arc centre and start point.

SlotArcCenter2D(center, start, width, *, end=None, sweep=None)