-
Notifications
You must be signed in to change notification settings - Fork 181
import_scad() does not look in 'Installation library' location #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the hint. I was experimenting with dotScad but so far it seems to work as expected. I'll keep your warning in mind though |
Hi @occivink. Thanks for noting this. I wasn't aware of this extra library location. Is there a standard installation spot on Linux systems? On MacOS or Windows, that's pretty well defined, but it seems like different Linux distributions have different app layouts. If we have some solid guesses about where to try, I can make sure those paths are searched. |
On Arch linux, Ubuntu and Fedora this path is |
That's great. I'll add that to the search paths. Was just looking at the linux install page and I counted 9 different install methods so I don't know if this covers all the bases, but I guess that's why there's a designated libraries directory separate from the app install. |
Should be fixed in v1.1.3, on PyPI |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
'Installation library' is the terminology used on the OpenScad wiki and described as:
"The Installation library location is the
libraries
directory under the directory where OpenSCAD is installed."https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries
So this
use <MCAD/2Dshapes.scad>
is valid in openscad,in SolidPython
import_scad("MCAD/2Dshapes.scad")
is not valid, it fails with the errorindicating that the installation library path is not search at all.
This is occuring with solidpython 1.1.1 on arch linux
The text was updated successfully, but these errors were encountered: