# machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

10 messages
Open this post in threaded view
|

## machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

 I'm trying to work up some 3D modeling tutorials for the ShapeOko wiki ( http://www.shapeoko.com/wiki/index.php/Main_Page ) Is this a reasonable way to show a 30mm diamond stacked on a 45mm circle on a 50mm square? translate([-25,-25,0]) {         cube(size=[50,50,3]); } translate([0,0,2]) {         cylinder(4,22.5,22.5); } rotate(a=45, v=[0,0,1]) {         translate([-15,-15,5]) {                 cube(size=[30,30,4]);         } } I guess it would be more elegant to set up a function where one provided four values (30, 45, 50 and 3mm (for the incremental height of each layer) in the example above) and got the same result programmatically --- should I research that and include it up-front as a matter of style / expression, or will the simpler form be okay (w/ a mention of the potential programmability)? William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. _______________________________________________ OpenSCAD mailing list [hidden email] http://rocklinux.net/mailman/listinfo/openscadhttp://openscad.org - https://flattr.com/thing/121566
Open this post in threaded view
|

## Re: machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

Open this post in threaded view
|

## Re: machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

Open this post in threaded view
|

## Re: machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

 On Apr 23, 2013, at 9:29 AM, Triffid Hunter wrote: > I'd do something like this... excellent example > it: list of 10 ways in which it shows much better working practices than my own naïve example. Thanks! Posted to the Shapeoko wiki (I hope that's okay?), along w/ a mention of and link to Peter Falke's example. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. _______________________________________________ OpenSCAD mailing list [hidden email] http://rocklinux.net/mailman/listinfo/openscadhttp://openscad.org - https://flattr.com/thing/121566
Open this post in threaded view
|

## Re: machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

Open this post in threaded view
|

## Re: machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

Open this post in threaded view
|

## Re: machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

Open this post in threaded view
|

## Re: machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki

 Administrator On 2013-04-23, at 11:59 , nop head wrote: > >  But lately OpenSCAD leaned to deal with this problem and I stopped doing that.Stl`s with co-planar faces export fine, now . > > Really? I thought it was a fundamental problem with CSG. I have small overlaps everywhere, can I now remove them? Since which version? I haven't heard of a change that addresses it. > I don't understand that either - we might possibly be more robust in some cases, but it might just be underlying changes we got by upgrading CGAL, or things accidentally improved when refactoring code.  -Marius _______________________________________________ OpenSCAD mailing list [hidden email] http://rocklinux.net/mailman/listinfo/openscadhttp://openscad.org - https://flattr.com/thing/121566