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

Undefined method error when importing STL file created in IES:VE #94

Closed ghost closed 11 years ago

ghost commented 11 years ago

Trying to import an STL file generated by IES:VE (building energy simulation tool), I'm getting the error message "Exception: undefined method 'captures' for nil:NilClass". I'm using SketchUp 8 but also get the same error message in SketchUp Pro 7.

thomthom commented 11 years ago

What version do you have?

Where did you download it?

Does it happen on all models?

Do you have a sample mode?

ghost commented 11 years ago

stlu4sb.rb is the file name - can't see a version number

From SourceForge http://sourceforge.net/projects/stl4su/files/latest/download?source=files

I only have one model to try it out on so I couldn't say

ghost commented 11 years ago

I think I've solved this by following the instructions on this page rather than the ones on the SourceForge which is where I found the plugin originally. I've now installed 2.0.3.1 and it seems to be working ok.

thomthom commented 11 years ago

hmm... that is not the same plugin as this project. It's also a DMG download - which sounds suspicious to me. Did you virus scan it?

ghost commented 11 years ago

I looked at the ruby code and it looks pretty innocuous. I didn't run a virus checker on it at the time but I've just run it through Avast which gave it a clean bill of health.

On 1 October 2013 20:04, Thomas Thomassen notifications@github.com wrote:

hmm... that is not the same plugin as this project. It's also a DMG download - which sounds suspicious to me. Did you virus scan it?

— Reply to this email directly or view it on GitHubhttps://github.com/SketchUp/sketchup-stl/issues/94#issuecomment-25478302 .

ChrisFullmer commented 11 years ago

IES is a SU friendly developer. I think they've taken this .stl importer and included it in their code. They host their official released version of their plugin on the SketchUp Extension Warehouse: http://extensions.sketchup.com/en/content/iesve-plug-sketchup-0

Scott216 commented 11 years ago

I see there has been a lot of activity on this plug-in recently. It's a great plug-in and I use it a lot with my Replicator 2 3D printer. The generated STLs sometimes have errors that I have to fix using Netfabb STL checker (http://cloud.netfabb.com/). Are you planning on improving the STL export accuracy? Do you want some example if files that have problems?

thomthom commented 11 years ago

File a new issue for STL files that fail to import as a new issue and we'll look into it.

jimfoltz commented 11 years ago

Scott is saying there are problems in exported files. We need the SketchUp model if there is a problem in the exporter.