Hi all!
I came out with a problem in the last days, which I wasn't able to solve at all.
It's about the creation of a dynamic block of a door, which feautures stretch, move, polar stretch and rotate commands. I reviewed, with great benefit, already hundrends of blogs, but this problem has a different issue which I hadn't found discussed yet.
The main problem I am experiencing is how to keep the door tag horizontally, while rotating the door (problem which I solved), meanwhile (the Tag) it must stay fixed in the middle of the opening, even when I am scaling the door (problem which I haven't solved).
I am attaching three blocks:
1) DOORTAG_0 is the main file I created with all the feautures I would like to keep for the door (it lacks, basically only of the possibility to be rotated)
2) DOORTAG_1 is a first attempt about how to solve the problem (it is possible to rotate the door keeping the text horizontally but impossible to keep it in the center when scaling)
3) DOORTAG_2 a second attempt which I solved with polar stretch. However this structure of commands doesn't allow me to properly scale the door.
If someone could check this issue, or have a look at my file, it would be so much appreciated, and surely of great help.
Thousands thanks in advance,
Andrea.
Solved! Go to Solution.
Solved by Libbya. Go to Solution.
Solved by Libbya. Go to Solution.
You should try to fix this issue following these steps:
Please see the attached result.
This workaround allows to rotate and stretch the door while keeping the Door Tag centered and horizontal.
Thanks a lot @fatal.error ! 🙂
The file that you sent me was very helpful and clarify more my ideas. It was indeed of great support.
However, you might have noticed that the flipping option, when combined with the stretching and rotating, where providing some unexpected results. Do you have any ideas about how to solve it?
I'll keep on working on it, and let you know whether I'll figure out a solution.
Thanks again!
I am amazed! Infinite thanks @Libbya ! 🙂 I couldn't hope anything more than this.
I carefully followed your tutorial and it was indeed so much helpful and a great source of knowledge too.
I believe this the best result I could achieve.
I allow myself to ask you still a small note about the final result: did you notice that the the basepoint and the rotation grip are slightly moving out of their "correct place", once the door has been scaled in its length?
I believe that it is because the last "scale" parameter action (which I guess control the dimension of the circle to be correspondent to the width of the opening) affects also the position of the grip point in a non-linear way.
I tried some modification but I hadn't achieve any good results yet.
If you might have some idea, let me know!
And thanks again!!
Forgot to test the flip states. Hope the attached version solved the issue.
Btw, I guess that adding an independent grip point and rotation paramater to the Tag, unrelated to door's rotation, would be a cleaner and more versatile approach.
The issue is that the parameter that is associated with the scale action is not the same as the diameter of the rotate parameter. Here's a solution:
That looks great @fatal.error !
Thanks again for your support.
Your block is very versatile and useful. I'll just try to make an only modification in order to set the center of rotation in the lower left corner of the door jamb, and the rotation grip on the lower corner f the right jamb.