# compas\_tna

**URL:** https://forum.compas-framework.org/c/compas-tna/12.md

[Latest](https://forum.compas-framework.org/latest.md) · [Categories](https://forum.compas-framework.org/categories.md)

---

## [About the compas\_tna category](https://forum.compas-framework.org/t/about-the-compas-tna-category/110)

<div class="topic-metadata">

**Author:** [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Replies:** 0

</div>

This category groups questions about compas\_tna, which is a package for Thrust Network Analysis for the COMPAS framework. The documentation of compas\_tna can be found here. The Github repo is here.

---

## [compas\_tna-UI not found in Rhino 6 (mac)](https://forum.compas-framework.org/t/compas-tna-ui-not-found-in-rhino-6-mac/264)

<div class="topic-metadata">

**Author:** [@Gborg](https://forum.compas-framework.org/u/Gborg)\
**Replies:** 2\
**Last updated:** [October 18, 2019, 3:59am UTC](https://forum.compas-framework.org/t/compas-tna-ui-not-found-in-rhino-6-mac/264 "2019-10-18T03:59:47Z")

</div>

Hi, I cant seem to find the compas\_tna-UI in rhino. Basically when I type tna or TNA nothing appears I have the latest compas update from the IASS2019 repo and I followed this steps: /gabriel

---

## [Edge length attribute of force diagram](https://forum.compas-framework.org/t/edge-length-attribute-of-force-diagram/188)

<div class="topic-metadata">

**Author:** [@kiunana](https://forum.compas-framework.org/u/kiunana)\
**Replies:** 3\
**Last updated:** [June 18, 2019, 3:16pm UTC](https://forum.compas-framework.org/t/edge-length-attribute-of-force-diagram/188 "2019-06-18T15:16:55Z")

</div>

Does the edge length attribute get updated once horizonatal equilibrium is solved for (i.e. horizontal\_nodal(form, force, alpha=100, kmax=100). When I run, force.get\_edges\_attribute(‘l’) I only get zeros.

---

## [Closest-fit solution for a thrust network](https://forum.compas-framework.org/t/closest-fit-solution-for-a-thrust-network/176)

<div class="topic-metadata">

**Author:** [@kiunana](https://forum.compas-framework.org/u/kiunana)\
**Replies:** 9\
**Last updated:** [May 9, 2019, 7:16pm UTC](https://forum.compas-framework.org/t/closest-fit-solution-for-a-thrust-network/176 "2019-05-09T19:16:09Z")

</div>

Is there a in-built function to find the scale for a closest-fit thrust network given the target z values (not just z\_max, but z values for all points)? Also, noted that the z coordinates given when defining the form di…

---

## [3D Plotter to visualize thrust networks](https://forum.compas-framework.org/t/3d-plotter-to-visualize-thrust-networks/179)

<div class="topic-metadata">

**Author:** [@kiunana](https://forum.compas-framework.org/u/kiunana)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 6:53pm UTC](https://forum.compas-framework.org/t/3d-plotter-to-visualize-thrust-networks/179 "2019-05-07T18:53:15Z")

</div>

Is there a 3D plotter in COMPAS? Would be preferred when using compas\_tna outside rhino :slight\_smile:

---

## [External loads on thrust network](https://forum.compas-framework.org/t/external-loads-on-thrust-network/177)

<div class="topic-metadata">

**Author:** [@kiunana](https://forum.compas-framework.org/u/kiunana)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 8:40am UTC](https://forum.compas-framework.org/t/external-loads-on-thrust-network/177 "2019-05-07T08:40:35Z")

</div>

I am analyzing a structure with a given set of external loads on nodes. And those loads are assigned to pz as follows. form.set\_vertices\_attributes(‘pz’,volumes\*density) Is Pz is positive in gravity direction or vic…

---

## [Error importing formdiagram function](https://forum.compas-framework.org/t/error-importing-formdiagram-function/172)

<div class="topic-metadata">

**Author:** [@kiunana](https://forum.compas-framework.org/u/kiunana)\
**Replies:** 1\
**Last updated:** [April 28, 2019, 11:12pm UTC](https://forum.compas-framework.org/t/error-importing-formdiagram-function/172 "2019-04-28T23:12:38Z")

</div>

I’ve been using COMPAS 0.3.0 version and now updated to 0.5.2 version (working in pyCharm). The following worked fine in the previous version. from compas\_tna.diagrams import formdiagram Now it gives the following er…

---

## [Tributary areas and automatic update of gravity loads on nodes](https://forum.compas-framework.org/t/tributary-areas-and-automatic-update-of-gravity-loads-on-nodes/171)

<div class="topic-metadata">

**Author:** [@kiunana](https://forum.compas-framework.org/u/kiunana)\
**Replies:** 1\
**Last updated:** [April 28, 2019, 3:33pm UTC](https://forum.compas-framework.org/t/tributary-areas-and-automatic-update-of-gravity-loads-on-nodes/171 "2019-04-28T15:33:04Z")

</div>

Is there a way to get the tributary areas on each node from the form diagram. ( I tried using voronoi\_from\_points\_numpy but couldn’t import it. In any case that would only give the voronoi diagram, further processing wou…

---

## [Form Diagram for large networks](https://forum.compas-framework.org/t/form-diagram-for-large-networks/102)

<div class="topic-metadata">

**Author:** [@kiunana](https://forum.compas-framework.org/u/kiunana)\
**Replies:** 3\
**Last updated:** [December 3, 2018, 5:07pm UTC](https://forum.compas-framework.org/t/form-diagram-for-large-networks/102 "2018-12-03T17:07:44Z")

</div>

I was trying to generate the form diagram with line data input from a json file. The formDiagram function exits with a ‘Key error’ at line 1507 of mesh.py. The network is of 2514 line segments. It works fine when I try g…
