Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

I cannot find the option for choosing the decimal precision. In Inkscape, you could set the amount of significant digits to 5, for intance, this resulted in the shapes' coordinates looking like this:

5 significant digits:

1.2345
12.345
123.45
1234.5

3 significant digits:
1.23
12.3
123

My whole web application is based around SVG (dragging around on a big SVG map,) so it will probably see a size reduction of at least 25% solely from dropping the three decimals in all coordinate numbers

 

I know you can just do a regex find in an editor and search for 

\.\d\d\d

and just delete all occurrences, but that gets tedious to do manually every time I want to export svg

Link to comment
Share on other sites

Is this purely for Affinity Designer and any precision does not transfer with the file to any exported format?

2130516934_ScreenShot2018-08-28at10_33_05.png.1afaabc60d318d79dd29dc72507ae9ea.png

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

3 hours ago, firstdefence said:

Is this purely for Affinity Designer and any precision does not transfer with the file to any exported format?

As I understand it, "Decimal Places for Unit Types" (in both apps) applies only to the display of each unit type in the UI, but internally everything is always done at the maximum precision of the app, which (because internally it is binary rather than decimal based) is somewhat greater than 6 decimal places.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.