You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to rebuild this project (not the best code, I admit) with extopenscad with --fopenscad-compat and I noticed that relative imports are evaluated differently.
Specifically, OpenSCAD evaluates relative paths starting from the location of the SCAD file.
$ make SCADC='/usr/bin/extopenscad -O'
/usr/bin/extopenscad -O -o stl/stubs/decoration_side.stl stubs/decoration_side.scad
Loading File.
Processing File.
extopenscad: /tmp/aegis-mini-skin/../config.scad: openFile: does not exist (No such file or directory)
⇒ OpenSCAD would load config.scad from /tmp/aegis-mini-skin/stubs/../config.scad
Hi,
I was trying to rebuild this project (not the best code, I admit) with
extopenscad
with--fopenscad-compat
and I noticed that relative imports are evaluated differently.Specifically, OpenSCAD evaluates relative paths starting from the location of the SCAD file.
To reproduce: https://github.com/Depau/aegis-mini-skin; run
make SCAD='./path/to/extopenscad -O'
:⇒ OpenSCAD would load
config.scad
from/tmp/aegis-mini-skin/stubs/../config.scad
Side note: someone made an Arch Linux AUR package for ImplicitCAD, if you wanna mention it in the website :) https://aur.archlinux.org/packages/implicitcad/
The text was updated successfully, but these errors were encountered: