Roadmap 0.13, Owner Research Suggested

ORS4.22 Sketches: more ways to draw rectangles, circles, polygons and slots, sketch chamfers and construction lines

  • Feature
  • Built · in the lab
  • PartCraft

a Discord member Suggested. PartCraft sketches draw one kind of rectangle (two corners), one circle (center and radius), one polygon (center and corner) and one straight slot, and can round a corner but not chamfer it. Build: center, three-point and rounded rectangles; two-point, three-point and tangent circles; polygons by edge length and around a circle; overall, center-point and arc slots; a midpoint line; sketch chamfers (equal distance, two distances, distance and angle); and endless construction lines (horizontal, vertical, at an angle, bisector, parallel, perpendicular, tangent). Use the shared drawing code the suite already has where it fits, not a second copy. Ellipses, conics and tangent arcs are ORS4.20.

Built 2026-12-03 (part-13), in the lab: 23 new sketch tools under Sketch > More (and the ribbon: Rectangle and Circle split buttons, Draw and Edit panels' More, a new Construction lines panel): rectangle from center, at an angle (three points), rounded (one radius drives four corners); circle through two points, three points, tangent to three lines/circles/arcs (the one touching nearest the clicks); polygon from a side and around a circle; slot by overall length, from its center, along an arc; line from its midpoint; sketch chamfer by equal distances, two distances, distance and angle; endless construction lines (two points, horizontal, vertical, angle, bisector, parallel, perpendicular, tangent; drawn edge to edge, saved as file version 8). All plain lines and arcs with relations, so they build on the mesh kernel and in Exact Solids like drawn geometry; the polygon and slot tools reuse sketch-tools.js addPolygon / addSlot and the rounded rectangle sketch.js filletCorner. Code sketch-shapes.js, sketch-draw-shapes.js. Tests: tools/partcraft-test/test-part13-sketch.mjs 63/0 (closed forms, clean solves, mesh-kernel extrudes), browser-part13-sketch.mjs 33/0 in the real lab page (mesh kernel). Help: sketch-shapes. Not done: a dimension on the chamfer line; touch; the Exact Solids add-on not run with these shapes; other locales.

From: a Discord member

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.