Skip to content

Add face sketches, curved slots and everyday modeling workflows - #4

Merged
Rareuncommon merged 3 commits into
claude/amazing-fermat-of9um6from
codex/face-sketch-and-workflow-gaps
Oct 1, 2026
Merged

Rareuncommon merged 3 commits into
claude/amazing-fermat-of9um6from
codex/face-sketch-and-workflow-gaps

Conversation

@Rareuncommon

@Rareuncommon Rareuncommon commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Changes

Selected part faces now expose Sketch on Face directly in the Features tab. This PR adds ordinary desktop modeling workflows through the shared command layer and fixes regeneration from lost sketch supports.

  • Selection-aware face and plane sketches, Normal To, and plane tree selection that survives rebuilds.
  • Exact detached Convert Entities for model lines and parallel circles/arcs or face boundaries, desktop model picking and a direct MCP alias.
  • Click-based Split Entities for lines, arcs and closed circles/ellipses, with cancellation and undo.
  • Move/Copy Bodies translation/rotation/copy pages, live previews and feature editing; Up To Vertex editing in both extrusion directions.
  • Shared Unicode body/feature/sketch Rename dialogs.
  • Sketch attachment repair and guards against modeling from lost, suppressed or rolled-back supports.
  • Measure selected bodies/faces/edges/vertices: individual sizes and coordinates, or minimum distance, closest points and XYZ displacement. Desktop errors and async-result guards prevent blank or stale reports.
  • Body hide/show/isolate/exit/show-all commands and desktop tree/ribbon controls. Hidden bodies are excluded from drawing, picking and fit bounds. Ordinary visibility persists; isolation restores prior visibility. Transactions and unknown saved IDs are covered.
  • Centerpoint and three-point arc slots, four-click previews, editable concentric/tangent geometry, unit-aware validation, and construction support for all four slot variants. Constraints remain editable after rotation; switching variants cancels incompatible pending clicks.
  • Source-linked inventory of all 1,000 feature-matrix entries and updated usage documentation.

Validation

  • 350 Swift tests across eight targets pass, including engine and actual desktop action regressions.
  • 32 analytically specified golden models; four real MCP subprocess workflows in debug and optimized CLI; three packaging regressions.
  • Optimized Linux desktop/CLI and Windows frontend cross-platform builds pass.
  • Native GTK regression tests use a virtual display in CI. No native test windows are opened on the user's live desktop.
  • Feature matrix synchronization and whitespace checks pass. All four CI jobs pass on final commit ecef55d: native macOS, Windows, Linux and CachyOS (both PR and push runs).

Remaining scope

SolidWorks parity remains unfinished. Face sketches require planar support; conversion is non-associative and excludes oblique circles, ellipses and splines. Split excludes splines. Move/Copy handles one body per feature. Up To Vertex takes coordinates. Measurement angle/max/normal modes and sketch geometry remain pending. Body visibility does not add component/sketch/plane display panes; grouped slot relations remain pending. Assemblies, drawings, configurations, simulation and hundreds of other declared capabilities require further implementation. The matrix inventory is not exhaustive verification of every SolidWorks behavior.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T02:08:42.596245Z e755bde PR opened
🔒 Security Review ✅ Completed 2026-10-01T02:08:50.661558Z e755bde PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e755bde02c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +308 to +312
if s.hasPrefix("plane-"), StandardPlane(rawValue: String(s.dropFirst(6))) != nil {
refs.append(s)
continue
}
if let plane = doc.refPlanes[s] ?? doc.orderedRefPlanes.first(where: { $0.name == s }) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve plane references when pruning selection

The newly accepted plane selections are not recognized by Document.referenceExists, which only handles sketches and body entities. Consequently, any operation that regenerates the document and calls pruneSelection() removes valid plane-front and plane-N selections, unexpectedly disabling Normal To and other selection-driven behavior. Update the reference validator to recognize standard and existing reference planes.

Useful? React with 👍 / 👎.

return true
}

package var canNormalTo: Bool { sketchState.plane != nil || selectedFace != nil || selection.contains { $0.hasPrefix("plane-") } }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wire plane rows into desktop selection

This enables Normal To only when a plane-* reference is present in selection, but neither desktop tree can create that selection: standard-plane nodes have no select action, and treeSelect(_:) explicitly skips plane.create features. Thus users can invoke the new plane path only through the command bus, while clicking a standard or reference plane leaves Normal To disabled; make those tree rows call selection.set with their plane IDs.

Useful? React with 👍 / 👎.

@Rareuncommon Rareuncommon changed the title Add face-sketch access and missing desktop modeling workflows Add face sketches, curved slots and everyday modeling workflows Oct 1, 2026
@Rareuncommon
Rareuncommon merged commit 04809d9 into claude/amazing-fermat-of9um6 Oct 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant