iskwmsy / svg2step

convert svg from clipboard to .step
Other
28 stars 1 forks source link

aspect ratio #3

Open mybigman opened 8 months ago

mybigman commented 8 months ago

The converted result shows aspect ratio problem.

CleanShot 2024-03-07 at 13 16 02@2x

CleanShot 2024-03-07 at 13 17 26@2x

text.svg.zip

iskwmsy commented 8 months ago

Thank you for reporting the issue. In your svg file, there are g transform="matrix()" several times and this was causing the issue. Can you tell me the software you are using to create the svg? I pasted your svg to adobe illustrator, and then pasted it back to svg2step. This removes the matrix function and makes the svg data simple.

I attached the converted step file. download-2.step.zip

mybigman commented 8 months ago

I am using Affinity Designer - https://affinity.serif.com/en-us/designer/