Dynamic block stretch/angle constrain

Dynamic block stretch/angle constrain

leticia.campanelli
Advocate Advocate
320 Views
4 Replies
Message 1 of 5

Dynamic block stretch/angle constrain

leticia.campanelli
Advocate
Advocate

Hi there,

 

I wonder if someone can explain or show me how to create a dynamic block with two points of stretch and keep everything parallel. 

I tried a few different combinations with constraints, but nothing gave me the final result I was looking for. 

I have attached the block for reference.

The idea is to stretch the sides to different heights and keep all lines parallel.

leticiacampanelli_0-1736853960757.png

 

Any help would be appreciated.

Thanks

 

 

0 Likes
Accepted solutions (1)
321 Views
4 Replies
Replies (4)
Message 2 of 5

Brock_Olly
Collaborator
Collaborator

I think it's possible with a lot of different constraints and a lot of work, since this is quite a difficult block to make.
Your mitre angle changes which means each line has to have actions assigned to it individually.

Question is how often you're going to use this block? Isnt it better to draw your outlines first and then apply the 8 offsets needed? Maybe with a LISP routine

Brock_Olly_0-1736860024878.png

 

0 Likes
Message 3 of 5

Libbya
Mentor
Mentor

I misinterpreted your post.  Ignore this comment as I cannot delete it. 

0 Likes
Message 4 of 5

MMcCall402
Mentor
Mentor
Accepted solution

There's an old AutoCAD object that seems perfect for this. An MLine.   It's like a polyline with multiple offset lines that go with it and act as one object.  The MLine style also has the option to display the miter line at the bends.  You could then just use the MLine command to draw it directly or use it within a dynamic block and reshape it with linear parameters with stretch actions, although the Mline already has grips at its angle points you can use for reshaping it.  The yellow objects below are Mlines.

 

Commands:  MLINE, MLSTYLE

 

MMcCall402_0-1736870015549.png

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

Message 5 of 5

leticia.campanelli
Advocate
Advocate
I completely forgot about Mlines. it is perfect thanks!
0 Likes