discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Can't get Minkowski sum with polyhedron and sphere to work

G
greyphilosophy
Sat, Jan 14, 2017 5:49 AM

I'm not sure what I'm doing wrong or if this just doesn't work, but I'm
attempting to do the following:

minkowski(){
polyhedron(points=[[-70,-5,70],[-70,-5,-70],[0,-5,-70],[0,-5,70],[-140,-5,0],[-70,5,70],[-70,5,-70],[0,5,-70],[0,5,70],[-140,5,0]],faces=[[0,5,9,4],[6,1,4,9],[1,6,7,2],[7,2,3,8],[3,8,5,0]]);
sphere(10,center=true);
}

And all I get is a blank page.  I can render the polyhedron and the sphere
independent of the minkowski sum, but when I put it together I get nothing.
Any suggestions?

Thank you

--
View this message in context: http://forum.openscad.org/Can-t-get-Minkowski-sum-with-polyhedron-and-sphere-to-work-tp20077.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I'm not sure what I'm doing wrong or if this just doesn't work, but I'm attempting to do the following: minkowski(){ polyhedron(points=[[-70,-5,70],[-70,-5,-70],[0,-5,-70],[0,-5,70],[-140,-5,0],[-70,5,70],[-70,5,-70],[0,5,-70],[0,5,70],[-140,5,0]],faces=[[0,5,9,4],[6,1,4,9],[1,6,7,2],[7,2,3,8],[3,8,5,0]]); sphere(10,center=true); } And all I get is a blank page. I can render the polyhedron and the sphere independent of the minkowski sum, but when I put it together I get nothing. Any suggestions? Thank you -- View this message in context: http://forum.openscad.org/Can-t-get-Minkowski-sum-with-polyhedron-and-sphere-to-work-tp20077.html Sent from the OpenSCAD mailing list archive at Nabble.com.
NH
nop head
Sat, Jan 14, 2017 10:15 AM

Your polyhedron is not 2 manifold. It seems to have missing faces and most
of the faces it has are pointing the wrong way.

On 14 January 2017 at 05:49, greyphilosophy greyphilosophy@gmail.com
wrote:

I'm not sure what I'm doing wrong or if this just doesn't work, but I'm
attempting to do the following:

minkowski(){
polyhedron(points=[[-70,-5,70],[-70,-5,-70],[0,-5,-70],[0,-
5,70],[-140,-5,0],[-70,5,70],[-70,5,-70],[0,5,-70],[0,5,70],
[-140,5,0]],faces=[[0,5,9,4],[6,1,4,9],[1,6,7,2],[7,2,3,8],[3,8,5,0]]);
sphere(10,center=true);
}

And all I get is a blank page.  I can render the polyhedron and the sphere
independent of the minkowski sum, but when I put it together I get nothing.
Any suggestions?

Thank you

--
View this message in context: http://forum.openscad.org/Can-
t-get-Minkowski-sum-with-polyhedron-and-sphere-to-work-tp20077.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Your polyhedron is not 2 manifold. It seems to have missing faces and most of the faces it has are pointing the wrong way. On 14 January 2017 at 05:49, greyphilosophy <greyphilosophy@gmail.com> wrote: > I'm not sure what I'm doing wrong or if this just doesn't work, but I'm > attempting to do the following: > > minkowski(){ > polyhedron(points=[[-70,-5,70],[-70,-5,-70],[0,-5,-70],[0,- > 5,70],[-140,-5,0],[-70,5,70],[-70,5,-70],[0,5,-70],[0,5,70], > [-140,5,0]],faces=[[0,5,9,4],[6,1,4,9],[1,6,7,2],[7,2,3,8],[3,8,5,0]]); > sphere(10,center=true); > } > > And all I get is a blank page. I can render the polyhedron and the sphere > independent of the minkowski sum, but when I put it together I get nothing. > Any suggestions? > > Thank you > > > > -- > View this message in context: http://forum.openscad.org/Can- > t-get-Minkowski-sum-with-polyhedron-and-sphere-to-work-tp20077.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
JD
Jerry Davis
Sat, Jan 14, 2017 11:09 PM

I put your polyhedron in as a polygon on

and got this image of it.

this would be why.

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Openscad developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

On Sat, Jan 14, 2017 at 3:15 AM, nop head nop.head@gmail.com wrote:

Your polyhedron is not 2 manifold. It seems to have missing faces and most
of the faces it has are pointing the wrong way.

On 14 January 2017 at 05:49, greyphilosophy greyphilosophy@gmail.com
wrote:

I'm not sure what I'm doing wrong or if this just doesn't work, but I'm
attempting to do the following:

minkowski(){
polyhedron(points=[[-70,-5,70],[-70,-5,-70],[0,-5,-70],[0,-5
,70],[-140,-5,0],[-70,5,70],[-70,5,-70],[0,5,-70],[0,5,70],[
-140,5,0]],faces=[[0,5,9,4],[6,1,4,9],[1,6,7,2],[7,2,3,8],[3,8,5,0]]);
sphere(10,center=true);
}

And all I get is a blank page.  I can render the polyhedron and the sphere
independent of the minkowski sum, but when I put it together I get
nothing.
Any suggestions?

Thank you

--
View this message in context: http://forum.openscad.org/Can-
t-get-Minkowski-sum-with-polyhedron-and-sphere-to-work-tp20077.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I put your polyhedron in as a polygon on and got this image of it. this would be why. -- Extra Ham Operator: K7AZJ Registered Linux User: 275424 Raspberry Pi and Openscad developer *The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov On Sat, Jan 14, 2017 at 3:15 AM, nop head <nop.head@gmail.com> wrote: > Your polyhedron is not 2 manifold. It seems to have missing faces and most > of the faces it has are pointing the wrong way. > > On 14 January 2017 at 05:49, greyphilosophy <greyphilosophy@gmail.com> > wrote: > >> I'm not sure what I'm doing wrong or if this just doesn't work, but I'm >> attempting to do the following: >> >> minkowski(){ >> polyhedron(points=[[-70,-5,70],[-70,-5,-70],[0,-5,-70],[0,-5 >> ,70],[-140,-5,0],[-70,5,70],[-70,5,-70],[0,5,-70],[0,5,70],[ >> -140,5,0]],faces=[[0,5,9,4],[6,1,4,9],[1,6,7,2],[7,2,3,8],[3,8,5,0]]); >> sphere(10,center=true); >> } >> >> And all I get is a blank page. I can render the polyhedron and the sphere >> independent of the minkowski sum, but when I put it together I get >> nothing. >> Any suggestions? >> >> Thank you >> >> >> >> -- >> View this message in context: http://forum.openscad.org/Can- >> t-get-Minkowski-sum-with-polyhedron-and-sphere-to-work-tp20077.html >> Sent from the OpenSCAD mailing list archive at Nabble.com. >> >> _______________________________________________ >> OpenSCAD mailing list >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > >