Rotate an object when height changes?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-25 11:33 AM
‎2017-07-25
11:33 AM
I ideally want to rotate the middle part of the object when the object height changes so it moves with the object. First of all, is it even possible to be accurate with it? Secondly, has anyone had any experience with this type of object transformation? Lastly, if you do know how to make this work, then how? Obviously it would involve being able to rotate the object around a precise point and then work out the ratio of height to rotation. Any other information would be excellent.
Thanks very much!
ArchiCAD 23
Windows 10
Windows 10
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-25 01:30 PM
‎2017-07-25
01:30 PM
Assuming the arm that is moving has a fixed radius, this will help you with plotting out the coordinates.
Starting from the horizontal of your triangle, the x,y coords (looking at it in 2d plane) are
x = radius*COS(angle)
y = radius*SIN(angle)
so if you want to stretch Y, you need to make a stretchy hotspot that changes the angle.
Just a quick thought process thrown in a comment, hope it helps a bit.
Remember if you are doing any rotation from certain points to 'move' your origin in the 3D script there.
Starting from the horizontal of your triangle, the x,y coords (looking at it in 2d plane) are
x = radius*COS(angle)
y = radius*SIN(angle)
so if you want to stretch Y, you need to make a stretchy hotspot that changes the angle.
Just a quick thought process thrown in a comment, hope it helps a bit.
Remember if you are doing any rotation from certain points to 'move' your origin in the 3D script there.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5