We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Baseball Field 2D to 3D alignment

Anonymous
Not applicable
The Baseball Field Object when rendered in 3D does not align with the 2D plan view. When the Little League field is selected the 3D location is approximately 153 feet from the 2D plan view of the Object. Is there a GDL script fix for this bug?
1 REPLY 1
David Maudlin
Rockstar
The Baseball Field Object when rendered in 3D does not align with the 2D plan view. When the Little League field is selected the 3D location is approximately 153 feet from the 2D plan view of the Object. Is there a GDL script fix for this bug?
Mike:
If you are somewhat comfortable in GDL, I think I have a fix.
Open the object and open the 2D script window. Scroll down to:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

if ftype=`Little League` then

xy_max2=sqr((60'*60')+(175'*175'))+30'
ADD2 30'-(xy_max+30')/2, 30'-(xy_max+30')/2 !!! Drag to Origo

hotspot2 0, 0
hotspot2 0, 60' ...


You will notice that "xy_max2" as a variable, but "xy_max" has been used in the next line. Change "xy_max" to "xy_max2" in the formula and the 2D should align with the 3D. I did not check further than this, there could be other problems with the part. HTH.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!