Hey everyone, I've been using CP for PCB milling quite successfully for a couple

Hey everyone, I’ve been using CP for PCB milling quite successfully for a couple months.

I’m getting a few errors using CP on chrome right now in the grbl and jpadie workspaces;

  1. 3d scene not loading
  2. widgets in wrong position covering other widgets

Tried switching to IE and it was even worse. Anyone have any ideas on a fix or is it being worked on presently?

It means your webgl is crashing. It’s a local browser issue or graphics driver issue. Restart chrome? Restart computer?

Ok, well, rebooted and no go. It doesn’t look like webgl is crashing but there are a couple script errors. I tested a different canvas/webgl/threejs web app with a high poly model and it worked fine. I’ll dig a little more.

missing/deleted image from Google+

Maybe try deleting your “last-imported” localstorage item. It might be crashing on trying to load that? Run localStorage.removeItem(‘last-imported’); from the Javascript debug console in the browser on that page.

All that does is wipe your last loaded Gcode so it doesn’t load something that might be whacking it out.

Bingo! Thanks John.

Ok. Cool. I suppose it would be nice if a try/catch is added to code to detect errors and then it asks “Hey, want to delete your last-imported?”

I concur.

If you know Javascript, any chance you might be interested in adding that code? It’s happened only a few times to users in the past, but it can sometimes happen as you saw.

Sure, I’ll take a shot at it.

You guys are amazing.

I also notice if I cleared all the recent loaded g code before I loaded the new file, cp will not freeze on me.