marvingreenberg / FaceSVG

SVG Export from Sketchup 3D modeling tool
MIT License
49 stars 3 forks source link

WriteSVG Error Generated #42

Open WantokMasali opened 1 year ago

WantokMasali commented 1 year ago

Here is a link to the sketch file: https://drive.google.com/file/d/1M8PdIrGMSY66UUTEz5I7W3mwUI7q4XwE/view?usp=sharing the error seems at least to be with Component #4. I have tried a number of different steps but nothing seems to resolve the error.

When writing the SVG profile this error is produced:

no implicit conversion from nil to integer /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/svg_util.rb:110:in slice!' */Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/svg_util.rb:110:inextract_curve_or_edge' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/svg_util.rb:145:in `ordered_su_parts' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/svg_util.rb:159:in each' */Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/svg_util.rb:159:into_a' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/svg_util.rb:159:in `block in get_svgdata_and_bounds' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/svg_util.rb:158:in map' */Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/svg_util.rb:158:inget_svgdata_and_bounds' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/layout.rb:59:in `block (2 levels) in makecanvas' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/layout.rb:58:in each' */Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/layout.rb:58:inblock in makecanvas' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/layout.rb:53:in `each' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/layout.rb:53:in makecanvas' */Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/layout.rb:81:inblock in write' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/layout.rb:80:in `open' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/layout.rb:80:in write' */Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/main.rb:86:inblock in facesvg_write' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/su_util.rb:46:in `su_operation' /Users/stevennichols/Library/Application Support/SketchUp 2022/SketchUp/Plugins/facesvg/main.rb:86:in `facesvg_write' */Users/stevennichols/Library/Application Support/SketchUp 2022/