We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2011-05-10 05:15 AM
2011-05-10 06:08 AM
2011-05-10 06:48 AM
2011-05-10 06:57 AM
2011-05-10 07:18 AM
2011-05-10 11:06 AM
Deviz wrote:This is easy to do with OBJECTiVE. It will both upgrade your objects with rotation properties and give you the tools to do it. Referring to the attached image:
I did create a library part of a spider fixing and I would like it to be able to rotate along the X or Y axes to align it with the glass and beam.
Is it possible?
2011-05-10 01:55 PM
Deviz wrote:
Doing it this way it looks to me that you can only change the angle of the whole library part, therefore you don't have the option to change it in the settings.
If that's correct and you have several angles that you need to apply to the library part, you'd need to have as many library parts as many different angles you have.
Deviz wrote:You need to create a parameter for the rotation (one for each axis), and add to the 3D script the ROT command, using the value of this parameter, for the object to be parametric.
I noticed also that there is a parameter where you can specify angles but I can't find how it works properly. If I put a value (e.g.: 6.75), the library part doesn't rotate, though, if I also add the ROTX on the 3D script of an equal value (6.75) the library part still doesn't rotate, cancelling therefore the 3D script instructions...!?
Deviz wrote:Yes, you need to move the local origin with ADD command to determine the point of rotation.
Another thing I noticed is that the angle is rotating the library part around the global axis, not the axis relative to the library part itself... can I change that?
Deviz wrote:Yes, the 2D and 3D Scripts are separate, so they need to be written to coordinate with each other.
...another thing I just noticed is that the plan view of the library part moves and it's not aligned to the 3D object...
2011-05-10 02:56 PM
2011-05-11 02:37 AM
2011-05-11 01:23 PM
Deviz wrote:This is one of the downsides to using the PROJECT2 command for the 2D symbol, it is a 3D projection of the object so it does not have any custom hotspots, just the default "box". In order to have custom hotspots that change position correctly as the object is rotated, these points need to be calculated in the 2D Script using geometry and the Hotspot2 command.
One last thing I need to ask though. Applying those changes to the scripts, made me lose the hot-spots that I had in my 2D symbol, which now only has the standard 5 points (one on each cnr and a center one)
Is there anything else I should have done to my library part?