# Grasshopper coding

**URL:** <https://discourse.mcneel.com/t/grasshopper-coding/82333>\
**Category:** Grasshopper\
**Created:** [April 24, 2019, 5:49pm UTC](https://discourse.mcneel.com/t/grasshopper-coding/82333 "2019-04-24T17:49:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatih-fidan](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fatih-fidan/32/150951_2.png) [@fatih-fidan](https://discourse.mcneel.com/u/fatih-fidan)\
**Post date:** [April 24, 2019, 5:49pm UTC](https://discourse.mcneel.com/t/grasshopper-coding/82333/1 "2019-04-24T17:49:25Z")

</div>

does anyone know how to do Grasshopper coding of this structure.

---

<div class="post-metadata">

**Author:** ![diff-arch](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/diff-arch/32/528268_2.png) [@diff-arch](https://discourse.mcneel.com/u/diff-arch)\
**Post date:** [April 25, 2019, 6:12am UTC](https://discourse.mcneel.com/t/grasshopper-coding/82333/2 "2019-04-25T06:12:00Z")

</div>

Hi @fatih-fidan,

Seems like all of it can probably be achieved with K2 (Kangaroo 2).  
For the first part, the folding truss, you could look into folding with K2. It could also be done without the physics simulation, but the results won’t be as satisfying.  
The second part is pretty straightforward. It seems to be a simple [K2 mesh relaxation](https://discourse.mcneel.com/search?q=mesh%20relaxation) between pairs of trusses (to get a minimal surface?).

@PeterFotiadis is already kindly offering some help in another, very similar [thread](https://discourse.mcneel.com/t/parametric-architecture-how-to-make-arc-triangular-section-arches/82290/6) of yours. Maybe continue the discusion over there to get the most out of it.

---

<div class="post-metadata">

**Author:** ![tim.stark](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tim.stark/32/704108_2.png) [@tim.stark](https://discourse.mcneel.com/u/tim.stark)\
**Post date:** [April 25, 2019, 6:54am UTC](https://discourse.mcneel.com/t/grasshopper-coding/82333/3 "2019-04-25T06:54:21Z")

</div>

> [@Parametric architecture how to make arc triangular section arches](https://discourse.mcneel.com/t/parametric-architecture-how-to-make-arc-triangular-section-arches/82290/7):
>
> Well … I can’t see many good Samaritans around (insofar). Thus get this: [302\_UAE\_XFoldingTruss\_V1.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/3/8/3898712eaa90ad520116330983ed6e192acd0c75.gh) (123.3 KB) This is from an existing project (a WIP one) minus a zillion details (and lot’s of code lines with regard nested instance definitions and other things). Nodes are idealized (but that’s not an issue at all). Tubes are also idealized (in real-life the ends are conic in order to avoid clash issues). The scope of the thing is to air-transport (Sikorsky CH-54) it as a pre-assembled enti…

---

<div class="post-metadata">

**Author:** ![fatih-fidan](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fatih-fidan/32/150951_2.png) [@fatih-fidan](https://discourse.mcneel.com/u/fatih-fidan)\
**Post date:** [April 25, 2019, 8:21am UTC](https://discourse.mcneel.com/t/grasshopper-coding/82333/4 "2019-04-25T08:21:24Z")

</div>

[triangular section arc.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/0/3/03482ec3bf93956db79ae57f0ef0f7eae9706b14.gh) (14.8 KB)

I modified the grasshoper of the tupes to have only lines of 7 pairs of scissors, what you think

---

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [April 25, 2019, 8:31am UTC](https://discourse.mcneel.com/t/grasshopper-coding/82333/5 "2019-04-25T08:31:00Z")

</div>

Please do not double post:

> [@Parametric architecture how to make arc triangular section arches](https://discourse.mcneel.com/t/parametric-architecture-how-to-make-arc-triangular-section-arches/82290):
>
> good evening I am a student working on the deployable structure. I would like to use the same joining technique (arc triangular section arches) to create a pavilion of different shapes in the shape of a triangle or square if it forms a dome. I am a beginner in rhino (grasshopper), I can not do the design of this structure.Is what someone could help me dear member Looking forward to you, you are my last chance for my project, Thank you

---

<div class="post-metadata">

**Author:** ![fatih-fidan](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fatih-fidan/32/150951_2.png) [@fatih-fidan](https://discourse.mcneel.com/u/fatih-fidan)\
**Post date:** [April 25, 2019, 8:40am UTC](https://discourse.mcneel.com/t/grasshopper-coding/82333/6 "2019-04-25T08:40:29Z")

</div>

sorry
