Closed jaikdean closed 6 months ago
@jaikdean how are you running ShapeScript? Via the default app, or have you imported the library into your own application?
This is in the current macOS App Store release (1.11.0).
@jaikdean thanks, I think I've found the problem. Can you upload an example of an OBJ and STL file you tried that didn't work so I can verify the fix? Thanks.
I'm not able to share my own for commercial reasons, but the 3D Benchy STL is a known good file which didn't import any geometry.
Fair enough. You said you had some OBJ examples too?
I've exported a basic torus from Fusion 360 as a binary STL and an OBJ, here.
Both of the Torus examples you sent work fine for me when I test them. I suspect this may be a permissions issue - where are you trying to load the files from? I'm seeing silent failures when trying to import files from the Desktop, but it works OK from Documents.
@jaikdean any update on this? Where is the file you are trying to open located? Does moving it to somewhere else make a difference?
Sorry, yes, it does appear to be a file location issue. The .shape and .stl files were both in an iCloud Drive folder. When moved to the desktop, I'm prompted to give Shapescript access to files on the desktop, then it loads correctly.
@jaikdean great, thanks for confirming. There does seem to be a bug with it failing to report a meaningful error when file loading fails, as well as the fact that it doesn't seem to correctly handle iCloud-hosted files. I'll investigate both of those issues.
@jaikdean I believe this is now fixed - let me know if you are still able to reproduce it.
I can't seem to get imports to work. I don't see any errors, but see absolutely no geometry. I've tried with binary and ASCII STL files, and OBJ files, from Fusion 360, Thingiverse and ones exported from other Shapescript files.
I've tried a basic import as below, as well as defining a block using the import.