[OpenSCAD] Beginner has trouble with intersection.

PolyVinalDistillate PolyVinalDistillate at yahoo.co.uk
Thu Apr 2 06:57:39 EDT 2015


Interesting that F5 and F6 give different results. The situation must be
something like:

intersection()              //This intersection is interpreted by F5 as
cube(1). The empty intersection
{                              //below cube(1) is disgarded because it
represents no geometry, therefore 
  cube(1);                  //we have an intersection of a cube only, =
cube. F6 appears to actually intersect the
                               //cube with the null-geometry, resulting in
nothing.

  intersection()               //this intersection equates to nothing
because cubes don't overlap. F5 must
  {                               //disgard it completely from the geometry
tree, while F6 keeps it in the tree
    cube(2);                   //as empty geometry allowing it to be used in
further CSG
    translate([0,0,10])cube(1);
  }

}



--
View this message in context: http://forum.openscad.org/Beginner-has-trouble-with-intersection-tp12270p12295.html
Sent from the OpenSCAD mailing list archive at Nabble.com.




More information about the Discuss mailing list