Skip to content
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

Relative import with nested files does not work #58

Open
derkork opened this issue Jun 15, 2023 · 0 comments
Open

Relative import with nested files does not work #58

derkork opened this issue Jun 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@derkork
Copy link
Owner

derkork commented Jun 15, 2023

Describe the bug
I have tried to include the gridfinity-rebuilt-bins.scad from https://github.com/kennetek/gridfinity-rebuilt-openscad using relative import mode. The import fails because a file included in this file cannot be loaded. When I load this in absolute mode it works.

To Reproduce
Steps to reproduce the behavior:

  1. Save the project so relative mode is available.
  2. Import gridfinity-rebuilt-bins.scad in relative mode into the project
  3. An error message shows that the file cannot be included.

Expected behavior
The file and its nested files are properly included.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version of OpenSCAD Graph Editor: 0.10.0

Additional context
Switching to relative mode after importing in absolute mode seems to work.

@derkork derkork added the bug Something isn't working label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant