Open marvingreenberg opened 6 years ago
Also, although this seems notionally similar to issue #5, the SVG generated in that issue WERE verified to be exactly correct, and the only problem seemed to be an expectation about how some other tool displayed SVG arcs when editing.
Hi, I can confirm, that I have the same issue.
Check my issue https://github.com/marvingreenberg/FaceSVG/issues/22
Hi, I read through the issue list and found this thread here to be the most fitting, not to open a new one. I also read through issue #5 before posting this. If I create any object with SketchUP and export through your extension there there is a chance the circles are elliptical. I opened the SVG files in TextEDIT and verified that values behind A are matching, therefore it should be circle:
for example: A 0.2500 0.2500 270.0000 (the orientation obviously should not matter for a circle)
if I open this file in either, browser, InkScape or load it onto my SO it appears elliptical, tips at 12 and 6 o'clock (I will attach the files, also if I cut it the cut out is elliptical (forgot to take a picture))
Weirdly not all circles have this behavior. It seems arbitrary.
As the SVG seems to be correct, might this be an issue with SO instead? Is something its the export file wrong?
thanks in advance Christian
Edit: This seems to better fit issue #22 on second look
This issue seems to still exist with the latest refactoring, which did fix some different issues with circular arcs in some cases.
Working with a model with an exterior circle with some interior cut paths, the resultant part cut from the generated SVG seemed to not be perfectly circular after the profile was cut. It is not clear if this was an issue of the tape setup or if the generated SVG has issues. Verify the generated SVG via, you know, math. A cursory examination shows the arcs reporting the correct radius, but the arc start/end points are not at 0/180 degrees.
Related, there does seem to be an issue for the calculated width and height for the resultant layout that clips the SVG extent.
This issue seemed to result from a drawn circle, that was then intersected with construction lines (not guides) that were then deleted, causing Sketchup to regenerate portions of the circular arc.