marvingreenberg / FaceSVG

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

Plugin emits Sketchup polygons as circles #18

Closed marvingreenberg closed 6 years ago

marvingreenberg commented 6 years ago

Because Sketchup models polygons as "coarse" circles, the plugin treats them as circular arcs and emits a circular profile for them. This is clearly broken. Hopefully, some metadata is available to differentiate between the actual circle case, and polygons.

A workaround exists: simply select the polygon edge(s) in the layed-out SVG in the Skecthup model, and right-click "Explode Curve" This converts the "circular" path into a series of line segments, which the plugin will then correctly emit into SVG. A rough video showing this is at https://youtu.be/NItjDRbPNLI

marvingreenberg commented 6 years ago

This is fixed by https://github.com/marvingreenberg/FaceSVG/commit/99fa19a6 which is released with https://github.com/marvingreenberg/FaceSVG/releases/tag/2.2.1