X-Raym Posted May 8, 2020 Share Posted May 8, 2020 Hi ! Beginner question With transform tool we can make items close to each other by reducing scale. But can we do that while preserving item size, so only space between them is scale ? In other words, how to set item closes to each others ? Thx ! EDIT: Screenshots in this post: Quote Link to comment Share on other sites More sharing options...
Alfred Posted May 8, 2020 Share Posted May 8, 2020 I don’t think there’s an automatic way to do this, and I can’t see how the app would be able to determine which objects to move in the general case where they aren’t laid out evenly in rows and columns. Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen) Link to comment Share on other sites More sharing options...
X-Raym Posted May 8, 2020 Author Share Posted May 8, 2020 (edited) @Alfred Actually the math involved would be quite simple : change anchoir point positions (like with scaling) and set shape position to these new anchor points positions. It is really like the scale selection feature but preserving object size. Extra basic. Edited May 8, 2020 by X-Raym more clear Alfred 1 Quote Link to comment Share on other sites More sharing options...
X-Raym Posted May 8, 2020 Author Share Posted May 8, 2020 Maybe I don't get the title right. It could be "compress/scale space between objects". or "Scale tool only for pos, not for width and height" etc... I don't find any way to do this. Quote Link to comment Share on other sites More sharing options...
GarryP Posted May 8, 2020 Share Posted May 8, 2020 Can’t you just move the items closer to each other? Or am I missing something? Quote Link to comment Share on other sites More sharing options...
X-Raym Posted May 8, 2020 Author Share Posted May 8, 2020 @GarryP Maybe I miss an obvious way to move without scaling a lots of items toward a center point. Am I correct to assume you speak about the regular way of moving object (click select a object, move it a bit, click select another, move it a bit in opposite direction ?) If yes in this case, consider the case where there would be 100 scattered items (like 100 random circle on a canvas), to compress (only spaces) on X and Y axis. Maybe you want a demo screenshot of what I need ? Quote Link to comment Share on other sites More sharing options...
GarryP Posted May 8, 2020 Share Posted May 8, 2020 Yeah, if you can show us what you have then that should help, but now that you mention lots of objects – which you didn’t mention earlier – I have a feeling that you won’t be able to automatically do what you want. Might have found an answer below. Quote Link to comment Share on other sites More sharing options...
GarryP Posted May 8, 2020 Share Posted May 8, 2020 Oh, actually, I think you can do something which might be near to what you might want to do.Group the objects, then select all the objects in the Group and open the Constraints Panel. In the Constraints Panel click on the left-right and up-down arrows. Then select the group and resize it. See attached video. 2020-05-08 13-24-43.mp4 X-Raym and Uwe-R-aus-B 2 Quote Link to comment Share on other sites More sharing options...
Gear maker Posted May 8, 2020 Share Posted May 8, 2020 X-Raym, do you mean something like this: Moving.mov Quote iMac (27-inch, Late 2009) with macOS Sierra Link to comment Share on other sites More sharing options...
thomaso Posted May 8, 2020 Share Posted May 8, 2020 If I understand right you want to scale the distance between objects without changing their size? in this case Alignment options might do it as wanted, for any number of selected items. Uwe-R-aus-B 1 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
X-Raym Posted May 8, 2020 Author Share Posted May 8, 2020 @GarryP Oh ! Your example is very interesting I didn't knew about constrain feature. But I'm surprise, cause at the end of your screenshots, some shares are truncated at group border, how come ? @Gear maker This would have worked if spacing could be expressed in percentage... This only output fixed value. Thanks guys for your help Quote Link to comment Share on other sites More sharing options...
GarryP Posted May 8, 2020 Share Posted May 8, 2020 It is something to do with the way layers are constrained. If you put the shapes in a larger layer – such as a rectangle with no stroke or fill – that might be better. Quote Link to comment Share on other sites More sharing options...
X-Raym Posted May 8, 2020 Author Share Posted May 8, 2020 Quote If you put the shapes in a larger layer – such as a rectangle with no stroke or fill – that might be better. @GarryP It's a bit weird, the group layer size seems to adjusted to what was the width of the future group before it's creation : if I resize the rectangle after group creation, Group width and Height will still be equal to what the rectangle was before. I guess with few adjustment we might get close to what I need, but these workaround (having to set constrain individually on each objects, having to have them in a group) is a bit more complex that simply using a tool like transform tool. I think a Feature request will be very welcome And your screenshots will deeply help to explain what it is all about. How shall we call such feature request ? Maybe "Spread" object positions ? Multiply ? Not sure what keywords would be the most relevant (obviously my thread title was a bit off). Quote Link to comment Share on other sites More sharing options...
GarryP Posted May 8, 2020 Share Posted May 8, 2020 I’m not sure if the Constraints are supposed to do what you want to do so they could well be working as expected and it’s possible that the technique I showed you isn’t right for what you want. I think we should see if someone can come up with a solution before you create a feature request. Can you give us an idea of what you are working with? Quote Link to comment Share on other sites More sharing options...
X-Raym Posted May 8, 2020 Author Share Posted May 8, 2020 @GarryP You are right Constraints is not the right tool, but your clearly understand the request : having shapes, compressed or expand them on some axis like with Transformation tool, but without altering scale (just changing anchor points). This could be useful in a lots of situation really. Compress the space between two eyes objects on a character face while being sure they are well spaced according the middle symmetry axes (Align tool doesn(t work here because it spread from the object on the left, not from center of selection), or spacing planets and stars vector elements (the Align tool will be not useful here cause it has only fixed value). etc... I can really see myself using that a lot. Just like the scale tool. The most handy workarround so far is to select items note one object width as ref, scale with transformation tool, then set transformation to object independently, enter the initial value in width It works but it doesn't have the benefit of live preview like Transformation tool. Here is a demo: https://monosnap.com/file/tP4wN2lgvVlhhkEiqqhLCR9l4kN5oy (not sure how to embed photo on the forum, so here is final screenshot results, before and after: Having a Transformation tool option just for that would make it work like a breathe. Quote Link to comment Share on other sites More sharing options...
X-Raym Posted May 8, 2020 Author Share Posted May 8, 2020 (edited) @GarryP I just rename the thread to something more explicit "Q: Compress or Expand selected objects positions ?". Edited May 8, 2020 by X-Raym change title GarryP 1 Quote Link to comment Share on other sites More sharing options...
X-Raym Posted May 9, 2020 Author Share Posted May 9, 2020 @GarryP Hi Do you think my screenshots are explanatory enough to open a vamid feature request ? Quote Link to comment Share on other sites More sharing options...
GarryP Posted May 9, 2020 Share Posted May 9, 2020 I think so (given the discussion etc. in this thread), but the developers might have way more questions than me. X-Raym 1 Quote Link to comment Share on other sites More sharing options...
thomaso Posted May 9, 2020 Share Posted May 9, 2020 22 hours ago, X-Raym said: (not sure how to embed photo on the forum, so here is final screenshot results, before and after In your new feature request you can upload your video directly (instead of linked) with a click on "Drag files here to attach, or choose files..." below your editor area. Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
X-Raym Posted May 9, 2020 Author Share Posted May 9, 2020 I just open the FR : I hope it sum up this case well and will get a bit of attraction. Thanks for your support ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.