Scaling Down an imported SVG

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
comeinandburn
Posts: 12
Joined: Thu Jan 05, 2017 6:03 pm

Scaling Down an imported SVG

Post by comeinandburn »

HI,

This may be an extremely silly question, but when I attempt to scale down an imported SVG it seems to be able to scale up but not down. Is there something I'm doing wrong?

I'm creating text in Inkscape then converting it to a path, importing into FreeCAD, and upgrading it to create faces. Problem is it's way too large.

Any help would be appreciated.

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: tag: 0.16.6706
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
User avatar
Willem
Veteran
Posts: 1854
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: Scaling Down an imported SVG

Post by Willem »

Hi, when importing an SVG file made in Inkscape you have to realize that 1 px in Inkscape is imported as 1 mm in FreeCad. Scaling can easiest be done in Inkscape.

Another possibility is that in FreeCad you create clones of your faces or extrusions. Clones can be scaled to the size you want
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Scaling Down an imported SVG

Post by shoogen »

Willem wrote:when importing an SVG file made in Inkscape you have to realize that 1 px in Inkscape is imported as 1 mm in FreeCad.
I thought this was only the case for exporting. AFAIK the importer uses 90 dpi per default.
https://github.com/FreeCAD/FreeCAD/blob ... VG.py#L510
User avatar
Chris_G
Veteran
Posts: 2598
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Scaling Down an imported SVG

Post by Chris_G »

One thing to note, is that Inkscape 0.92, released last month, now has a 96 dpi scale.
comeinandburn
Posts: 12
Joined: Thu Jan 05, 2017 6:03 pm

Re: Scaling Down an imported SVG

Post by comeinandburn »

Another possibility is that in FreeCad you create clones of your faces or extrusions. Clones can be scaled to the size you want
Thanks Willem, that helps alot... this begs another question though. Is there a way to constrain the scale to all axis at the same time without adding values for each co-ordinate?
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Scaling Down an imported SVG

Post by NormandC »

Hi,

Are you aware that Image Draft ShapeString allows you to create text directly in FreeCAD?
comeinandburn
Posts: 12
Joined: Thu Jan 05, 2017 6:03 pm

Re: Scaling Down an imported SVG

Post by comeinandburn »

Thanks NormadC :) that's helpful! I've got a lot to learn.. ha ha.
Post Reply