# OptiCroSec optimized truss structure fails under buckling

**URL:** <https://discourse.mcneel.com/t/opticrosec-optimized-truss-structure-fails-under-buckling/167378>\
**Category:** Karamba3D\
**Tags:** windows, rhino7, opticrosec\
**Created:** [October 17, 2023, 9:38am UTC](https://discourse.mcneel.com/t/opticrosec-optimized-truss-structure-fails-under-buckling/167378 "2023-10-17T09:38:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stijn1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stijn1/32/497672_2.png) [@Stijn1](https://discourse.mcneel.com/u/Stijn1)\
**Post date:** [October 17, 2023, 9:38am UTC](https://discourse.mcneel.com/t/opticrosec-optimized-truss-structure-fails-under-buckling/167378/1 "2023-10-17T09:38:29Z")

</div>

Hello everyone,

for my master thesis I am trying to design an optimized truss structure.  
After I apply to OptiCroSec and want to verify the buckling resistance, something happens that I don’t understand.

The 2nd order analyse component already gives me a warning that the systems buckles in 13 modes.  
The buckling load factors are also very small.

What do I need to do so that the OptiCroSec component also takes buckling into account?  
I am using Rhino 7 and Karamba3D 2.2.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/7/3/47397e8433b05e4cd90765d57c43db89ff7f1223.png)

---

<div class="post-metadata">

**Author:** ![matttam](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/matttam/32/769086_2.png) [@matttam](https://discourse.mcneel.com/u/matttam)\
**Post date:** [October 20, 2023, 11:30am UTC](https://discourse.mcneel.com/t/opticrosec-optimized-truss-structure-fails-under-buckling/167378/2 "2023-10-20T11:30:20Z")

</div>

The optimisation does take buckling into account. This results indicate that you probably need to increase your cross section profile sizes.

---

<div class="post-metadata">

**Author:** ![Stijn1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stijn1/32/497672_2.png) [@Stijn1](https://discourse.mcneel.com/u/Stijn1)\
**Post date:** [October 20, 2023, 12:01pm UTC](https://discourse.mcneel.com/t/opticrosec-optimized-truss-structure-fails-under-buckling/167378/3 "2023-10-20T12:01:15Z")

</div>

Hi Matthew, thanks for your reaction.  
There should be plenty of larger options left in the CroSec family I have selected.  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/2/a/52a90117f605c5ea892af185aacf069429a4f095.png)

I tried forcing it to use larger cross-sections by assigning it a buckling length in Z-direction.  
Only this way, I can get my Buckling Load Factors above 1.  
Do you maybe know what settings could be wrong resulting my OpiCroSec outcome to be off by so much?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/1/8/d18b18ba60e560c88ca7c844ba0a0398e0b58eb2.png)

---

<div class="post-metadata">

**Author:** ![matttam](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/matttam/32/769086_2.png) [@matttam](https://discourse.mcneel.com/u/matttam)\
**Post date:** [October 21, 2023, 9:02am UTC](https://discourse.mcneel.com/t/opticrosec-optimized-truss-structure-fails-under-buckling/167378/4 "2023-10-21T09:02:41Z")

</div>

if you share your script, we can take a look at it

---

<div class="post-metadata">

**Author:** ![Stijn1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stijn1/32/497672_2.png) [@Stijn1](https://discourse.mcneel.com/u/Stijn1)\
**Post date:** [October 23, 2023, 7:48am UTC](https://discourse.mcneel.com/t/opticrosec-optimized-truss-structure-fails-under-buckling/167378/5 "2023-10-23T07:48:45Z")

</div>

Hi Matthew,

I have attached the script. I only get an output that does not buckle when I manually give the buckling length as an input.

I hope you find some time to look at my script!

[Optimized side wall\_v 0.3\_1 Evaluation Version.gh](https://discourse.mcneel.com/uploads/short-url/q3JVCMGo5uXBjMKagpi34czLKyO.gh) (64.7 KB)
