openscad-graph-editor icon indicating copy to clipboard operation
openscad-graph-editor copied to clipboard

Relative import with nested files does not work

Open derkork opened this issue 1 year ago • 0 comments

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 avatar Jun 15 '23 05:06 derkork