fix: sketches on planes built from the model can project, intersect, include and hold text (#459)
Project, Intersect, Include 3D Geometry and Text resolved the active sketch's plane without the model, so on a construction plane that is built from geometry (perpendicular to a plane through a sketch line, through three points, midway between two faces, tangent, along a path) they stopped with "this plane is built from the model: evaluate first". Evaluation resolves the same plane against the model before the sketch, in its component's frame; the sketch commands now do the same, in one place, for adding a link, refreshing the links on an edit, snapping a point onto an edge and the internal face profiles. Tests: a sketch on a plane through a sloped sketch line projects a point and a line of that sketch, follows a parameter that tilts the plane (also after reopen and after another edit), holds text, intersects a body and includes an edge; the same on a three-point plane and a midplane. Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
1ae6e9beb4
commit
9ab25cfd4a
3 files changed
+183
-23
No files matched your search
@@ -39,6 +39,10 @@ is projected in one undo step. A rejected projection keeps the selection for cor
|
||||
an empty or mixed selection starts the ordinary picking tool. External sketch selections
|
||||
retain their source sketch, even when the active sketch uses the same point or curve names.
|
||||
|
||||
A sketch on a construction plane built from the model (through a sketch line, through three
|
||||
points, midway between two faces…) projects, intersects, includes and holds text like a sketch
|
||||
on any other plane, and its links follow when a parameter moves that plane.
|
||||
|
||||
Run from a script or the control channel, every command that adds sketch geometry returns the
|
||||
ids of what it added (`created: {points, curves, constraints, dimensions}`). Ids are stable and
|
||||
never reused within a sketch, even after a delete, so a script can dimension or constrain the new
|
||||
|
||||
Reference in new issue
Block a user