Skip to content

import_scad() does not look in 'Installation library' location #194

@occivink

Description

@occivink

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 error

Locations searched were: [PosixPath('MCAD/2Dshapes.scad'), PosixPath('/home/user/.local/share/OpenSCAD/libraries/MCAD/2Dshapes.scad')]

indicating that the installation library path is not search at all.

This is occuring with solidpython 1.1.1 on arch linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions