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
247 stars 68 forks source link

Use outside Sketchup #175

Open kalvarez2 opened 6 years ago

kalvarez2 commented 6 years ago

Hi, Is there any way to use the script directly? If I have an STL file, from Thingiverse and want to modify it for my needs, the Sketchup online app does not let me import stl files, if I can convert to .skp I can open it.

thanks

Scott216 commented 6 years ago

I don't know about the SketchUp online app (I didn't even know there was one), but for the regular Sketchup program, I've used this plug-in: https://github.com/SketchUp/sketchup-stl

Aerilius commented 6 years ago

This project is an STL importer/exporter to be plugged into SketchUp, not a stand-alone "converter". It requires the SketchUp API to work, which is unfortunately not available as a stand-alone ruby gem. Unfortunately the only way to produce SKP files from STL is to use the SketchUp desktop app (which foild the web-app's beautiful advantage of platform-independence).

thomthom commented 6 years ago

As of SketchUp 2018 a STL importer/exporter is shipped with SketchUp. No need for an extension.

If I have an STL file, from Thingiverse and want to modify it for my needs, the Sketchup online app does not let me import stl files,

STL export is in the web version. I'd expect STL import to come soon.

Meanwhile you could try to download the old SketchUp 2017 Make and install this extension to do the conversion for you.

but for the regular Sketchup program, I've used this plug-in: https://github.com/SketchUp/sketchup-stl This repository is the sourcecode for that extension.

kalvarez2 commented 6 years ago

thanks! I will keep waiting for the web version to get an stl import... I run on *nix and the desktop app is not an option... I am not very proficient in Ruby, but will take a look a the open issues in case I can help any... thanks again!