Closed DanRathbun closed 2 years ago
Exporter::svg_path() reported to not be closing paths. - "exporter.rb", line 151
Exporter::svg_path()
REF: https://forums.sketchup.com/t/eneroth-svg-exporter/174017
I think that (contrary to what the OP said in post 3 of your forum topic,) line 169 should remain as is.
169
Line 155 should become ...
155
end.join(" ") << " Z"
... so that each loop tells the SVG path to close as it is processing faces (which are a set of closed edges.)
Then d_inner should begin with a space if there are inner loops, so line 165 should insert a leading space like:
d_inner
165
d_inner[0] = " M"
And again, each inner loop should close it's corresponding SVG path, so line 164 should be:
164
Fixed. Awaiting EW review now.
Thanks for logging.
Exporter::svg_path()
reported to not be closing paths. - "exporter.rb", line 151REF: https://forums.sketchup.com/t/eneroth-svg-exporter/174017
I think that (contrary to what the OP said in post 3 of your forum topic,) line
169
should remain as is.Line
155
should become ...... so that each loop tells the SVG path to close as it is processing faces (which are a set of closed edges.)
Then
d_inner
should begin with a space if there are inner loops, so line165
should insert a leading space like:And again, each inner loop should close it's corresponding SVG path, so line
164
should be: