SketchUp / sketchup-stl

A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.
http://extensions.sketchup.com/content/sketchup-stl
MIT License
248 stars 68 forks source link

Mac problem #110

Closed YLAG closed 10 years ago

YLAG commented 10 years ago

No problem to install it on sketchup 2013 on a new Mac Retina. But when I try to import something, the app crashes. Even on small items.

thomthom commented 10 years ago

On importing any model?

Do you get BugSplats? If so, did you submit them?

YLAG commented 10 years ago

The app is just stuck :( Keeps CPU on 100% and I get "SketchUp is not reacting" on monitoring.

No bugslpats

thomthom commented 10 years ago

That's not a crash, that could mean it's working on something. But if the file is small it shouldn't. Do you have a sample file for us.

YLAG commented 10 years ago

Testing with this: http://www.thingiverse.com/thing:44328

thomthom commented 10 years ago

When you say "small" do you refer to the physical size? Because it's a very high poly object, as the dialog box says, more than 100.000 triangles!

2014-02-12_17h36_46

That is certainly something that might take a while to import. (Granted, this is due to some performance limitations in the Ruby API.)

Btw, what are your import settings?

thomthom commented 10 years ago

I loaded this in SU2013, Windows, and it did take quite a while. It's a highly detailed model. I imported as centimeters, because I anticipated that the faces was small, which they where - if I had picked millimeters there would probably be lots of missing faces because they'd be too small for SketchUp.

As for the loading time, I do think there are something we can do to make it import faster, but it would require discarding any materials - which this STL doesn't have anyway. I have opened a new issue for improving this.

I'm closing this issue as it describes a crash or hang - while in reality it's just SketchUp working for a long time.

jimfoltz commented 10 years ago

@thomthom if you are getting that dialog, you are not using the latest release.

thomthom commented 10 years ago

@jimfoltz, I don't think we have released your latest fixes. I think I intended to fix some remaining issues in the 2.1 milestone, but I've been swamped with other work lately.

thomthom commented 10 years ago

@YLAG : I have confirmed it's the healing functionality that makes the import slow. Due to the number of faces and their size, many faces are lost when importing. This makes the import to have holes and STL will try to heal geometry if it detect it's not a solid.

When I imported with units in the import dialog set to Meters it would import within a minute as no faces are then lost.