Skip to content

Hide sketch-from-face profile wire outside sketch modes - #234

Merged
trailcode merged 1 commit into
mainfrom
Trailcode/gen-fix
Aug 1, 2026
Merged

Hide sketch-from-face profile wire outside sketch modes#234
trailcode merged 1 commit into
mainfrom
Trailcode/gen-fix

Conversation

@trailcode

@trailcode trailcode commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix the dark-red sketch from face originating-face wire so it follows set_show_edges and is hidden when Occt_view::on_mode leaves sketch mode (e.g. after Revolve returns to Normal).
  • Document the behavior in docs/usage-sketch.md, src/doc/sketch.md, and CHANGELOG.md.

Closes #233

Test plan

  • Build EzyCad (or EzyCad_lib) and run relevant sketch tests if convenient.
  • Manual: Create sketch from planar face on a solid → confirm dark-red boundary while in sketch inspection/tools.
  • Manual: Escape / switch to Normal → red profile wire is gone; sketch edges/faces stay hidden as before.
  • Manual: Re-enter sketch inspection → wire returns (sketch still visible in Sketch List).
  • Manual: Optional Revolve then return to Normal → no leftover red profile on the solid.
  • Docs: skim usage-sketch.md Create Sketch from Planar Face section and changelog entry.

Made with Cursor

@trailcode
trailcode merged commit a0f0a89 into main Aug 1, 2026
4 checks passed
@trailcode
trailcode deleted the Trailcode/gen-fix branch August 1, 2026 00:03
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.

Hide sketch-from-face profile wire outside sketch modes

1 participant