Import stl files with Openscad on mac
Hello,
how can I import STL files with a Mac?
import(“User:/my name/Desktop/miocubo.stl”);
WARNING: Can’t open import file ‘”User:/my name/Desktop/miocubo.stl”‘.
Con surface(“User:/may name/Desktop/miocubo.stl”);
WARNING: Can’t open DAT file
‘/Users/paolopuggioni/Desktop/mioimport/User:/my name/Desktop/miocubo.stl’.
WARNING: PolySet has degenerate polygons
Thank you
--
Sent from: http://forum.openscad.org/
I don't know why your file name starts with "User:". I don't think that
works on a Mac.
Try
import("/Users/paolopuggioni/Desktop/miocubo.stl”);
On 29 March 2018 at 06:44, Gianpaolo gpau@ticino.com wrote:
Import stl files with Openscad on mac
Hello,
how can I import STL files with a Mac?
import(“User:/my name/Desktop/miocubo.stl”);
WARNING: Can’t open import file ‘”User:/my name/Desktop/miocubo.stl”‘.
Con surface(“User:/may name/Desktop/miocubo.stl”);
WARNING: Can’t open DAT file
‘/Users/paolopuggioni/Desktop/mioimport/User:/my
name/Desktop/miocubo.stl’.
WARNING: PolySet has degenerate polygons
Thank you
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
I inserted the search into openscad, but it gave me error
import ( "/ Users / paolopuggioni / Desktop / miocubo.stl");
ERROR: Parser error in line 3: syntax error
ERROR: Compilation failed!
--
Sent from: http://forum.openscad.org/
You are not showing the entire script, only a single line of the script.
This line by itself does not produce a parser error. The syntax error is on
line 3, so the script must have at least 3 lines.
On 29 March 2018 at 10:08, Gianpaolo gpau@ticino.com wrote:
I inserted the search into openscad, but it gave me error
import ( "/ Users / paolopuggioni / Desktop / miocubo.stl");
ERROR: Parser error in line 3: syntax error
ERROR: Compilation failed!
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
What should I write more to have three lines?
--
Sent from: http://forum.openscad.org/
If you’re unsure about the syntax of how to load a specific STL file into OpenSCAD, drag and drop the STL file onto the OpenSCAD program.
OpenSCAD will create a new window whose sole content is the STL import statement. You can then copy and paste that line into your own program.
e.g.:
import("/Users/me/Downloads/epoxy_spatula.stl”);
Looking at some of the samples you’ve provided I would note that
2)It looks like you’re adding spaces in the path, where there should be none
import ( "/ Users / paolopuggioni / Desktop / miocubo.stl”);
should be:
import ( "/Users/paolopuggioni/Desktop/miocubo.stl");
On Mar 29, 2018, at 7:50 AM, Gianpaolo gpau@ticino.com wrote:
What should I write more to have three lines?
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
If it was really useful, I never thought it would be enough to transport the
file in openscad.
Thanks so much
--
Sent from: http://forum.openscad.org/
Ok, the problem of importing files is solved, but it is not possible to see
the script of the file?
Or is it possible how is it done?
--
Sent from: http://forum.openscad.org/
STL files are NOT scripts... they are static objects... so you can’t revise them directly
On Mar 29, 2018, at 8:56 AM, Gianpaolo gpau@ticino.com wrote:
Ok, the problem of importing files is solved, but it is not possible to see
the script of the file?
Or is it possible how is it done?
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Ok, thanks
--
Sent from: http://forum.openscad.org/