I’m trying to create a simple multi-tiered planter in OpenSCAD, export it in SVG format, and import it into Carbide Create. When I do, the square shapes are turned into circles.
I’ll put a bug report into our bug tracker and hopefully we’ll fix this (ideally by recognizing the squares as squares w/ chamfers and replacing them with geometry with that feature enabled).
When you load the SVG into Carbide Create, it turns the octagons into circles. Here’s an affected SVG, which for some reason is being shown as absolutely tiny by the forums…
My workaround was to open one side of each octagon in Inkscape, import the SVG into CC, then close the curves in CC.
I have 316 and 401 installed here, and it circles the octagons in both those versions. As you can see in your screenshot, the rightmost column that is made of regular octagons is turned into circles.
Okay, being a developer, I couldn’t let you just send something without giving my best shot at getting some better test cases. So, here you go:
After playing around with the actual SVG data of a bunch of paths, I was able to replicate the “octagons become circles” glitch when the first and last points of the path’s d attribute were aligned to a horizontal line. In the attached file, I made sure there are no transform attributes in play, as those can obscure the effect. I have included each path twice, once with the final ‘z’ of the path data removed to show where the first and last points sit.
And just a bit more data… I can’t make polygons with 6, 10, or 14 sides turn into circles. On the other hand, 8-, 12-, and 16-sided polygons with the ends in a horizontal line turn into circles. I’m attaching another SVG and CC401 screen crop.
So, being divisible by four seems to be relevant, as does the location of the ends of the path that are connected by the ‘z’ (“and back to the beginning”) command in the path’s d attribute, although that doesn’t appear to be a requirement (given the attached screenshot in which all the octagons went circle).