<
From version < 45.4 >
edited by Isak Björhag
on 2020/02/10 10:26
To version < 46.1 >
edited by Isak Björhag
on 2020/02/10 15:14
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,23 +5,183 @@
5 5  {{toc depth="3"/}}
6 6  )))
7 7  
8 -
9 9  
10 10  = StruXML =
11 11  
12 12  (% style="text-align: justify;" %)
13 -The StruXML file is used to store object data such as geometry and loads of the model. StruXML is also the format used to exchange models with Revit and Tekla.
12 +The StruXML file is used to store object data such as geometry and loads of the model. StruXML is also the format used to exchange models with Revit and Tekla. Any FEM-Design 3D Structure model can be saved as StruXML and any StruXML file can easily be opened in a text editor where it can be inspected and modified.
14 14  
15 15  (% style="text-align: justify;" %)
16 -Any FEM-Design 3D Structure model can be saved as StruXML and any StruXML file can easily be opened in a text editor where it can be inspected and modified.
15 +The following StruXML code describes a simply supported beam with a length of 5 meters, a
17 17  
18 18  (% style="text-align: justify;" %)
19 -The StruXML formatt uses different elements in a hierarchy and the different elements and found inside the tag for example <entities>. The element can have other elements below it in the hierarchy. These elements further describes the content of the element. For example the ##<bar>## element contains ##<bar_part>## which in turn contains the ##<curve>## element which defines the geometry of the bar. The start of the element is defined with the name between tags: ##<bar>##. The end of the element is defined with a slash in front of the name:## </bar>##
18 +The StruXML format uses different elements in a hierarchy and the different elements and found inside the tag for example <entities>. The element can have other elements below it in the hierarchy. These elements further describes the content of the element. For example the ##<bar>## element contains ##<bar_part>## which in turn contains the ##<curve>## element which defines the geometry of the bar. The start of the element is defined with the name between tags: ##<bar>##. The end of the element is defined with a slash in front of the name:## </bar>##
20 20  
21 21  (% style="text-align: justify;" %)
22 22  The top element is called the root element, in the example below it is the ##<database>## element (marked in red). The elements below the database element is called child elements, for example the ##<entities>## element (marked in green). The ##<bar>## element (marked in blue) is a child to ##<entities>## and thus a grand child to the ##<database>## element, and so on.
23 23  
24 24  
24 +{{code language="xml"}}
25 +
26 +<?xml version="1.0" encoding="UTF-8"?>
27 +<database struxml_version="01.00.000" source_software="FEM-Design 19.00.001" start_time="1970-01-01T00:00:00.000" end_time="2020-02-10T14:14:02.000" guid="e211356e-5f99-4a37-a005-d6c326834e45" convertid="00000000-0000-0000-0000-000000000000" standard="EC" country="S" xmlns="urn:strusoft">
28 + <entities>
29 + <bar name="B.1" type="beam" guid="72f97ae8-dae3-4106-a86d-c6e9485c0354" last_change="2020-02-10T14:14:02.000" action="added">
30 + <bar_part guid="3641e177-f9b7-41ec-8eea-62d274c21f64" last_change="2020-02-10T14:14:02.000" action="added" name="B.1.1" complex_material="0b515b29-a82f-40b3-98ed-c498499e762f" made="rolled" complex_section="dc77f3f4-9943-4e31-ae4e-4c7d1a80e1bd" ecc_calc="true">
31 + <curve type="line">
32 + <point x="0" y="0" z="0"></point>
33 + <point x="5" y="0" z="0"></point>
34 + </curve>
35 + <local-y x="0" y="1" z="0"></local-y>
36 + <connectivity m_x="true" m_y="true" m_z="true" r_x="true" r_y="true" r_z="true"></connectivity>
37 + <connectivity m_x="true" m_y="true" m_z="true" r_x="true" r_y="true" r_z="true"></connectivity>
38 + <eccentricity use_default_physical_alignment="true">
39 + <analytical x="0" y="0" z="0"></analytical>
40 + <analytical x="0" y="0" z="0"></analytical>
41 + <physical x="0" y="0" z="-0.15"></physical>
42 + <physical x="0" y="0" z="-0.15"></physical>
43 + </eccentricity>
44 + <end></end>
45 + </bar_part>
46 + <end></end>
47 + </bar>
48 + <supports>
49 + <point_support guid="fba5197e-6d85-4b07-8a6e-053bb0f4f6f0" last_change="2020-02-10T14:08:41.000" action="added" name="S.1">
50 + <group>
51 + <local_x x="1" y="0" z="0"></local_x>
52 + <local_y x="0" y="1" z="0"></local_y>
53 + <rigidity>
54 + <motions x_neg="10000000000" x_pos="10000000000" y_neg="10000000000" y_pos="10000000000" z_neg="10000000000" z_pos="10000000000"></motions>
55 + <rotations x_neg="0" x_pos="0" y_neg="0" y_pos="0" z_neg="0" z_pos="0"></rotations>
56 + </rigidity>
57 + </group>
58 + <position x="0" y="0" z="0"></position>
59 + </point_support>
60 + <point_support guid="4adba974-d671-4d2f-94db-b4305e76b830" last_change="2020-02-10T14:08:48.000" action="added" name="S.2">
61 + <group>
62 + <local_x x="1" y="0" z="0"></local_x>
63 + <local_y x="0" y="1" z="0"></local_y>
64 + <rigidity>
65 + <motions x_neg="0" x_pos="0" y_neg="10000000000" y_pos="10000000000" z_neg="10000000000" z_pos="10000000000"></motions>
66 + <rotations x_neg="0" x_pos="0" y_neg="0" y_pos="0" z_neg="0" z_pos="0"></rotations>
67 + </rigidity>
68 + </group>
69 + <position x="5" y="0" z="0"></position>
70 + </point_support>
71 + </supports>
72 + </entities>
73 + <sections>
74 + <section guid="75208ef1-3e11-437a-97be-ae9d707a859e" last_change="1970-01-01T00:00:00.000" action="added" name="Steel sections, HE-B, 300" type="custom" fd-mat="0" fd_name_code="Steel sections" fd_name_type="HE-B" fd_name_size="300">
75 + <region_group>
76 + <region>
77 + <contour>
78 + <edge type="line">
79 + <point x="-0.15" y="-0.15" z="0"></point>
80 + <point x="0.15" y="-0.15" z="0"></point>
81 + <normal x="0" y="1" z="0"></normal>
82 + </edge>
83 + <edge type="line">
84 + <point x="0.15" y="-0.15" z="0"></point>
85 + <point x="0.15" y="-0.131" z="0"></point>
86 + <normal x="-1" y="0" z="0"></normal>
87 + </edge>
88 + <edge type="line">
89 + <point x="0.15" y="-0.131" z="0"></point>
90 + <point x="0.0325" y="-0.131" z="0"></point>
91 + <normal x="0" y="-1" z="0"></normal>
92 + </edge>
93 + <edge radius="0.027" start_angle="0" end_angle="1.5707963267949" type="arc">
94 + <point x="0.0325" y="-0.104" z="0"></point>
95 + <normal x="0" y="0" z="-1"></normal>
96 + <x_axis x="0" y="-1" z="0"></x_axis>
97 + </edge>
98 + <edge type="line">
99 + <point x="0.0055" y="-0.104" z="0"></point>
100 + <point x="0.0055" y="0.104" z="0"></point>
101 + <normal x="-1" y="0" z="0"></normal>
102 + </edge>
103 + <edge radius="0.027" start_angle="0" end_angle="1.5707963267949" type="arc">
104 + <point x="0.0325" y="0.104" z="0"></point>
105 + <normal x="0" y="0" z="-1"></normal>
106 + <x_axis x="-1" y="0" z="0"></x_axis>
107 + </edge>
108 + <edge type="line">
109 + <point x="0.0325" y="0.131" z="0"></point>
110 + <point x="0.15" y="0.131" z="0"></point>
111 + <normal x="0" y="1" z="0"></normal>
112 + </edge>
113 + <edge type="line">
114 + <point x="0.15" y="0.131" z="0"></point>
115 + <point x="0.15" y="0.15" z="0"></point>
116 + <normal x="-1" y="0" z="0"></normal>
117 + </edge>
118 + <edge type="line">
119 + <point x="0.15" y="0.15" z="0"></point>
120 + <point x="-0.15" y="0.15" z="0"></point>
121 + <normal x="0" y="-1" z="0"></normal>
122 + </edge>
123 + <edge type="line">
124 + <point x="-0.15" y="0.15" z="0"></point>
125 + <point x="-0.15" y="0.131" z="0"></point>
126 + <normal x="1" y="0" z="0"></normal>
127 + </edge>
128 + <edge type="line">
129 + <point x="-0.15" y="0.131" z="0"></point>
130 + <point x="-0.0325" y="0.131" z="0"></point>
131 + <normal x="0" y="1" z="0"></normal>
132 + </edge>
133 + <edge radius="0.027" start_angle="0" end_angle="1.5707963267949" type="arc">
134 + <point x="-0.0325" y="0.104" z="0"></point>
135 + <normal x="0" y="0" z="-1"></normal>
136 + <x_axis x="0" y="1" z="0"></x_axis>
137 + </edge>
138 + <edge type="line">
139 + <point x="-0.0055" y="0.104" z="0"></point>
140 + <point x="-0.0055" y="-0.104" z="0"></point>
141 + <normal x="1" y="0" z="0"></normal>
142 + </edge>
143 + <edge radius="0.027" start_angle="0" end_angle="1.5707963267949" type="arc">
144 + <point x="-0.0325" y="-0.104" z="0"></point>
145 + <normal x="0" y="0" z="-1"></normal>
146 + <x_axis x="1" y="0" z="0"></x_axis>
147 + </edge>
148 + <edge type="line">
149 + <point x="-0.0325" y="-0.131" z="0"></point>
150 + <point x="-0.15" y="-0.131" z="0"></point>
151 + <normal x="0" y="-1" z="0"></normal>
152 + </edge>
153 + <edge type="line">
154 + <point x="-0.15" y="-0.131" z="0"></point>
155 + <point x="-0.15" y="-0.15" z="0"></point>
156 + <normal x="1" y="0" z="0"></normal>
157 + </edge>
158 + </contour>
159 + </region>
160 + </region_group>
161 + <end></end>
162 + </section>
163 + <complex_section guid="dc77f3f4-9943-4e31-ae4e-4c7d1a80e1bd" last_change="1970-01-01T00:00:00.000" action="added">
164 + <section pos="0" guid="75208ef1-3e11-437a-97be-ae9d707a859e">
165 + <ecc x="0" y="0" z="0"></ecc>
166 + <end></end>
167 + </section>
168 + <section pos="1" guid="75208ef1-3e11-437a-97be-ae9d707a859e">
169 + <ecc x="0" y="0" z="0"></ecc>
170 + <end></end>
171 + </section>
172 + </complex_section>
173 + </sections>
174 + <materials>
175 + <material guid="0b515b29-a82f-40b3-98ed-c498499e762f" last_change="2020-02-10T14:14:02.000" action="added" standard="EC" country="S" name="S 355">
176 + <steel mass="7.85" E_0="210000000" E_1="210000000" E_2="210000000" nu_0="0.3" nu_1="0.3" nu_2="0.3" alfa_0="0.000012" alfa_1="0.000012" alfa_2="0.000012" G_0="80769230.7692308" G_1="80769230.7692308" G_2="80769230.7692308" Fyk16="355" Fyk40="355" Fyk63="335" Fyk80="335" Fyk100="335" Fyk150="335" Fyk200="335" Fyk250="335" Fyk400="335" Fuk3="510" Fuk40="510" Fuk100="470" Fuk150="470" Fuk250="470" Fuk400="470" gammaM0_0="1" gammaM0_1="1" gammaM1_0="1" gammaM1_1="1" gammaM2_0="1.2" gammaM2_1="1" gammaM5_0="1" gammaM5_1="1" Ek="210000" Ed_0="210000" Ed_1="210000" nu="0.3" G="80769" alfa="0.000012"></steel>
177 + </material>
178 + </materials>
179 + <end></end>
180 +</database>
181 +
182 +{{/code}}
183 +
184 +
25 25  [[image:1557223235184-585.png||height="271" width="1200"]]
26 26  
27 27  
Copyright 2020 StruSoft AB
FEM-Design Wiki