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

Not compatible with SketchUp 2014? #123

Closed mnlagrasta closed 10 years ago

mnlagrasta commented 10 years ago

When installing extension from the Extension Warehouse, user is informed that plugin is not compatible with the version of SketchUp. However, it is listed as a compatible version on the info page. After installing, extension does not work. When an export is attempted, no dialogs appears and nothing appears to happen.

This is a fresh install of SketchUp Make 2014.

Previously, I had used this plugin inside of SketchUp 8 and Make 2013 without issue.

See also, SketchUp forum post: https://productforums.google.com/forum/#!msg/sketchup/-icQOuZjoPE/wq1t-99gndgJ

thomthom commented 10 years ago

It should be compatible... There is a big in Extension Warehouse where it will tell you the extension is not compatible if you are not signed in.

Can you make sure you are signed in?

Also, when trying to use the plugin, can you keep the Ruby Console open and report back any errors?

And what OS are you using?

And is the problem on all models or just some?

What are the export settings? For instance, binary or ascii?

thomthom commented 10 years ago

And can you go to Preferences > Extensions and verify the plugin version?

mnlagrasta commented 10 years ago

Thanks for the quick reply. I did log in and get it from the extension warehouse, which flashed a "not compatible" message, but still let me download and install it. Here are your answers.

OS: OS X 10.9.1 (Also reported on forum by a windows user) Definitely signed in. Plugin version: 2.1.0 All Models. Even a brand new simple one made just to test. No export settings are visible because no dialog pops up to set them. Ruby Console Output:

Error: #<NoMethodError: undefined method `check!' for <SKUI::Checkbox:0x73e3a80>:SKUI::Checkbox>
/Users/michael/Library/Application Support/SketchUp 2014/SketchUp/Plugins/sketchup-stl/exporter.rb:230:in `do_options'
/Users/michael/Library/Application Support/SketchUp 2014/SketchUp/Plugins/sketchup-stl/exporter.rb:314:in `block in <module:Exporter>'
-e:1:in `call'

Maybe an issue with the dialog box itself? I'm not familiar with SketchUp extension code, but SKUI sounds like a UI layer. Anyway, I'm happy to dig out any other info you need.

thomthom commented 10 years ago

Hmm. Indeed SKUI is the UI layer. I'll look into it as soon as I can. Currently boarding an airplane...

rmkilgore commented 10 years ago

I had the same fail in 2014, so I re-installed 2013 and the stl plugin and got: Error: #<NoMethodError: undefined method check!' for <SKUI::Checkbox:0x7a2d558>:SKUI::Checkbox> C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/sketchup-stl/exporter.rb:230:indo_options' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/sketchup-stl/exporter.rb:314 C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/sketchup-stl/exporter.rb:230:in`call' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/sketchup-stl/exporter.rb:230