From c5df9f9d47ccca0fa7754f7ed26dc58b8166ca91 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sun, 15 Feb 2026 10:23:43 -0700 Subject: [PATCH] refactor: Align sketch plane dialog names with Z-up views Co-authored-by: aider (gemini/gemini-2.5-pro) --- src/ApplicationController.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ApplicationController.cpp b/src/ApplicationController.cpp index 99a9f89..113539b 100644 --- a/src/ApplicationController.cpp +++ b/src/ApplicationController.cpp @@ -103,7 +103,7 @@ bool ApplicationController::saveDocumentAs() void ApplicationController::beginSketchCreation() { QStringList items; - items << "XY-Plane" << "XZ-Plane" << "YZ-Plane"; + items << "Top (XY)" << "Front (XZ)" << "Right (YZ)"; bool ok; QString item = QInputDialog::getItem(m_mainWindow, "Select Sketch Plane", @@ -112,13 +112,13 @@ void ApplicationController::beginSketchCreation() auto feature = new SketchFeature("Sketch"); m_activeSketch = feature; ViewportWidget::SketchPlane plane; - if (item == "XY-Plane") { + if (item == "Top (XY)") { plane = ViewportWidget::SketchPlane::XY; feature->setPlane(SketchFeature::SketchPlane::XY); - } else if (item == "XZ-Plane") { + } else if (item == "Front (XZ)") { plane = ViewportWidget::SketchPlane::XZ; feature->setPlane(SketchFeature::SketchPlane::XZ); - } else { // "YZ-Plane" + } else { // "Right (YZ)" plane = ViewportWidget::SketchPlane::YZ; feature->setPlane(SketchFeature::SketchPlane::YZ); }