discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

polyhedron is not filled internally

E
Endre
Sat, Mar 18, 2017 10:16 AM

Hello,

I have a problem with the STL file.
Please take a look at this:
http://stackoverflow.com/questions/42869159/openscad-faces-are-duplicated-in-stl
http://stackoverflow.com/questions/42869159/openscad-faces-are-duplicated-in-stl
.

--
View this message in context: http://forum.openscad.org/polyhedron-is-not-filled-internally-tp20947.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello, I have a problem with the STL file. Please take a look at this: http://stackoverflow.com/questions/42869159/openscad-faces-are-duplicated-in-stl <http://stackoverflow.com/questions/42869159/openscad-faces-are-duplicated-in-stl> . -- View this message in context: http://forum.openscad.org/polyhedron-is-not-filled-internally-tp20947.html Sent from the OpenSCAD mailing list archive at Nabble.com.
NH
nop head
Sat, Mar 18, 2017 10:59 AM

The faces of the polygons that meet in the middle have the wrong winding
order. If you press F12 you will see they are purple. Perhaps that is
causing the issue.

On 18 March 2017 at 10:16, Endre ebak32@gmail.com wrote:

Hello,

I have a problem with the STL file.
Please take a look at this:
http://stackoverflow.com/questions/42869159/openscad-
faces-are-duplicated-in-stl
<http://stackoverflow.com/questions/42869159/openscad-
faces-are-duplicated-in-stl>
.

--
View this message in context: http://forum.openscad.org/
polyhedron-is-not-filled-internally-tp20947.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

The faces of the polygons that meet in the middle have the wrong winding order. If you press F12 you will see they are purple. Perhaps that is causing the issue. On 18 March 2017 at 10:16, Endre <ebak32@gmail.com> wrote: > Hello, > > I have a problem with the STL file. > Please take a look at this: > http://stackoverflow.com/questions/42869159/openscad- > faces-are-duplicated-in-stl > <http://stackoverflow.com/questions/42869159/openscad- > faces-are-duplicated-in-stl> > . > > > > -- > View this message in context: http://forum.openscad.org/ > polyhedron-is-not-filled-internally-tp20947.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 >
NH
nop head
Sat, Mar 18, 2017 11:10 AM

The last face should be [8, 3, 1, 0] in both cases.

On 18 March 2017 at 10:59, nop head nop.head@gmail.com wrote:

The faces of the polygons that meet in the middle have the wrong winding
order. If you press F12 you will see they are purple. Perhaps that is
causing the issue.

On 18 March 2017 at 10:16, Endre ebak32@gmail.com wrote:

Hello,

I have a problem with the STL file.
Please take a look at this:
http://stackoverflow.com/questions/42869159/openscad-faces-
are-duplicated-in-stl
<http://stackoverflow.com/questions/42869159/openscad-faces-
are-duplicated-in-stl>
.

--
View this message in context: http://forum.openscad.org/poly
hedron-is-not-filled-internally-tp20947.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

The last face should be [8, 3, 1, 0] in both cases. On 18 March 2017 at 10:59, nop head <nop.head@gmail.com> wrote: > The faces of the polygons that meet in the middle have the wrong winding > order. If you press F12 you will see they are purple. Perhaps that is > causing the issue. > > On 18 March 2017 at 10:16, Endre <ebak32@gmail.com> wrote: > >> Hello, >> >> I have a problem with the STL file. >> Please take a look at this: >> http://stackoverflow.com/questions/42869159/openscad-faces- >> are-duplicated-in-stl >> <http://stackoverflow.com/questions/42869159/openscad-faces- >> are-duplicated-in-stl> >> . >> >> >> >> -- >> View this message in context: http://forum.openscad.org/poly >> hedron-is-not-filled-internally-tp20947.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 >> > >
E
Endre
Sat, Mar 18, 2017 11:11 AM

Thanks for the quick reply! I'll check.
I have even tried to look for such issues with "Thrown Together" but I did
not notice it.
Perhaps I'll see it if I preview the model without mirroring.

Can it cause a problem that the middle face is the mirror plane? So it is
mirrored to itself with inverse normal.

Here I have attached an image, I don't see the purple faces from outside. I
can see purple only if I zoom inside the model.
http://forum.openscad.org/file/n20950/cobra.png

--
View this message in context: http://forum.openscad.org/polyhedron-is-not-filled-internally-tp20947p20950.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Thanks for the quick reply! I'll check. I have even tried to look for such issues with "Thrown Together" but I did not notice it. Perhaps I'll see it if I preview the model without mirroring. Can it cause a problem that the middle face is the mirror plane? So it is mirrored to itself with inverse normal. Here I have attached an image, I don't see the purple faces from outside. I can see purple only if I zoom inside the model. <http://forum.openscad.org/file/n20950/cobra.png> -- View this message in context: http://forum.openscad.org/polyhedron-is-not-filled-internally-tp20947p20950.html Sent from the OpenSCAD mailing list archive at Nabble.com.
NH
nop head
Sat, Mar 18, 2017 11:18 AM

Yes you need to remove one of the polyhedrons to see the problem.

I think the union fails when its inputs are not manifold. I don't see any
duplicate faces when I fix the polyhedrons.

On 18 March 2017 at 11:11, Endre ebak32@gmail.com wrote:

Thanks for the quick reply! I'll check.
I have even tried to look for such issues with "Thrown Together" but I did
not notice it.
Perhaps I'll see it if I preview the model without mirroring.

Can it cause a problem that the middle face is the mirror plane? So it is
mirrored to itself with inverse normal.

Here I have attached an image, I don't see the purple faces from outside. I
can see purple only if I zoom inside the model.
http://forum.openscad.org/file/n20950/cobra.png

--
View this message in context: http://forum.openscad.org/
polyhedron-is-not-filled-internally-tp20947p20950.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

Yes you need to remove one of the polyhedrons to see the problem. I think the union fails when its inputs are not manifold. I don't see any duplicate faces when I fix the polyhedrons. On 18 March 2017 at 11:11, Endre <ebak32@gmail.com> wrote: > Thanks for the quick reply! I'll check. > I have even tried to look for such issues with "Thrown Together" but I did > not notice it. > Perhaps I'll see it if I preview the model without mirroring. > > Can it cause a problem that the middle face is the mirror plane? So it is > mirrored to itself with inverse normal. > > Here I have attached an image, I don't see the purple faces from outside. I > can see purple only if I zoom inside the model. > <http://forum.openscad.org/file/n20950/cobra.png> > > > > -- > View this message in context: http://forum.openscad.org/ > polyhedron-is-not-filled-internally-tp20947p20950.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 >
E
Endre
Sat, Mar 18, 2017 12:10 PM

Thank you very much! It has really solved the problem.

--
View this message in context: http://forum.openscad.org/polyhedron-is-not-filled-internally-tp20947p20952.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Thank you very much! It has really solved the problem. -- View this message in context: http://forum.openscad.org/polyhedron-is-not-filled-internally-tp20947p20952.html Sent from the OpenSCAD mailing list archive at Nabble.com.