C.Wittmann Posted December 7, 2020 Share Posted December 7, 2020 Can someone tell me which nodes I can use to output the footprint and the smallest and largest height of a 3d solid. So far I have only been able to determine the volume and the total surface, which do not change when rotating the object in the floor plan. The nodes Get Height, Get Length, Get Width unfortunately do not give me the actual edge lengths for objects rotated in the floor plan. Quote Link to comment
Antonio Landsberger Posted December 23, 2020 Share Posted December 23, 2020 Hello @C.Wittmann, welcome to the forum. This issue is not trivial, but doable. First you need to convert the 3d solid into 3d polys, convert those into 2d polylines and decompose those into 2d lines. Once you have the lines, you can setup an array with the line handle and their length depending on their center point z-value. Then just sort the array by the length and thus determine the min and max. The node called "IFC List attributes" in this handy tool contains exactly the process described: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.