Cutlist problem Grasshopper

Hello,

i use this grasshopper file and if a component has a miter, the wrong size is output. Can someone help me please?
Thank you for your support. :slight_smile:
Stückliste.gh (36.4 KB)


grafik

You might want to create bounding boxes around your objects…

yes, but i don´t know how..
Can you help me please?

Your file does not contain any geometry.

Please upload your Rhino file with a few objects.

partlist.3dm (126.4 KB)

Ok I see the problem. You need to improve the orientation of the bounding boxes. On orthogonal parts, it can be done by deconstructing the diagonal of world oriented bounding box and sorting the vector lengths. Then a decision needs to be made which order equals which plane.

PS: You might also just sort these values and use the longest for the length, the second largest for width and smallest for thickness.

now i have the problem that some objects have negative dimensions.. is there a chance to fix that?
Thanks for your support.
partlist.3dm (1.6 MB)
partlist support1.gh (36.9 KB)

Use the absolute component.

1 Like