Jump to content
drafting3

How do I stretch a rectangle evenly using only 1 point?

Recommended Posts

drafting3

Hey all,

 

I was wondering if it is possible to use dynamic blocks to stretch a rectangle evenly, using only 1 point? I have attached a PDF of a rectangle with 2 lines coming out of each side (before & after picture). I want to use dynamic blocks to pick a point at the top right of the block, so that when I pull it out, the lines will extend, but stay attached to the rectangle. I also what the rectangle to stay in the center at all times.

 

If you can understand, please help! Is this possible?

Block Stretching.pdf

Share this post


Link to post
Share on other sites
drafting3

Hi edwinprakoso,

 

Thank you but this does not work for what I want. I must have the insertion point at the bottom left corner of the entire block. Because I am using AutoCAD Lite, I am unable to use constraints of any kind. Do you know if there a way of making what I want happen?

Share this post


Link to post
Share on other sites
dbroada

expanding on what Edwin has said, you need one paraameter and MANY actions. I would have a 100% stretch on the top edge of the vertical lines and a 100% stretch on the right edge of the horizontal lines. After that I would add a 50% stretch around the box vertically and a 50% stretch around the box horizontally. As I haven't got constraints clear in my head that should give you what you want.

Share this post


Link to post
Share on other sites
ReMark

I have a parametric rectangle that can be size adjusted by stretching one corner. Is that what you are looking for?

Share this post


Link to post
Share on other sites
Dadgad
I have a parametric rectangle that can be size adjusted by stretching one corner. Is that what you are looking for?

 

That sounds like just the ticket. :beer:

Share this post


Link to post
Share on other sites
dbroada

a quick attempt at my explaination

 

Box.dwg

Share this post


Link to post
Share on other sites
drafting3

Hi dbroada,

 

I can't believe I did't think of that.. It works perfectly! I had spent hours stuffing around with the polar stretch and coming to no conclusion. I used to use a horizontal linear parameter with a pick point at the bottom right of the block, and a vertical linear parameter at the top right.. I can't believe that I didn't think of overlapping the pick points!

 

Like Homer Simpson once said: "By typing 'Y' instead of 'Yes' I've tripled my productivity!" Well sir, you have helped me double my productivity! Thank you!

Share this post


Link to post
Share on other sites
dbroada

I think it might be possible to use a point rather than 2 distances but it worked so I stopped trying.

Share this post


Link to post
Share on other sites
neophoible
Hi edwinprakoso,

 

Thank you but this does not work for what I want. I must have the insertion point at the bottom left corner of the entire block. Because I am using AutoCAD Lite, I am unable to use constraints of any kind. Do you know if there a way of making what I want happen?

So, after seeing the accepted solution, it looks to me like this reply was in error. I am missing something here?

Share this post


Link to post
Share on other sites
SLW210
So, after seeing the accepted solution, it looks to me like this reply was in error. I am missing something here?

 

The solution did not use constraints.

Share this post


Link to post
Share on other sites
neophoible
The solution did not use constraints.
OK. But it did not look to me like Edwin's solution needed them either, and Edwin only mentioned actions and parameters in his comments, not constraints.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×