- tech draw draft v2

This commit is contained in:
bklronin
2026-08-16 22:01:36 +02:00
parent 1eee203ba8
commit 108ad2d5b5
4 changed files with 724 additions and 330 deletions
+2 -2
View File
@@ -891,8 +891,8 @@ class DrawingView:
direction: Optional[Tuple[float, float, float]] = None
up_vector: Optional[Tuple[float, float, float]] = None
show_hidden_lines: bool = True
show_centerlines: bool = True
show_hidden_lines: bool = False
show_centerlines: bool = False
scale: float = 1.0
# Sheet position (mm from sheet origin) — set by layout engine.
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -290,12 +290,12 @@ class TechnicalDrawingWidget(QWidget):
for vid in ("front", "top", "right", "isometric"):
self._view_checkboxes[vid].setChecked(True)
# Match the DrawingView model defaults (hidden lines + centerlines
# on) so Generate produces the same drawing as the tab-switch
# off) so Generate produces the same drawing as the tab-switch
# auto-load in MainWindow._load_drawing_tab_source.
for cb in self._hidden_line_checks.values():
cb.setChecked(True)
cb.setChecked(False)
for cb in self._centerline_checks.values():
cb.setChecked(True)
cb.setChecked(False)
left_layout.addWidget(views_group)