discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

can't import stl file/no top level object found

D
digital
Wed, Jan 7, 2015 6:23 PM

I tried to import 2 different stl files and I get the same error message with
both

I have tried the troubleshooting guides listed here
https://github.com/openscad/openscad/issues/13
http://forum.openscad.org/STL-won-t-render-in-CGAL-td2677.html#a2699
XY_resonance_1.stl
http://forum.openscad.org/file/n10951/XY_resonance_1.stl

Here is the code
import("C:\Users\alec\Desktop\XY_resonance_1.0mm_walls.stl");

F5 gives me this error message
"Saved backup file:
C:/Users/digital/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
ERROR: CSG generation failed! (no top level object found)
PolySets in cache: 2
PolySet cache size in bytes: 0
CGAL Polyhedrons in cache: 9
CGAL cache size in bytes: 4175648"

F6 gives me this error message
"Saved backup file:
C:/Users/alec/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
ERROR: CSG generation failed! (no top level object found)
PolySets in cache: 2
PolySet cache size in bytes: 0
CGAL Polyhedrons in cache: 9
CGAL cache size in bytes: 4175648"

--
View this message in context: http://forum.openscad.org/can-t-import-stl-file-no-top-level-object-found-tp10951.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I tried to import 2 different stl files and I get the same error message with both I have tried the troubleshooting guides listed here https://github.com/openscad/openscad/issues/13 http://forum.openscad.org/STL-won-t-render-in-CGAL-td2677.html#a2699 XY_resonance_1.stl <http://forum.openscad.org/file/n10951/XY_resonance_1.stl> Here is the code import("C:\Users\alec\Desktop\XY_resonance_1.0mm_walls.stl"); F5 gives me this error message "Saved backup file: C:/Users/digital/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad Compiling design (CSG Tree generation)... Compiling design (CSG Products generation)... ERROR: CSG generation failed! (no top level object found) PolySets in cache: 2 PolySet cache size in bytes: 0 CGAL Polyhedrons in cache: 9 CGAL cache size in bytes: 4175648" F6 gives me this error message "Saved backup file: C:/Users/alec/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad Compiling design (CSG Tree generation)... Compiling design (CSG Products generation)... ERROR: CSG generation failed! (no top level object found) PolySets in cache: 2 PolySet cache size in bytes: 0 CGAL Polyhedrons in cache: 9 CGAL cache size in bytes: 4175648" -- View this message in context: http://forum.openscad.org/can-t-import-stl-file-no-top-level-object-found-tp10951.html Sent from the OpenSCAD mailing list archive at Nabble.com.
PF
Peter Falke
Wed, Jan 7, 2015 7:26 PM

Maybe the second dot in your file name throughs OpenSCAD off.
The extension is used to decide between .stl and .dxf(?) import.

2015-01-07 19:23 GMT+01:00 digital aklee42@neo.tamu.edu:

I tried to import 2 different stl files and I get the same error message
with
both

I have tried the troubleshooting guides listed here
https://github.com/openscad/openscad/issues/13
http://forum.openscad.org/STL-won-t-render-in-CGAL-td2677.html#a2699
XY_resonance_1.stl
http://forum.openscad.org/file/n10951/XY_resonance_1.stl

Here is the code
import("C:\Users\alec\Desktop\XY_resonance_1.0mm_walls.stl");

F5 gives me this error message
"Saved backup file:
C:/Users/digital/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
ERROR: CSG generation failed! (no top level object found)
PolySets in cache: 2
PolySet cache size in bytes: 0
CGAL Polyhedrons in cache: 9
CGAL cache size in bytes: 4175648"

F6 gives me this error message
"Saved backup file:
C:/Users/alec/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
ERROR: CSG generation failed! (no top level object found)
PolySets in cache: 2
PolySet cache size in bytes: 0
CGAL Polyhedrons in cache: 9
CGAL cache size in bytes: 4175648"

--
View this message in context:
http://forum.openscad.org/can-t-import-stl-file-no-top-level-object-found-tp10951.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

--
stempeldergeschichte@googlemail.com karsten@rohrbach.de

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu
schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!

Maybe the second dot in your file name throughs OpenSCAD off. The extension is used to decide between .stl and .dxf(?) import. 2015-01-07 19:23 GMT+01:00 digital <aklee42@neo.tamu.edu>: > I tried to import 2 different stl files and I get the same error message > with > both > > I have tried the troubleshooting guides listed here > https://github.com/openscad/openscad/issues/13 > http://forum.openscad.org/STL-won-t-render-in-CGAL-td2677.html#a2699 > XY_resonance_1.stl > <http://forum.openscad.org/file/n10951/XY_resonance_1.stl> > > Here is the code > import("C:\Users\alec\Desktop\XY_resonance_1.0mm_walls.stl"); > > > > F5 gives me this error message > "Saved backup file: > C:/Users/digital/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad > Compiling design (CSG Tree generation)... > Compiling design (CSG Products generation)... > ERROR: CSG generation failed! (no top level object found) > PolySets in cache: 2 > PolySet cache size in bytes: 0 > CGAL Polyhedrons in cache: 9 > CGAL cache size in bytes: 4175648" > > F6 gives me this error message > "Saved backup file: > C:/Users/alec/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad > Compiling design (CSG Tree generation)... > Compiling design (CSG Products generation)... > ERROR: CSG generation failed! (no top level object found) > PolySets in cache: 2 > PolySet cache size in bytes: 0 > CGAL Polyhedrons in cache: 9 > CGAL cache size in bytes: 4175648" > > > > -- > View this message in context: > http://forum.openscad.org/can-t-import-stl-file-no-top-level-object-found-tp10951.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 > -- stempeldergeschichte@googlemail.com <karsten@rohrbach.de> P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist: Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu schreiben. Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen. P.S. In case my e-mail is shorter than you enjoy: I am currently trying short replies instead of no replies at all. Please let me know, if you like to read more. Enjoy!
PF
Peter Falke
Wed, Jan 7, 2015 7:32 PM

OpenSCAD http://www.openscad.org version 2014.06.29 troughs an error if
it cant find the file.
Maybe your using an old version?

2015-01-07 20:26 GMT+01:00 Peter Falke stempeldergeschichte@googlemail.com
:

Maybe the second dot in your file name throughs OpenSCAD off.
The extension is used to decide between .stl and .dxf(?) import.

2015-01-07 19:23 GMT+01:00 digital aklee42@neo.tamu.edu:

I tried to import 2 different stl files and I get the same error message
with
both

I have tried the troubleshooting guides listed here
https://github.com/openscad/openscad/issues/13
http://forum.openscad.org/STL-won-t-render-in-CGAL-td2677.html#a2699
XY_resonance_1.stl
http://forum.openscad.org/file/n10951/XY_resonance_1.stl

Here is the code
import("C:\Users\alec\Desktop\XY_resonance_1.0mm_walls.stl");

F5 gives me this error message
"Saved backup file:
C:/Users/digital/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
ERROR: CSG generation failed! (no top level object found)
PolySets in cache: 2
PolySet cache size in bytes: 0
CGAL Polyhedrons in cache: 9
CGAL cache size in bytes: 4175648"

F6 gives me this error message
"Saved backup file:
C:/Users/alec/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
ERROR: CSG generation failed! (no top level object found)
PolySets in cache: 2
PolySet cache size in bytes: 0
CGAL Polyhedrons in cache: 9
CGAL cache size in bytes: 4175648"

--
View this message in context:
http://forum.openscad.org/can-t-import-stl-file-no-top-level-object-found-tp10951.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

--
stempeldergeschichte@googlemail.com karsten@rohrbach.de

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu
schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!

--
stempeldergeschichte@googlemail.com karsten@rohrbach.de

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu
schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!

OpenSCAD <http://www.openscad.org> version 2014.06.29 troughs an error if it cant find the file. Maybe your using an old version? 2015-01-07 20:26 GMT+01:00 Peter Falke <stempeldergeschichte@googlemail.com> : > Maybe the second dot in your file name throughs OpenSCAD off. > The extension is used to decide between .stl and .dxf(?) import. > > > 2015-01-07 19:23 GMT+01:00 digital <aklee42@neo.tamu.edu>: > >> I tried to import 2 different stl files and I get the same error message >> with >> both >> >> I have tried the troubleshooting guides listed here >> https://github.com/openscad/openscad/issues/13 >> http://forum.openscad.org/STL-won-t-render-in-CGAL-td2677.html#a2699 >> XY_resonance_1.stl >> <http://forum.openscad.org/file/n10951/XY_resonance_1.stl> >> >> Here is the code >> import("C:\Users\alec\Desktop\XY_resonance_1.0mm_walls.stl"); >> >> >> >> F5 gives me this error message >> "Saved backup file: >> C:/Users/digital/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad >> Compiling design (CSG Tree generation)... >> Compiling design (CSG Products generation)... >> ERROR: CSG generation failed! (no top level object found) >> PolySets in cache: 2 >> PolySet cache size in bytes: 0 >> CGAL Polyhedrons in cache: 9 >> CGAL cache size in bytes: 4175648" >> >> F6 gives me this error message >> "Saved backup file: >> C:/Users/alec/Documents/OpenSCAD/backups/unsaved-backup-gqHp3248.scad >> Compiling design (CSG Tree generation)... >> Compiling design (CSG Products generation)... >> ERROR: CSG generation failed! (no top level object found) >> PolySets in cache: 2 >> PolySet cache size in bytes: 0 >> CGAL Polyhedrons in cache: 9 >> CGAL cache size in bytes: 4175648" >> >> >> >> -- >> View this message in context: >> http://forum.openscad.org/can-t-import-stl-file-no-top-level-object-found-tp10951.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 >> > > > > -- > stempeldergeschichte@googlemail.com <karsten@rohrbach.de> > > P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist: > Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu > schreiben. > Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen. > > P.S. In case my e-mail is shorter than you enjoy: > I am currently trying short replies instead of no replies at all. > Please let me know, if you like to read more. > > Enjoy! > -- stempeldergeschichte@googlemail.com <karsten@rohrbach.de> P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist: Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu schreiben. Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen. P.S. In case my e-mail is shorter than you enjoy: I am currently trying short replies instead of no replies at all. Please let me know, if you like to read more. Enjoy!
D
digital
Thu, Jan 8, 2015 7:13 PM

Thanks for the reply Peter. I dragged and dropped the stl file and that
worked. For some reason, typing it in does not. <shrugs>

--
View this message in context: http://forum.openscad.org/can-t-import-stl-file-no-top-level-object-found-tp10951p10955.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Thanks for the reply Peter. I dragged and dropped the stl file and that worked. For some reason, typing it in does not. <shrugs> -- View this message in context: http://forum.openscad.org/can-t-import-stl-file-no-top-level-object-found-tp10951p10955.html Sent from the OpenSCAD mailing list archive at Nabble.com.