Jump to content
Developer Wiki and Function Reference Links ×

Marionette base and heights of a 3d object


C.Wittmann

Recommended Posts

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.

5D912B5E-A45D-4646-B814-5961C9EDFD43.jpeg

Link to comment
  • 3 weeks later...

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:

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...