Author Topic: Bounding Box Expanding Beyond Shape During Scaling  (Read 305 times)

0 Members and 1 Guest are viewing this topic.

ZachFey

  • Newbie
  • *
  • Posts: 2
Bounding Box Expanding Beyond Shape During Scaling
« on: September 07, 2017, 10:45:59 AM »
Hey guys,

I'm having an issue with the bounding box on a grouped shape. The grouped shape is basically a pipe made out of a rectangle with two "end caps" on either side. The end caps are locked so that they do not stretch when the overall grouped shape is lengthened. The idea I'm going for is that I can lengthen the pipe without distorting the end caps. However, when I lengthen the pipe, the shape does not lengthen along with the bounding box. This results in a bounding box that is much longer (or shorter) than the visual shape. Is there a way to prevent this? Perhaps a way to make sure the end caps are always at the outer edge of the bounding box? Or maybe an entirely different approach?

I've attached a couple of images that help illustrate what I'm describing.

I believe this happens because the bounding box expands as if the end caps are being distorted. However, since the end caps' dimensions are locked, they are not expanding at the same rate of the bounding box.

Thanks so much for your time.




Yacine

  • Hero Member
  • *****
  • Posts: 2328
Re: Bounding Box Expanding Beyond Shape During Scaling
« Reply #1 on: September 07, 2017, 11:45:57 AM »
I've written a small tool to set up the behaviour of sub-shapes.
You may have a try with your shape.
http://visguy.com/vgforum/index.php?topic=7120.0
« Last Edit: September 07, 2017, 02:15:37 PM by Yacine »
Yacine

ZachFey

  • Newbie
  • *
  • Posts: 2
Re: Bounding Box Expanding Beyond Shape During Scaling
« Reply #2 on: September 07, 2017, 03:11:28 PM »
Yacine, I was able to fix my problem after only 2 minutes of your first video. Thank you! I think I will also watch the rest to learn how to use the tool as it seems very useful. Thanks again!