Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

svg to sketch implementation

pager48pager48 Member Posts: 6 EDU
Autocad DWG and DXF are very restrictive it would be ideal to permit users to import SVG directly as a sketch such as the Autocad formats currently are. SVG should not be resized and be kept the original size it was exported, currently Onshape has very poor SVG implementation as it entirely resizes imported SVG drawings on import to a sketch.

Comments

  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,285
    edited May 29
    @pager48

    SVG does not really have any inherent "size".  Any sizes available in an SVG file are measured in pixels, not inches or millimeters.  The point of the SVG format is that it is a vector image which can be displayed faithfully at any size, it is not a raster image like a JPG or a PNG.  Even with the information about the default pixel size of the SVG, the Onshape workspace is in real world length units.  There is no great way to convert pixels to inches, it will always have to be a guess.

    If you know how large you want the SVG to be after importing, you can add a dimension across its width or height to specify the amount of space it should occupy.

    What program are you exporting from?
    Jake Rosenfeld - Modeling Team
Sign In or Register to comment.