GridSpace / grid-apps

Browser-based Slicer for 3D Printing, CAM, Laser (Kiri:Moto) and mesh editor (Mesh:Tool)
https://grid.space/
MIT License
436 stars 142 forks source link

Laser cutter slicer fails on OnShape integration #32

Closed xxv closed 4 years ago

xxv commented 6 years ago

I'm not sure how to make a reproducible example that I can send, but the laser cutter slicer doesn't seem to work when I import from OnShape. If I export them as STL from OnShape and then bring them to https://grid.space/kiri everything seems to work fine.

When I click on "Slice" it generates no results. When I click "preview" it keeps re-slicing it until I hit escape.

xxv commented 6 years ago

https://cad.onshape.com/documents/aa416eeae7b8d0745c26f54a/w/dd5943cad0143c55fc7bb0fb/e/d5049b87736bf3217981b76b Here's a sample document that seems to trigger this behavior.

stewartoallen commented 6 years ago

odd. working for me. what's your OS / Browser? and what are the settings on the right panel? send a screenshot, if you don't mind.

xxv commented 6 years ago

I just tried it on Firefox 57.0 on Debian Buster/sid and noticed it in Chrome Version 63.0.3239.30 (Developer Build) built on Debian buster/sid, running on Debian buster/sid (64-bit).

Here's the right panel: https://xxv.so/0xc7898754.png (I'll note: I tried a variety of different settings on the right panel and none seemed to make any difference).

xxv commented 6 years ago

When I click on "Laser Cutting" -> Slice I get: 0x426d244e

Then when I click on "Preview" I get:

0x0f37ab92

And it never finishes.

stewartoallen commented 6 years ago

anything on the javascript console?

xxv commented 6 years ago

Hm. It looks like it's probably some sort of race condition. I'm getting successful slicing sometimes and not others. I didn't see any errors on the console last I checked, but I'll keep playing with it to see if I can reproduce the issue with console logging on.