From b0ea9d8eb49762ec77aaf1a283e677f353d8189e Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 5 Apr 2017 18:49:18 +0000 Subject: [PATCH] Allow suppressing solid model of extrude and lathe groups. --- CHANGELOG.md | 5 ++++- src/textscreens.cpp | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index caa1d272..ebaf05d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,11 @@ Changelog --- New sketch features: - * Extrude, lathe, translate and rotate groups can now use the "assembly" + * Extrude, lathe, translate and rotate groups can use the "assembly" boolean operation, to increase performance. + * The solid model of extrude and lathe groups can be suppressed, + for splitting a single model in multiple parts to export, + or if only the generated entities are desired, without the mesh. * Translate and rotate groups can create n-dimensional arrays using the "difference" and "assembly" boolean operations. * A new sketch in workplane group can be created based on existing workplane. diff --git a/src/textscreens.cpp b/src/textscreens.cpp index 79fc46c1..2e1e519a 100644 --- a/src/textscreens.cpp +++ b/src/textscreens.cpp @@ -378,7 +378,11 @@ void TextWindow::ShowGroupInfo() { Printf(false, "%Bd %Ftopacity%E %@ %f%Lf%Fl[change]%E", g->color.alphaF(), &TextWindow::ScreenOpacity); - } else if(g->type == Group::Type::LINKED) { + } + + if(g->type == Group::Type::EXTRUDE || + g->type == Group::Type::LATHE || + g->type == Group::Type::LINKED) { Printf(false, " %Fd%f%LP%s suppress this group's solid model", &TextWindow::ScreenChangeGroupOption, g->suppress ? CHECK_TRUE : CHECK_FALSE);