We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2017-04-17 07:07 PM - last edited on 2023-05-24 12:56 PM by Rubia Torres
2017-04-19 03:54 AM
2017-05-05 07:06 PM
allanp wrote:This made sense to me, but I have tried everything with no luck. I tried each method on multiple objects that are giving us grief. Our objects are 5 point prisms though not 9. I tried deleting the 5 and also changing the coordinate. Any other help would be appreciated thanks!
What is going on is the cabinet is calling fa_gen_basecabinet
in fa_gen_basecabinet the bit that draws the base panel in the 3d scipt is on line 202
and the bit that draws the shelf is on line 255
(in the AUS version)
The problem is that the start point and end points are in the same position, and the relative small difference of position of the coordinate just before the last position.
(9 points for the base slab and 5 points for the shelf)
i wasn't getting the problem with the shelf, sorry, just the base panel.
i think its a floating point error as the second to last point and the last point are too close together, and it miss calculates the position of the closing coordinate due to the last position being too close. if i change the 8th coordinate from +0.02 to +1.02 the problem goes away, or if i remove the 8th coordinate all together, the problem goes away, or i remove the 9th coordinate(the closing -1) it goes away.
i know if you edit the base panel so it only has 8 points, it fixes the problem(comment out he last line, remove the comma on coordinate 8 status code, change the number of coordinates to
PRISM_ 8,0.02,
left_cab,front_cab,11, !! Base Panel
left_cab,b-rear_cab-(fr_th1*dob_face),11,
left_cab+0.02,b-rear_cab-(fr_th1*dob_face),mask_temp,
a-right_cab-0.02,b-rear_cab-(fr_th1*dob_face),9,
a-right_cab,b-rear_cab-(fr_th1*dob_face),11,
a-right_cab,front_cab, 11,
a-right_cab-0.02,front_cab, 13,
left_cab+0.02,front_cab,9
!left_cab,front_cab,-1
This requires opening the library file container and directly editing it, but i think it might fix your problem.
its a hard one to fix if you are not good at GDL,
All the best, and ask your local distributor to have a look at it, as it looks like only 2 lines of code to fix it, if it is what i have guessed.