Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. OpenSCAD version 2019.01-RC2 Working dir changing when saving, file not found warning displayed only one time
  2.  
  3.  
  4.  
  5. I'm trying to import a stl file, which is located at /home/ben/Documents/PRINT3D/FILE.stl.
  6.  
  7.  
  8. when i start a new file by starting new instance of openscad, then select "open recent file" (recent file in /home/ben/Documents/PRINT3D/ ), then select file, new , without saving the file,
  9.  
  10. i type the following code:
  11.  
  12.  
  13. translate([0,0,50]) import ("PRINT3D/FILE.stl"); // this one is displayed
  14. translate([0,0,-50]) import ("FILE.stl");
  15.  
  16. and got :
  17.  
  18. Compiling design (CSG Products generation)...
  19. WARNING: Can't open import file '/home/ben/Documents/FILE.stl', import() at line 2
  20. Geometries in cache: 2
  21.  
  22.  
  23. i save the project under /home/ben/Documents/PRINT3D/test.scad , then press F5
  24.  
  25. translate([0,0,50]) import ("PRINT3D/FILE.stl");
  26. translate([0,0,-50]) import ("FILE.stl"); // this one is displayed
  27.  
  28.  
  29. and got :
  30.  
  31. Compiling design (CSG Products generation)...
  32. WARNING: Can't open import file '/home/ben/Documents/PRINT3D/PRINT3D/FILE.stl', import() at line 1
  33. Geometries in cache: 3
  34.  
  35. then i press F5 :
  36.  
  37. Compiling design (CSG Tree generation)...
  38. Compiling design (CSG Products generation)...
  39. Geometries in cache: 10
  40.  
  41.  
  42. and there is no more warning about file not found.
  43.  
  44. when i start a new file using "new": typing the same code, and there is no more warning about file not found.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement