Dan Shriver tabbydan at gmail.com
Mon Oct 10 11:22:02 EDT 2016

```Yes it is a debugging/ proof of concept exercise.

In the real code each slice would vary a little.

But, aside from being wrong it blows up.  So i'll need to do it as
verticies instead.   Do I need to tell OpenSCAD how to form triangles or
does it automatically do that between adjacent polygon slices?

Also I'll probably want to do this instead of linear extruder too since
that now takes 8 hours....
On Oct 10, 2016 10:55 AM, "Parkinbot" <rudolf at parkinbot.com> wrote:

> I understood it as some kind of exercise. Let's say the sin/cos part is
> meant
> to produce a rotation. Doing that properly you'd get some (rough) moebius
> code
>
>
> > testTorus();
> > twists = 3;
> > // twists = 1;
> > module testTorus() {
> >   step = 1;
> >   for (i = [0:step:360])
> >       rotate([0, 0, i])
> >       rotate_extrude(angle=step, convexity=10){
> >         translate([20,0,0])
> >        //rotate([0, 0, i/2*twists]) square([1,30], center=true);
> >        rotate([0, 0, i/4*twists]) circle(10, \$fn=4);
> >   }
> > }
>
>
> or look at this hypocyloide approach
>
>
> > testTorus();
> > module testTorus() {
> >   step = 1;
> >   for (i = [0:step:360])
> >       rotate([0, 0, i])
> >       rotate_extrude(angle=step, convexity=10){
> >         translate([20+5*sin(2*i),0,0])
> >        circle(10, \$fn=4);
> >   }
> > }
>
> to get
>
> As results are unions of rough interpolations it will be fruitless (and a
> waste of CPU-time) to F6-render code like this.
>
>
>
>
>
> --
> View this message in context: http://forum.openscad.org/How-
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________