rysujesobie Posted December 17, 2018 Share Posted December 17, 2018 Hi, How can I make one mutual curve for 2 objects? Lets say I have 2 squares, one on top of another. Can they share the same curve, being a border for both of them? When moving it up or down can I change the size of both squares at the same time? Cheers Quote Link to comment Share on other sites More sharing options...
Gear maker Posted December 17, 2018 Share Posted December 17, 2018 rysujesobie, AD doesn't currently allow one object to have 2 different colors, except when using a gradient. So that is the way I'd attack this. Make a rectangle as big as with both squares. Then add a gradient with a sharp transition. You can use a linear gradient with 4 handles. 2 red and 2 white. Have the inside handle of each color as close together as possible. Zoom in to position them. Then to resize you'd move the internal gradient handles up or down. An easier to control gradient would be to use a conical gradient. Exports may rasterize the conical gradient so it may not work for your needs. But to resize all you have to do is drag the center handle up or down. And the color change is very sharp. Attached are examples of each. Color boxes.afdesign If you need two separate rectangles, then I'd make them separate and group them together. I'd also convert them to curves so I could use the node tool to grab the 4 nodes (bottom 2 of the top shape and the top two of the bottom shape) at the same time then holding the shift they could be drug up and down together vertically to resize. I hope that helps. Mike Alfred 1 Quote iMac (27-inch, Late 2009) with macOS Sierra Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2018 Share Posted December 17, 2018 Hello rysujesobie, If I understood your question correctly, you can enable snapping, attach the two rectangles and group them ("Ctrl/Cmd + G). If you move one side of the resulting shape, both rectangles will change size at the same size. Quote Link to comment Share on other sites More sharing options...
gdenby Posted December 17, 2018 Share Posted December 17, 2018 Hi, rysujesobie, Yet another way. Different shapes can be nested inside larger shapes as "children." If left unlocked, they will shift size, proportion and position as the parent is transformed. Quote iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb, AMD Radeon R9 M290 2048 Mb iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil Huion WH1409 tablet Link to comment Share on other sites More sharing options...
gdenby Posted December 17, 2018 Share Posted December 17, 2018 Or do you mean something more like this? Same basic method applies, but is extended by moving the boundary of the area defining the colors, not a line that has different color assignments on either side. Quote iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb, AMD Radeon R9 M290 2048 Mb iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil Huion WH1409 tablet Link to comment Share on other sites More sharing options...
R C-R Posted December 18, 2018 Share Posted December 18, 2018 10 hours ago, rysujesobie said: How can I make one mutual curve for 2 objects? First, some basics: every vector object must have one or more paths that define its extent. An object's path(s) can be stroked and/or its extent can be filled to make those object properties visible; but even if they are not the object must have at least one path to exist. For example, an open or closed curve always has one path; certain shapes like Cogs & Donuts may have two closed paths; & "Curves" composite objects created by geometric (boolean) operations like Combine and sometimes Add may have two or more closed paths. Appearances can be deceiving. In this Object examples.afdesign file, there are only 9 filled & stroked vector objects, even though it looks like there are quite a few more. So what you are asking is equivalent to asking if 2 objects can have one 'mutual' path. The answer is yes, but only for a very limited class of vector object types. Maybe more to the point, an object's extent can have only one fill color or gradient; thus the suggestions for working around that limitation. Quote All 3 1.10.8, & all 3 V23.0 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 More sharing options...
rysujesobie Posted December 18, 2018 Author Share Posted December 18, 2018 Thanks a lot for all your replies. Need some time to process it. Will be in touch. Quote Link to comment Share on other sites More sharing options...
lepr Posted December 18, 2018 Share Posted December 18, 2018 . Quote Link to comment Share on other sites More sharing options...
firstdefence Posted December 18, 2018 Share Posted December 18, 2018 34 minutes ago, >|< said: The answer is no. All nine of your examples feature a single object, anyway. The answer is no but the solution that will do as rysujesobie wants is... Create 2 squares Create a rectangle that is the size of those 2 squares Now make the squares a child of that rectangle Now adjust the height, width and rotation of the rectangle and the squares will scale with the rectangle. Squares in a rectangle.afdesign Oops just seen reglico's post which is bang on, greats minds think alike Reglico Quote 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 (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 More sharing options...
lepr Posted December 18, 2018 Share Posted December 18, 2018 . firstdefence 1 Quote Link to comment Share on other sites More sharing options...
firstdefence Posted December 18, 2018 Share Posted December 18, 2018 3 minutes ago, >|< said: Yes, there are solutions. My post was in response to R C-R's fallacy to hopefully prevent rysujesobie from being misinformed. Sometimes, we can all interpret a question differently, I've given an answer that I thought was correct or made sense, came back to the post to read replies and after reading those replies see that I read the question wrong at that point I go for plausible denial lol! lepr 1 Quote 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 (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 More sharing options...
R C-R Posted December 18, 2018 Share Posted December 18, 2018 3 minutes ago, >|< said: The answer is no. All nine of your examples feature a single object, anyway. I was trying to keep things simple for @rysujesobie but consider Compound shapes, for example like below: To the extent that the "1-(2+3)" compound is an object in its own right, it shares a mutual path with the "1" rectangle. Quote All 3 1.10.8, & all 3 V23.0 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 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.