Create a rectangular Sketch centered on a given plane.
Width along the plane X direction.
Height along the plane Y direction.
Plane name / origin to sketch on (defaults to XY at origin).
A closed rectangular Sketch.
const rect = sketchRectangle(30, 20);const box = rect.extrude(10); Copy
const rect = sketchRectangle(30, 20);const box = rect.extrude(10);
Create a rectangular Sketch centered on a given plane.