Skip to content
Snippets Groups Projects
Commit b0a1c88e authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent 82d9db6f
Branches
Tags
No related merge requests found
...@@ -9,18 +9,17 @@ DefineConstant[ ...@@ -9,18 +9,17 @@ DefineConstant[
]; ];
a() = ShapeFromFile("component8.step"); a() = ShapeFromFile("component8.step");
Block(2) = {0,156,z, 10,170,z+10};
b() = 2; b() = 2;
Block(b(0)) = {0,156,z, 10,170,z+10};
If(sph) If(sph)
Sphere(3) = {0,150,0, 20};
b() += 3; b() += 3;
Sphere(b(1)) = {0,150,0, 20};
EndIf EndIf
r() = BooleanFragments{ Volume{a()}; Delete; }{ Volume{b()}; Delete; }; r() = BooleanFragments{ Volume{a()}; Delete; }{ Volume{b()}; Delete; };
Recursive Color SteelBlue { Volume{r()}; } //Recursive Color SteelBlue { Volume{r()}; }
Save "merged.brep"; Save "merged.brep";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment