I recently tried to install the stl plugin on Google Sketchup 8. The rbz on Github looks pretty different from the stuff under /src. I had some success by just cloning the repo and putting the src/ files under /Library/Application Support/Google SketchUp 8/SketchUp/plugins.
if i look at the files in the .rbz
$ tar -tvzf ./sketchup-stl-1.0.0.rbz
-rwxrwxrwx 0 0 0 871 Oct 12 2012 sketchup-stl.rb
drwxrwxrwx 0 0 0 0 Oct 12 2012 sketchup-stl/
-rwxrwxrwx 0 0 0 6417 Oct 12 2012 sketchup-stl/jf_stl_importer.rb
-rwxrwxrwx 0 0 0 205 Oct 12 2012 sketchup-stl/loader.rb
-rwxrwxrwx 0 0 0 10044 Oct 12 2012 sketchup-stl/skp_to_dxf.rb
which does not match what's in src
Also, the error message from SketchUp is
Error Loading File /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/sketchup-stl/skp_to_dxf.rb wrong number of arguments (2 for 1)
Error Loading File /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/sketchup-stl/loader.rb wrong number of arguments (2 for 1)
Error Loading File sketchup-stl.rb wrong number of arguments (2 for 1)
which makes me think the API or interface may have changed since you've built a new version of the rbz package.
I don't know if the rbz works for newer versions of Sketchup but it might be worth a look.
I'm running SketchUp 8 on an older Mac that's hasn't gotten to Mountain Lion (still running 10.6.8).
On the flipside, thanks for writing the plugin. I was happy to, at least, get an STL file from SketchUp.
I recently tried to install the stl plugin on Google Sketchup 8. The rbz on Github looks pretty different from the stuff under
/src
. I had some success by just cloning the repo and putting the src/ files under/Library/Application Support/Google SketchUp 8/SketchUp/plugins
.if i look at the files in the .rbz
which does not match what's in
src
Also, the error message from SketchUp is
which makes me think the API or interface may have changed since you've built a new version of the rbz package.
I don't know if the rbz works for newer versions of Sketchup but it might be worth a look.
I'm running SketchUp 8 on an older Mac that's hasn't gotten to Mountain Lion (still running 10.6.8).
On the flipside, thanks for writing the plugin. I was happy to, at least, get an STL file from SketchUp.
Cheers.