Rotate and stretch?

Rotate and stretch?

R.Gerritsen4967
Advocate Advocate
306 Views
5 Replies
Message 1 of 6

Rotate and stretch?

R.Gerritsen4967
Advocate
Advocate

Hi,

I need some help with a dynamic block I use.

The block was made using constraints which really slows down a drawing when we use a lot of these blocks. We often have a few hundred of the in a drawing.

 

So to fix this I have been trying to convert it to a block with only parameters. But unfortunately I can't get one thing to work that seems very basic.

RGerritsen4967_0-1719304075847.png

 

What I want to achieve is that I change the angle of (one or both) the vertical lines while the vertical distance of those lines stay the same (50mm in the screenshot above)

 

I've tried some stuff with point parameters and stretch parameters, but I can't get it to work.

Attached below is the (simplified) block I have so far. This block contains a parameter as well as constraints which I understand is not ideal.

 

Can somebody point me in the right direction?

 

0 Likes
307 Views
5 Replies
Replies (5)
Message 2 of 6

h_s_walker
Mentor
Mentor

@R.Gerritsen4967 Not quite how I would like it to work, but does the attached drawing give you any pointers?

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 3 of 6

j.palmeL29YX
Mentor
Mentor

I'd do it with constraints ... 

 

[EDIT]: Oops sorry, I read to late, you don't want to use these    😞

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 4 of 6

h_s_walker
Mentor
Mentor

@R.Gerritsen4967 I've updated the block a tiny bit. Try this one

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 5 of 6

R.Gerritsen4967
Advocate
Advocate

@h_s_walker,
This looks to be what I'm after. Only thing I encounter is that the rotation angles are strange.

If I make 'Angle1' 60 degrees then it measures 63 degrees. 90 degrees is fine, 0 degrees becomes 45 degrees

Any idea why this is happening?

 

RGerritsen4967_0-1719313038367.png

 

0 Likes
Message 6 of 6

h_s_walker
Mentor
Mentor

Unfortunately I'm not very good at trigonometry. I'd have to do some more research on making it work

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud