discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Another degenerated faces & holes

M
MichaelAtOz
Sun, Feb 15, 2015 1:25 AM

Marius, here is another case of expert gone bad. 2015.02.05.

Netfabb output
http://forum.openscad.org/file/n11636/degenerate2.jpg

STL file attached.
Ryobi_Blower_endBit_-_example.stl
http://forum.openscad.org/file/n11636/Ryobi_Blower_endBit_-_example.stl

SCAD code

// Make a smalller tip for the Ryobi Blower. Basis for other end shapes.
// The eliptical end of the Ryobi Blower exhuast tube.

s=0.01;

module ellipseXY(x,y) {
resize([x,y])
cylinder(h=0.01,d=100);
}

module ellipseXYZ(x,y,z) {
hull() {
ellipseXY(x,y);
translate([0,0,z-0.01])
ellipseXY(x,y);
}
}

module ellipseTapered(e1,e2,h,offset=[0,0,0],angle=[0,0,0]) {
echo(e1,e2,h,offset,angle);
hull() {
ellipseXY(e1.x,e1.y);
translate([offset.x,offset.y,h-0.01])
rotate(angle)
ellipseXY(e2.x,e2.y);
}
}

module ellipseTaperedHollow(e1,e2,h,thick=3,offset=[0,0,0],angle=[0,0,0]) {
t=[thick2,thick2];
difference() {
ellipseTapered(e1+t,e2+t,h,offset,angle);
translate([0,0,-s])
ellipseTapered(e1,e2,h+s*2,offset,angle);
}
}

rotate([120,0,0]) {
ellipseTaperedHollow([64,36],[55,25],h=70,thick=2.1);
translate([0,0,70-s])

ellipseTaperedHollow([55,25],[80,15],h=40,thick=2.1,offset=[0,20,0],angle=[-20,0,0]);
}


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Another-degenerated-faces-holes-tp11636.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Marius, here is another case of expert gone bad. 2015.02.05. Netfabb output <http://forum.openscad.org/file/n11636/degenerate2.jpg> STL file attached. Ryobi_Blower_endBit_-_example.stl <http://forum.openscad.org/file/n11636/Ryobi_Blower_endBit_-_example.stl> SCAD code // Make a smalller tip for the Ryobi Blower. Basis for other end shapes. // The eliptical end of the Ryobi Blower exhuast tube. s=0.01; module ellipseXY(x,y) { resize([x,y]) cylinder(h=0.01,d=100); } module ellipseXYZ(x,y,z) { hull() { ellipseXY(x,y); translate([0,0,z-0.01]) ellipseXY(x,y); } } module ellipseTapered(e1,e2,h,offset=[0,0,0],angle=[0,0,0]) { echo(e1,e2,h,offset,angle); hull() { ellipseXY(e1.x,e1.y); translate([offset.x,offset.y,h-0.01]) rotate(angle) ellipseXY(e2.x,e2.y); } } module ellipseTaperedHollow(e1,e2,h,thick=3,offset=[0,0,0],angle=[0,0,0]) { t=[thick*2,thick*2]; difference() { ellipseTapered(e1+t,e2+t,h,offset,angle); translate([0,0,-s]) ellipseTapered(e1,e2,h+s*2,offset,angle); } } rotate([120,0,0]) { ellipseTaperedHollow([64,36],[55,25],h=70,thick=2.1); translate([0,0,70-s]) ellipseTaperedHollow([55,25],[80,15],h=40,thick=2.1,offset=[0,20,0],angle=[-20,0,0]); } ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Another-degenerated-faces-holes-tp11636.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Sun, Feb 15, 2015 5:35 AM

On Feb 14, 2015, at 20:25 PM, MichaelAtOz oz.at.michael@gmail.com wrote:

Marius, here is another case of expert gone bad. 2015.02.05.

Thanks!

Do you build your own OpenSCAD? If so, could you try the latest master? I fixed some STL export issues, as well as added a manifold sanity check which will report non-manifold results. With the master, this design exports a clean STL.

We’ll push another development snapshot shortly.

-Marius

On Feb 14, 2015, at 20:25 PM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > Marius, here is another case of expert gone bad. 2015.02.05. > Thanks! Do you build your own OpenSCAD? If so, could you try the latest master? I fixed some STL export issues, as well as added a manifold sanity check which will report non-manifold results. With the master, this design exports a clean STL. We’ll push another development snapshot shortly. -Marius
M
MichaelAtOz
Sun, Feb 15, 2015 9:52 AM

Do you build your own OpenSCAD?

No, I'll test when a new snapshot comes out.

BTW it was reasonable easy to fix in the scad source. Usual suspects.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Another-degenerated-faces-holes-tp11636p11640.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

> Do you build your own OpenSCAD? No, I'll test when a new snapshot comes out. BTW it was reasonable easy to fix in the scad source. Usual suspects. ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Another-degenerated-faces-holes-tp11636p11640.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TH
Tim Hawkins
Tue, Feb 17, 2015 4:08 AM

I was having some problems with exporting the sample file fractal.scad as
.stl to Simplify3d, I was getting visible tears in the structure. However
the nightly that arrived today seems to be clean, and i don't see these
artifacts anymore.

ECHO: version = [2015, 2, 16]

On Sun, Feb 15, 2015 at 1:35 PM, Marius Kintel marius@kintel.net wrote:

On Feb 14, 2015, at 20:25 PM, MichaelAtOz oz.at.michael@gmail.com wrote:

Marius, here is another case of expert gone bad. 2015.02.05.

Thanks!

Do you build your own OpenSCAD? If so, could you try the latest master? I
fixed some STL export issues, as well as added a manifold sanity check
which will report non-manifold results. With the master, this design
exports a clean STL.

We’ll push another development snapshot shortly.

-Marius


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

I was having some problems with exporting the sample file fractal.scad as .stl to Simplify3d, I was getting visible tears in the structure. However the nightly that arrived today seems to be clean, and i don't see these artifacts anymore. ECHO: version = [2015, 2, 16] On Sun, Feb 15, 2015 at 1:35 PM, Marius Kintel <marius@kintel.net> wrote: > On Feb 14, 2015, at 20:25 PM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > > Marius, here is another case of expert gone bad. 2015.02.05. > > > Thanks! > > Do you build your own OpenSCAD? If so, could you try the latest master? I > fixed some STL export issues, as well as added a manifold sanity check > which will report non-manifold results. With the master, this design > exports a clean STL. > > We’ll push another development snapshot shortly. > > -Marius > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
M
MichaelAtOz
Sun, Feb 22, 2015 4:25 AM

kintel wrote

Do you build your own OpenSCAD? If so, could you try the latest master? I
fixed some STL export issues, as well as added a manifold sanity check
which will report non-manifold results. With the master, this design
exports a clean STL.

We’ll push another development snapshot shortly.

With 2015.02.20, I get degenerated faces with the above code. But no holes.

Netfabb:
http://forum.openscad.org/file/n11684/degenerate.jpg


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Another-degenerated-faces-holes-tp11636p11684.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

kintel wrote > Do you build your own OpenSCAD? If so, could you try the latest master? I > fixed some STL export issues, as well as added a manifold sanity check > which will report non-manifold results. With the master, this design > exports a clean STL. > > We’ll push another development snapshot shortly. With 2015.02.20, I get degenerated faces with the above code. But no holes. Netfabb: <http://forum.openscad.org/file/n11684/degenerate.jpg> ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Another-degenerated-faces-holes-tp11636p11684.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Sun, Feb 22, 2015 4:32 AM

With the RollTopBoxBase I emailed you, I get:

Total rendering time: 0 hours, 0 minutes, 0 seconds
Top level object is a 3D object:
Simple:        no
Vertices:      52
Halfedges:    158
Edges:          79
Halffacets:    60
Facets:        30
Volumes:        2
WARNING: Object may not be a valid 2-manifold and may need repair!
Rendering finished.
WARNING: Object may not be a valid 2-manifold and may need repair! See
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/STL_Import_and_Export
WARNING: Exported object may not be a valid 2-manifold and may need repair
STL export finished.

But the exported stl passes Netfabb tests.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Another-degenerated-faces-holes-tp11636p11685.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

With the RollTopBoxBase I emailed you, I get: Total rendering time: 0 hours, 0 minutes, 0 seconds Top level object is a 3D object: Simple: no Vertices: 52 Halfedges: 158 Edges: 79 Halffacets: 60 Facets: 30 Volumes: 2 WARNING: Object may not be a valid 2-manifold and may need repair! Rendering finished. WARNING: Object may not be a valid 2-manifold and may need repair! See http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/STL_Import_and_Export WARNING: Exported object may not be a valid 2-manifold and may need repair STL export finished. But the exported stl passes Netfabb tests. ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Another-degenerated-faces-holes-tp11636p11685.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Sun, Feb 22, 2015 4:38 AM

On Feb 21, 2015, at 23:25 PM, MichaelAtOz oz.at.michael@gmail.com wrote:

With 2015.02.20, I get degenerated faces with the above code. But no holes.

Degenerate faces are normal - we haven’t attempted to fix this yet. One good fix for such issues is to flip edges. This is possible in MeshLab.
I don’t believe this should affect any real use of the design.

-Marius

On Feb 21, 2015, at 23:25 PM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > With 2015.02.20, I get degenerated faces with the above code. But no holes. > Degenerate faces are normal - we haven’t attempted to fix this yet. One good fix for such issues is to flip edges. This is possible in MeshLab. I don’t believe this should affect any real use of the design. -Marius
AB
ARUN BISHNOI
Wed, Feb 25, 2015 8:53 AM

how to unsuscribe from this mailing list
On 22-Feb-2015 10:09 am, "Marius Kintel" marius@kintel.net wrote:

On Feb 21, 2015, at 23:25 PM, MichaelAtOz oz.at.michael@gmail.com wrote:

With 2015.02.20, I get degenerated faces with the above code. But no

holes.

Degenerate faces are normal - we haven’t attempted to fix this yet. One
good fix for such issues is to flip edges. This is possible in MeshLab.
I don’t believe this should affect any real use of the design.

-Marius


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

how to unsuscribe from this mailing list On 22-Feb-2015 10:09 am, "Marius Kintel" <marius@kintel.net> wrote: > On Feb 21, 2015, at 23:25 PM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > > > With 2015.02.20, I get degenerated faces with the above code. But no > holes. > > > Degenerate faces are normal - we haven’t attempted to fix this yet. One > good fix for such issues is to flip edges. This is possible in MeshLab. > I don’t believe this should affect any real use of the design. > > -Marius > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
MK
Marius Kintel
Wed, Feb 25, 2015 2:01 PM

On Feb 25, 2015, at 03:53 AM, ARUN BISHNOI a.arunbishnoi@gmail.com wrote:

how to unsuscribe from this mailing list

On Feb 25, 2015, at 03:53 AM, ARUN BISHNOI <a.arunbishnoi@gmail.com> wrote: > how to unsuscribe from this mailing list > See the link in the footer: http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -Marius