discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Errors when operating on an STL file generated by OpenSCAD

W
william
Sat, May 28, 2016 9:21 AM

An STL file containing 15 fobs was generated by OpenSCAD.  I want to split
them into 3 STL files each containing 5 fobs.

+++++++++++++++++
//difference() {
intersection() {
import(filename,convexity=10);
#translate([-10,y,-2]) cube([sx,sy,sz]);
}
+++++++++++++++++

However, preview was ok but rendering failed:
http://forum.openscad.org/file/n17446/20160528_17.jpg

The STL and OpenSCAD files are archived  here http://bit.ly/1sTZWVx  .

Any suggestions?
Thanks

--
View this message in context: http://forum.openscad.org/Errors-when-operating-on-an-STL-file-generated-by-OpenSCAD-tp17446.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

An STL file containing 15 fobs was generated by OpenSCAD. I want to split them into 3 STL files each containing 5 fobs. +++++++++++++++++ //difference() { intersection() { import(filename,convexity=10); #translate([-10,y,-2]) cube([sx,sy,sz]); } +++++++++++++++++ However, preview was ok but rendering failed: <http://forum.openscad.org/file/n17446/20160528_17.jpg> The STL and OpenSCAD files are archived here <http://bit.ly/1sTZWVx> . Any suggestions? Thanks -- View this message in context: http://forum.openscad.org/Errors-when-operating-on-an-STL-file-generated-by-OpenSCAD-tp17446.html Sent from the OpenSCAD mailing list archive at Nabble.com.
CA
Carsten Arnholm
Sat, May 28, 2016 10:09 AM

On 28. mai 2016 11:21, william wrote:

An STL file containing 15 fobs was generated by OpenSCAD.  I want to split
them into 3 STL files each containing 5 fobs.

+++++++++++++++++
//difference() {
intersection() {
import(filename,convexity=10);
#translate([-10,y,-2]) cube([sx,sy,sz]);
}
+++++++++++++++++

However, preview was ok but rendering failed:
http://forum.openscad.org/file/n17446/20160528_17.jpg

The STL and OpenSCAD files are archived  here http://bit.ly/1sTZWVx  .

Any suggestions?
Thanks

There are endless reports of problems similar to this. Sometimes you can
work around it using MeshLab or other tools, quite often you can not.

For some explanations and opinions around why this is a recurring
problem, see for example this thread:
http://forum.openscad.org/dxf-and-stl-import-rendering-issue-tt15979.html

Carsten Arnholm

On 28. mai 2016 11:21, william wrote: > An STL file containing 15 fobs was generated by OpenSCAD. I want to split > them into 3 STL files each containing 5 fobs. > > +++++++++++++++++ > //difference() { > intersection() { > import(filename,convexity=10); > #translate([-10,y,-2]) cube([sx,sy,sz]); > } > +++++++++++++++++ > > However, preview was ok but rendering failed: > <http://forum.openscad.org/file/n17446/20160528_17.jpg> > > The STL and OpenSCAD files are archived here <http://bit.ly/1sTZWVx> . > > Any suggestions? > Thanks There are endless reports of problems similar to this. Sometimes you can work around it using MeshLab or other tools, quite often you can not. For some explanations and opinions around why this is a recurring problem, see for example this thread: http://forum.openscad.org/dxf-and-stl-import-rendering-issue-tt15979.html Carsten Arnholm
M
MichaelAtOz
Sun, May 29, 2016 1:07 AM

william wrote

An STL file containing 15 fobs was generated by OpenSCAD.

In Meshlab it shows lots of self intersecting faces - the pink bits, (tho
not many when you let it unify duplicate faces)
http://forum.openscad.org/file/n17450/meshlab_si.jpg

You say OpenSCAD generated that STL? Can you share that?


Admin - PM me if you need anything, or if I've done something stupid...

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. Obviously 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/  time is running out!

View this message in context: http://forum.openscad.org/Errors-when-operating-on-an-STL-file-generated-by-OpenSCAD-tp17446p17450.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

william wrote > An STL file containing 15 fobs was generated by OpenSCAD. In Meshlab it shows lots of self intersecting faces - the pink bits, (tho not many when you let it unify duplicate faces) <http://forum.openscad.org/file/n17450/meshlab_si.jpg> You say OpenSCAD generated that STL? Can you share that? ----- Admin - PM me if you need anything, or if I've done something stupid... 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. Obviously 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/ time is running out! -- View this message in context: http://forum.openscad.org/Errors-when-operating-on-an-STL-file-generated-by-OpenSCAD-tp17446p17450.html Sent from the OpenSCAD mailing list archive at Nabble.com.
W
william
Wed, Jun 1, 2016 11:22 AM

Thanks all for the inputs.

I am not being careful when I say the 15 fobs stl file is generated by
OpenSCAD.  It is actually based on an original single-fob STL file given to
me (I think it might have been generated by Pro-Engineer as I was told).  I
used openscad to produce fifteen copies with different names engraved.

I thought the 15-fob STL file from the OpenSCAD should be "clean" and I
should be able to do anything with it.  Perhaps the original single-fob STL
file was not "clean" and I was lucky to produce the 15-fob STL file.  And
when I tried to manipulate the 15-fob STL file with OpenSCAD, I am not
allowed.

I have attached a link to a zip file which contains the original single-fob
STL file "leecostl(final).stl" and the openscad file that could create a
similar 15-fob stl file.

http://bit.ly/1O4NwDM

William

--
View this message in context: http://forum.openscad.org/Errors-when-operating-on-an-STL-file-generated-by-OpenSCAD-tp17446p17499.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Thanks all for the inputs. I am not being careful when I say the 15 fobs stl file is generated by OpenSCAD. It is actually based on an original single-fob STL file given to me (I think it might have been generated by Pro-Engineer as I was told). I used openscad to produce fifteen copies with different names engraved. I thought the 15-fob STL file from the OpenSCAD should be "clean" and I should be able to do anything with it. Perhaps the original single-fob STL file was not "clean" and I was lucky to produce the 15-fob STL file. And when I tried to manipulate the 15-fob STL file with OpenSCAD, I am not allowed. I have attached a link to a zip file which contains the original single-fob STL file "leecostl(final).stl" and the openscad file that could create a similar 15-fob stl file. http://bit.ly/1O4NwDM William -- View this message in context: http://forum.openscad.org/Errors-when-operating-on-an-STL-file-generated-by-OpenSCAD-tp17446p17499.html Sent from the OpenSCAD mailing list archive at Nabble.com.