Jump to content
Our response time is longer than usual currently. We're working to answer users as quickly as possible and thank you for your continued patience.

Expressions and using Power Duplicate


Recommended Posts

Can someone help me out here? I create a circle (10px by 10px) with a thickness of 2, CTRL+J to copy, go into the Transform box and type +8 in the W: and H: section. So I now have my duplicate circle (increased 8 pixels both in the width and height). OK, so all I want to do now is to power duplicate and keep pressing CTRL+J however many times I want to make these circles, each one 8 pixels larger than the previous. Isn't the expression of +8 in both the W and H correct?
I'm not getting each circle +8 pixels larger than the last. 

ad04.PNG

ad03.PNG

ad02.PNG

ad01.PNG

Link to comment
Share on other sites

The duplication is 180% not 8 pixels. I don't think that we can specify a fixed unit increase/decrease. When you think about decreasing the size this using the times/percent instead of a fixed unit of measure makes sense. Start with a ten pixel diameter circle and decrease it by 8 pixels and repeat, what does a negative 6 pixel wide object look like?

Mac Pro (Late 2013) Mac OS 11.7.1 
Affinity Designer 2.0.0 | Affinity Photo 2.0.0 | Affinity Publisher 2.0.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

1 minute ago, Old Bruce said:

what does a negative 6 pixel wide object look like?

The same as a positive 6 px wide object, but flipped horizontally?

Alfred spacer.png
Affinity Designer/Photo/Publisher for Windows 1.10 • Windows 10 Home/Pro
Affinity Photo for iPad 1.10 • Designer for iPad 1.10 • iPadOS 15.6.1 (iPad Air 2)

Link to comment
Share on other sites

Power Duplicate scales by the ratio of the first duplicate's size to the original object's size. It has no knowledge of how the duplicate's size came to be.

Currently, there is no tool for repeatedly duplicating with application of an expression such as "w += 8; h += 8" which would increment the width by 8 and height by 8 for each iteration, but it has been requested.

Link to comment
Share on other sites

1 minute ago, Kiarian said:

Ahh, I was typing a combination of either just 8, or 8px to see if I could specify a unit.

You can specify a unit if you want to, but it won’t help! Entering +6pt when your document units are pixels will give you the same result as entering +8px (i.e. it will still end up being treated as if you’d specified a scaling amount).

Alfred spacer.png
Affinity Designer/Photo/Publisher for Windows 1.10 • Windows 10 Home/Pro
Affinity Photo for iPad 1.10 • Designer for iPad 1.10 • iPadOS 15.6.1 (iPad Air 2)

Link to comment
Share on other sites

  • 8 months later...
1 hour ago, gary danang said:

So I am trying to replicate lines at 4mm intervals.. but every duplication results in a slight large increment - surely this is a bug. ?  

I don't think it has been logged as a bug but currently "By design". There may be an improvement request in the pipeline somewhere.

For now, you can power duplicate your lines at any interval then use the Distribute option in the Alignment button pop-up to space them at exactly 4mm intervals

Link to comment
Share on other sites

11 hours ago, gary danang said:

So I am trying to replicate lines at 4mm intervals.. but every duplication results in a slight large increment

Example? I have no problem with that.
image.png.2c55773a8a79446044e467200ca63e78.png

Affinity Store: Affinity Suite (ADe, APh, APu) 1.10.5.1342, 2.0.0.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 22H2, Build 22621.819.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 10 Pro, Version 21H1, Build 19043.2130.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

We have to be careful with the duplicate then Move and or Rotate (whatever). If I inadvertently reselect the duplicated object then the duplicate command will just place the third in the same spot as the second, not move/rotate it.

Mac Pro (Late 2013) Mac OS 11.7.1 
Affinity Designer 2.0.0 | Affinity Photo 2.0.0 | Affinity Publisher 2.0.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

3 hours ago, Pšenda said:

Example? I have no problem with that.

Same here on a Mac. The 21 lines in power dup.afdesign were made using power duplicate. Only after doing that did I set a 4 x 4 mm  grid & then snap the lines to the grid to show that the spacing was uniform.

Affinity Photo 1.10.5, Affinity Designer 1.10.5, Affinity Publisher 1.10.5;  2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.5.280 & Affinity Designer 1.10.5 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...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.