Kangaroo additive manufacturing constraints

Hi everyone,

I’m designing a distribution structure that I plan to 3D print using Selective Laser Melting (SLM). To optimize the structure, I’m using a Kangaroo tool that helps reduce its height while ensuring it remains manufacturable.

A key constraint is that every part of the structure must maintain at least a 45° angle to the XY plane to be producible. However, I’m struggling to control the tool effectively by adjusting the strengths of the constraints in the Kangaroo toolbox. Currently, the tool I’ve created is not reliable.

Does anyone have suggestions on improving the control of these constraints to achieve a more stable and predictable optimization? (possibly to apply it to different number of outlet geometries automatically) You can find a sample code in the appendix.

Thanks in advance!
Kangaroo_Frage.gh (29.4 KB)

Hi @Mertcan_Kaya

If I understand correctly the constraints you want, here’s how I’d achieve this:
angle_limit.gh (17.2 KB)

Hi Daniel,

thank you very much. It is working very well now.

Hi Daniel,

I need to control the maximum iteration number. Therefore, I tried to use zombie solver. However, it didn’t give me the similar result as the classical solver gave. Is there an another way to control maximum iteration number in the solver?

Hi - as this setup converges fairly slowly, it looks like we need to adjust both the Threshold (the amount of movement below which it considers the simulation converged) and the MaxIterations for the ZombieSolver to give the same result as the regular one:
angle_limit2.gh (20.2 KB)

1 Like