discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: YAPDOR (yet another part disappears on render) question

MB
Michael Bronnenberg
Wed, Nov 10, 2021 2:58 AM

There's two consecutive points that are the same point: [-31.5,
15.75],[-31.5, 15.75]

Mike

There's two consecutive points that are the same point: [-31.5, 15.75],[-31.5, 15.75] Mike
RW
Ray West
Wed, Nov 10, 2021 11:11 AM

About where the thrown together shows a problem.

On 10/11/2021 02:58, Michael Bronnenberg wrote:

There's two consecutive points that are the same point: [-31.5,
15.75],[-31.5, 15.75]

Mike


OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

About where the thrown together shows a problem. On 10/11/2021 02:58, Michael Bronnenberg wrote: > There's two consecutive points that are the same point: [-31.5, > 15.75],[-31.5, 15.75] > > Mike > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
LM
Leonard Martin Struttmann
Wed, Nov 10, 2021 1:17 PM

I started commenting out the points in the obj_points1.  It renders ok
until I add the next commented point here:

module two() {
echo("objpoints TWO start");
// small one
obj_points1 =[
[-1.750000003085, -1.500000001215],
[-0.250000011875, -1.000000000205],
[-0.500000009195, -1.250000001165],
[-0.250000011875, -1.000000000205],
[0, -1.000000000205],
[0, -1.750000000355],
[0.24999999732, -1.250000001165]
//  [0.24999999732, -1.750000000355],

Adding the next point makes your polygon path cross itself

Before adding the next point.  This renders:
[image: Screenshot from 2021-11-10 07-15-21.png]

After adding the next point.  This no longer renders:

[image: Screenshot from 2021-11-10 07-09-56.png]

On Wed, Nov 10, 2021 at 5:12 AM Ray West raywest@raywest.com wrote:

About where the thrown together shows a problem.
On 10/11/2021 02:58, Michael Bronnenberg wrote:

There's two consecutive points that are the same point: [-31.5,
15.75],[-31.5, 15.75]

Mike


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I started commenting out the points in the obj_points1. It renders ok until I add the next commented point here: module two() { echo("objpoints TWO start"); // small one obj_points1 =[ [-1.750000003085, -1.500000001215], [-0.250000011875, -1.000000000205], [-0.500000009195, -1.250000001165], [-0.250000011875, -1.000000000205], [0, -1.000000000205], [0, -1.750000000355], [0.24999999732, -1.250000001165] // [0.24999999732, -1.750000000355], Adding the next point makes your polygon path cross itself Before adding the next point. This renders: [image: Screenshot from 2021-11-10 07-15-21.png] After adding the next point. This no longer renders: [image: Screenshot from 2021-11-10 07-09-56.png] On Wed, Nov 10, 2021 at 5:12 AM Ray West <raywest@raywest.com> wrote: > About where the thrown together shows a problem. > On 10/11/2021 02:58, Michael Bronnenberg wrote: > > There's two consecutive points that are the same point: [-31.5, > 15.75],[-31.5, 15.75] > > Mike > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >