News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Bounding Box Expanding Beyond Shape During Scaling

Started by ZachFey, September 07, 2017, 03:45:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZachFey

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

#1
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
Yacine

ZachFey

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!

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 180 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1052KB.
Tokens: post-login.
Cache hits: 13: 0.00138s for 26,764 bytes (show)
Cache misses: 2: (show)
Queries used: 15.

[Show Queries]