You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--  -->
11
17
12
18
The objective of this example is to demonstrate how to orient beam elements in 3D space.
13
19
The model we'll build is a simple 3-element portal frame with wide-flange sections.
20
+
21
+
{{% render orient.glb %}}
22
+
14
23
Only certain relevant pieces of code will be shown in detail, but the full example script can
15
24
be downloaded from the link above.
16
25
In order to cover a wide range of cases, we'll orient the first column, element `1`, such that the strong axis of it's section bends *outside* the plane of the portal, the strong axis of the second column, element `3`, will resist bending *inside* the portal plane (See the image above).
17
-
We'll build two variations of the model; one where the 2nd coordinate is vertical, and another
18
-
with the 3rd coordinate vertical.
26
+
We'll build two variations of the model; one where the 2nd coordinate \(X_2\) is vertical, and another
27
+
with the 3rd coordinate \(X_3\) vertical.
28
+
In both cases we begin by initializing a `Model` in `ndm=3` dimensions with `ndf=6` degrees of freedom per node:
29
+
```python
30
+
import xara
31
+
model = xara.Model(ndm=3, ndf=6)
32
+
```
33
+
19
34
For the first case with \(X_2\) vertical we have:
20
35
```python
21
36
model.node(1, ( 0, 0, 0))
@@ -44,6 +59,8 @@ Everything else is identical for both cases. The material is a simple
0 commit comments