Welcome to the forum. Your post is still flagged as "This post has NOT been
accepted by the mailing list yet", so nobody gets it unless they look. You
need to subscribe to the mailing list
http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1 ,
and respond to the registration email.
Unfortunately AFAIK you can't easily do what you want; OpenSCAD does not
have namespaces so at the global level the functions need to have unique
names.
You can use include<> and use<> inside a module, use three modules to
include/use? It would depend on your model as to whether such would be
workable.
If both the functions in the one file are the same name, then that won't
work.
Handrolic manipulation?
p.s. In case you haven't seen it:
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_OpenSCAD_in_a_command_line_environment
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_OpenSCAD_in_a_command_line_environment
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Include_Statement
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Include_Statement
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries
Newly minted 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/How-to-call-multiple-functions-in-two-different-scad-files-and-output-STL-tp14396p14682.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Welcome to the forum. Your post is still flagged as "This post has NOT been
accepted by the mailing list yet", so nobody gets it unless they look. You
need to subscribe to the mailing list
<http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1> ,
and respond to the registration email.
Unfortunately AFAIK you can't easily do what you want; OpenSCAD does not
have namespaces so at the global level the functions need to have unique
names.
You can use include<> and use<> inside a module, use three modules to
include/use? It would depend on your model as to whether such would be
workable.
If both the functions in the one file are the same name, then that won't
work.
Handrolic manipulation?
p.s. In case you haven't seen it:
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_OpenSCAD_in_a_command_line_environment
<https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_OpenSCAD_in_a_command_line_environment>
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Include_Statement
<https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Include_Statement>
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries
<https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries>
-----
Newly minted 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/How-to-call-multiple-functions-in-two-different-scad-files-and-output-STL-tp14396p14682.html
Sent from the OpenSCAD mailing list archive at Nabble.com.