- tech draw draft v2
This commit is contained in:
@@ -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.
|
||||
|
||||
+664
-270
File diff suppressed because it is too large
Load Diff
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user