Author Topic: How to protect aspect ratio in a group with 1-D and 2-D members  (Read 5095 times)

0 Members and 1 Guest are viewing this topic.

novski

  • Full Member
  • ***
  • Posts: 182
Hi
I have a question regarding the Aspect Ratio of a 1-D and 2-D shape.
Im able to generate a group of shapes that resize proportionaly.
But as soon as i change a member of the group to 1-D that shape does not resize proportionaly.
I made a sample file with a comment how to replicate...
why does it not resize proportionaly?
even if the protection Aspect ratio is checked...
Regards, Novski

Yacine

  • Hero Member
  • *****
  • Posts: 3208
Re: How to protect aspect ratio in a group with 1-D and 2-D members
« Reply #1 on: March 15, 2016, 01:40:13 PM »
Hi Novski,
I don't know the answer to your question and am honestly too lazy to investigate the issue, but it made me think of a small handy tool that would allow for setting up the resizing behaviour of the child shapes.
Let me know your thoughts.
Cheers,
Y.
Yacine

novski

  • Full Member
  • ***
  • Posts: 182
Re: How to protect aspect ratio in a group with 1-D and 2-D members
« Reply #2 on: March 16, 2016, 02:34:02 AM »
Hi Yacine
That tool looks quite handy. That tool cold help a lot.
Im wondering about the Parent seting. I am not aware of a cell that defines the parent i also don't know how to set a parent shape in a Group.
Is it possible to set a parent shape in the group-shapesheet or where can i set a specific shape to become parent of the group?
Regards, Novski

novski

  • Full Member
  • ***
  • Posts: 182
Re: How to protect aspect ratio in a group with 1-D and 2-D members
« Reply #3 on: March 16, 2016, 08:18:39 AM »
Hi
I have a question regarding the Aspect Ratio of a 1-D and 2-D shape.
Im able to generate a group of shapes that resize proportionaly.
But as soon as i change a member of the group to 1-D that shape does not resize proportionaly.
I made a sample file with a comment how to replicate...
why does it not resize proportionaly?
even if the protection Aspect ratio is checked...
Regards, Novski

I figured out a workaround to make a shape resize in same ratio.

open shape sheet.
Go to the cell "Height" in the top of the sheet and give it a fourmula like that: =GUARD(Width*57/36) or your ratio in form of a fraction like mine where i wrote "57/36"
This fraction can be the Height/Width numbers copy pasted from the size and position window.
For a Rack Unit (RU & HE) its =GUARD(((Width/19)*1.75)*3) where "3" is the Height in RU / HE.
Then it resizes like a protection of Aspect ratio.
Regards, Novski
« Last Edit: March 16, 2016, 09:12:00 AM by novski »

Yacine

  • Hero Member
  • *****
  • Posts: 3208
Re: How to protect aspect ratio in a group with 1-D and 2-D members
« Reply #4 on: March 18, 2016, 08:39:23 AM »
Hi Novski,
I worked out the tool, but put it in a separate post, as I thought it could stand for its own: https://youtu.be/JkwpbHr1vOw.
Cheers,
Y.
Yacine

novski

  • Full Member
  • ***
  • Posts: 182
Re: How to protect aspect ratio in a group with 1-D and 2-D members
« Reply #5 on: May 19, 2016, 10:00:05 AM »
looks like a usefull tool. Do yu give that away?
Regards, Novski

Yacine

  • Hero Member
  • *****
  • Posts: 3208
Re: How to protect aspect ratio in a group with 1-D and 2-D members
« Reply #6 on: May 19, 2016, 11:41:23 PM »
I understand that every thing published here is open source. isn't it?
But I see that I forgot to send the link: http://visguy.com/vgforum/index.php?topic=7120.msg29936#msg29936
Yacine