Allow suppressing solid model of extrude and lathe groups.

This commit is contained in:
whitequark 2017-04-05 18:49:18 +00:00
parent 6337bbbcd6
commit b0ea9d8eb4
2 changed files with 9 additions and 2 deletions

View File

@ -5,8 +5,11 @@ Changelog
--- ---
New sketch features: 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. 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 * Translate and rotate groups can create n-dimensional arrays using
the "difference" and "assembly" boolean operations. the "difference" and "assembly" boolean operations.
* A new sketch in workplane group can be created based on existing workplane. * A new sketch in workplane group can be created based on existing workplane.

View File

@ -378,7 +378,11 @@ void TextWindow::ShowGroupInfo() {
Printf(false, "%Bd %Ftopacity%E %@ %f%Lf%Fl[change]%E", Printf(false, "%Bd %Ftopacity%E %@ %f%Lf%Fl[change]%E",
g->color.alphaF(), g->color.alphaF(),
&TextWindow::ScreenOpacity); &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", Printf(false, " %Fd%f%LP%s suppress this group's solid model",
&TextWindow::ScreenChangeGroupOption, &TextWindow::ScreenChangeGroupOption,
g->suppress ? CHECK_TRUE : CHECK_FALSE); g->suppress ? CHECK_TRUE : CHECK_FALSE);