Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Sort metal tube

$
0
0

@onlyforpeace wrote:

Hi,

in my work, i design some metal structure, and i have to list all tubes with quantity,lenght, with both cutting angle… it’s always square or rectangle tube, not round…
like:

  • 1 x Lg 2000 35° & 15°
  • 15 x Lg 1230 0° & 0°
  • 3 x Lg 600 15° & -45°

i would like to make a script:
i done some function,

  • named each tube,
  • Sort tube by Lenght,
  • i would like to put all data ( Name, lenght, Cutting angle) in the object data ( i think it’s possible with DataObject)

but for cutting angle, i search the method:
no angle is when the volume of bounding box, is equal to the volume of the Tube, so if not equal, there is one or two cutting angle. and I don’t know how can i find the value, do you have an idea?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles