SVG import doesn't respect width/height

I have an SVG with width, height, and viewbox attributes on the main svg element. When importing this into Rhino, the file is scaled as if 1 viewbox unit was 1 model unit, rather than being properly scaled to the width and height attributes.

In other words, if I’m working in a model that uses millimeter units, and attempt to import an SVG with <svg width=“100ft” height=“100ft” viewBox=“0 0 12 34”>, then the drawing will end up being 12x34 millimeters.

The SVG comes from KiCad, which uses its own unit system as the viewbox units, but correctly reports the overall drawing size in the width/height.

1 Like