Re: OpenSCAD Digest, Vol 33, Issue 23

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD Digest, Vol 33, Issue 23

stonysmith
Nop Head:

    module point(x,y) translate([x,y]) circle(0.01,$fn=1);
 
should create a "shape" of only a single point.  The default # of vertices at this radius appears to be 5.
 
On Tue, Aug 21, 2012 at 7:05 PM, <[hidden email]> wrote:
Message: 1
Date: Wed, 22 Aug 2012 01:05:49 +0100
From: nop head <[hidden email]>
Subject: Re: [OpenSCAD] Creating pie (pizza slice) shape (need a
        dynamic length array)
To: [hidden email]
Message-ID:
        <CAEEmnrOUMaJfc6Ws9=[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

No it the first line of the script:  module point(x,y) translate([x,y])
circle(0.01);

It is my approximation to a point. If openscad had one it would be useful.
Also an operation like hull that would take a set of child points and make
then into a polygon would then allow concave polygons with a run time
computed number of vertices to be generated and presumably would be a lot
faster than hull, which is overkill for making simple polygons and can only
make convex shapes.

Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD Digest, Vol 33, Issue 23

nophead


On 22 August 2012 04:01, Stony Smith <[hidden email]> wrote:
Nop Head:

    module point(x,y) translate([x,y]) circle(0.01,$fn=1);
 
should create a "shape" of only a single point.  The default # of vertices at this radius appears to be 5.
It doesn't seem to create anything though. 
 
On Tue, Aug 21, 2012 at 7:05 PM, <[hidden email]> wrote:
Message: 1
Date: Wed, 22 Aug 2012 01:05:49 +0100
From: nop head <[hidden email]>
Subject: Re: [OpenSCAD] Creating pie (pizza slice) shape (need a
        dynamic length array)
To: [hidden email]
Message-ID:
        <CAEEmnrOUMaJfc6Ws9=[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

No it the first line of the script:  module point(x,y) translate([x,y])
circle(0.01);

It is my approximation to a point. If openscad had one it would be useful.
Also an operation like hull that would take a set of child points and make
then into a polygon would then allow concave polygons with a run time
computed number of vertices to be generated and presumably would be a lot
faster than hull, which is overkill for making simple polygons and can only
make convex shapes.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566