Construction Geometries, a Sketch Palette row that hides construction geometry (#804)

A Sketch Palette toggle (sketch.options show_construction) that hides construction geometry from drawing and picking; saved with the sketch's view options under format 17.

Co-authored-by: William Dunn <[email protected]>
This commit is contained in:
William Dunn authored and GitHub committed 2026-10-13 15:15:13 -04:00
1 parent 9184994721
commit d302aa1a00
15 files changed
+224 -10

No files matched your search

+5
View File
@@ -499,6 +499,11 @@ pub struct SketchView {
pub hide_constraints: bool,
#[serde(skip_serializing_if = "std::ops::Not::not")]
pub hide_projected: bool,
/// Construction geometry (the `construction` line type) is not drawn and cannot be picked.
/// Centerlines are a line type of their own and keep showing; projected construction
/// geometry belongs to `hide_projected`, the way its colour already says it does.
#[serde(skip_serializing_if = "std::ops::Not::not")]
pub hide_construction: bool,
#[serde(skip_serializing_if = "std::ops::Not::not")]
pub hide_grid: bool,
/// Clicks don't snap to the grid.