Double door rotation and stretch problem

Double door rotation and stretch problem

mesures
Participant Participant
478 Views
3 Replies
Message 1 of 4

Double door rotation and stretch problem

mesures
Participant
Participant

Hi everybody,

 

I am looking to make a dynamic block of a double door.


The problem is, when I try to adjust the dimension of the two doors, with a rotation or a scaling, it is making weird things.


I tried to browse the forum and I came across this post, but I was unable to reproduce it on the simple case of the attached block (block that I simplified extremely to understand what happens).


Could you tell me how to make a functional block, so that it doesn’t do anything weird during a rotation or during a flip ?


Thank you in advance!

0 Likes
479 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

I re-did your double door block, using parametric constraints.

Rotation action now works correctly

One problem I found was your polyline the full width of the door had 1 or more "overlapped vertices"- that's why it didn't stay "straight".

Here's how it works-

set the full width

set the width of the left-hand leaf, and the right-hand leaf will automatically re-size to fit (to allow for 60/40 split or other custom pairing)

the leaves are end-point-constrained to the "main line" and the arcs

the swing-arcs are tangent constrained to each other, and size-and-center point-constrained in relation to the polylines for the door leaves.

Let us know if this points you in the right direction....

See >here< for more information on parametric and geometric constraints in blocks

 

 

0 Likes
Message 3 of 4

mesures
Participant
Participant

Hi @Anonymous,

 

Thank you for your post and the time spend to answer.

 

I having testing your block, but it still does weird things.


When you start by adjusting the dimension of the left-hand leaf, the right-hand leaf describes a circle (as you can see on the screenshot attached).


Also, the adjustment of the left-hand leaf should be on the same main line as the full width.

 

In addition, when adjusting the full width, the tangent point between the swing-arcs should also move (half the move of the the full width move).

 

I already tried to use parametric constraints, but I never managed to make them work as I wanted...

0 Likes
Message 4 of 4

Anonymous
Not applicable

I see what you mean. The odd part is that it works fine (at least for me) in test block mode in block editor. Outside of block editor, sometimes works, sometimes fails. I only tested in test block mode, sorry. I will have to say I am out.

0 Likes