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

Feature Request: Add basic calculation to "Transform"


Recommended Posts

Adding basic calculation to the text input fields of the "Transform" view would be very helpful for technical designs.

 

How shall the feature work:

 

GIVEN a selection (e.g.: node) that can be transformed (see 1)

WHEN adding +10 to the X text input field (see 2)

THEN calculate new X based on old X +10 (see 3)

 

This shall also work for multiply (*) and divide (/)

 

 

post-33882-0-28816000-1468574792_thumb.png

post-33882-0-61379100-1468574792_thumb.png

post-33882-0-86823900-1468574792_thumb.png

Link to comment
Share on other sites

Hi cschuller,

 

That feature already exists. See the first video, near the end of the page, under Quick Tips - "Scale Objects by a Percentage".

 

https://affinity.serif.com/en-gb/tutorials/designer/

AD 1.5.1.43   /  AP 1.5.0.45

Windows 10 Pro 64bit  -  Intel i7 6700 @ 3.4GHz  -  nVidia GTX 970 4GB  -  32" Monitor 2560x1440  -  32 GB Ram

Link to comment
Share on other sites

Your welcome. And I agree, it is a bit strange, but it works.

 

Its kind of a short cut programming language thing. If you have a variable, and want to change it you can do this:

 

x+=10

 

which means, take the value of x, add 10 to it, and make that the new value of x. In other programming languages it would be:

 

x = x + 10

AD 1.5.1.43   /  AP 1.5.0.45

Windows 10 Pro 64bit  -  Intel i7 6700 @ 3.4GHz  -  nVidia GTX 970 4GB  -  32" Monitor 2560x1440  -  32 GB Ram

Link to comment
Share on other sites

Thanks a lot for that Dave, very useful!  Will that be in the official documentation?

AD 1.5.1.43   /  AP 1.5.0.45

Windows 10 Pro 64bit  -  Intel i7 6700 @ 3.4GHz  -  nVidia GTX 970 4GB  -  32" Monitor 2560x1440  -  32 GB Ram

Link to comment
Share on other sites

  • Staff

The only short hand we allow is to use "*2" or "/2" - since this can only ever be a relative function.

As Dave says, "-10" is ambiguous, it could be intended to be relative or absolute, and so we required you to use += and -=.

SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB
Link to comment
Share on other sites

×
×
  • 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.