mirror of https://github.com/vitalif/openscad
Ignore dimension when evaluating control modules mixed with geometry children. Fixes #229
parent
ffae0bb3a5
commit
bc7ff5aa8d
|
@ -130,6 +130,7 @@ CGAL_Nef_polyhedron CGALEvaluator::applyHull(const CgaladvNode &node)
|
|||
const CGAL_Nef_polyhedron &chN = item.second;
|
||||
// FIXME: Don't use deep access to modinst members
|
||||
if (chnode->modinst->isBackground()) continue;
|
||||
if (chN.dim == 0) continue; // Ignore object with dimension 0 (e.g. echo)
|
||||
if (dim == 0) {
|
||||
dim = chN.dim;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
hull() {
|
||||
circle(1);
|
||||
echo(1);
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
|
@ -0,0 +1,5 @@
|
|||
hull() {
|
||||
circle($fn = 0, $fa = 12, $fs = 2, r = 1);
|
||||
group();
|
||||
}
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
Loading…
Reference in New Issue