<
From version < 49.1 >
edited by Isak Björhag
on 2020/02/10 15:18
To version < 50.1 >
edited by Isak Björhag
on 2020/02/10 15:21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,114 +12,131 @@
12 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.
13 13  
14 14  (% style="text-align: justify;" %)
15 -The following StruXML code describes a simply supported beam with a length of 5 meters.
15 +The following StruXML code describes a simply supported beam with a length of 5 meters, a rectangular cross-section 200x500, and a concrete C30/37 material.
16 16  
17 -(% style="text-align: justify;" %)
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>##
19 19  
20 -(% style="text-align: justify;" %)
21 -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.
18 +{{code language="xml"}}
22 22  
20 +<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:16:29.000" guid="e211356e-5f99-4a37-a005-d6c326834e45" convertid="00000000-0000-0000-0000-000000000000" standard="EC" country="S" xmlns="urn:strusoft">
21 + <entities>
22 + <bar name="B.1" type="beam" guid="72f97ae8-dae3-4106-a86d-c6e9485c0354" last_change="2020-02-10T14:16:29.000" action="added">
23 + <bar_part guid="3641e177-f9b7-41ec-8eea-62d274c21f64" last_change="2020-02-10T14:16:29.000" action="added" name="B.1.1" complex_material="6e4dcf1d-5801-45cc-99ae-c661ec27ce72" complex_section="2dc61ff1-429f-43c2-ba23-90968f8e933e" ecc_calc="true">
24 + <curve type="line">
25 + <point x="0" y="0" z="0"></point>
26 + <point x="5" y="0" z="0"></point>
27 + </curve>
28 + <local-y x="0" y="1" z="0"></local-y>
29 + <connectivity m_x="true" m_y="true" m_z="true" r_x="true" r_y="true" r_z="true"></connectivity>
30 + <connectivity m_x="true" m_y="true" m_z="true" r_x="true" r_y="true" r_z="true"></connectivity>
31 + <eccentricity use_default_physical_alignment="true">
32 + <analytical x="0" y="0" z="0"></analytical>
33 + <analytical x="0" y="0" z="0"></analytical>
34 + <physical x="0" y="0" z="-0.25"></physical>
35 + <physical x="0" y="0" z="-0.25"></physical>
36 + </eccentricity>
37 + <end></end>
38 + </bar_part>
39 + <end></end>
40 + </bar>
41 + <supports>
42 + <point_support guid="fba5197e-6d85-4b07-8a6e-053bb0f4f6f0" last_change="2020-02-10T14:08:41.000" action="added" name="S.1">
43 + <group>
44 + <local_x x="1" y="0" z="0"></local_x>
45 + <local_y x="0" y="1" z="0"></local_y>
46 + <rigidity>
47 + <motions x_neg="10000000000" x_pos="10000000000" y_neg="10000000000" y_pos="10000000000" z_neg="10000000000" z_pos="10000000000"></motions>
48 + <rotations x_neg="0" x_pos="0" y_neg="0" y_pos="0" z_neg="0" z_pos="0"></rotations>
49 + </rigidity>
50 + </group>
51 + <position x="0" y="0" z="0"></position>
52 + </point_support>
53 + <point_support guid="4adba974-d671-4d2f-94db-b4305e76b830" last_change="2020-02-10T14:08:48.000" action="added" name="S.2">
54 + <group>
55 + <local_x x="1" y="0" z="0"></local_x>
56 + <local_y x="0" y="1" z="0"></local_y>
57 + <rigidity>
58 + <motions x_neg="0" x_pos="0" y_neg="10000000000" y_pos="10000000000" z_neg="10000000000" z_pos="10000000000"></motions>
59 + <rotations x_neg="0" x_pos="0" y_neg="0" y_pos="0" z_neg="0" z_pos="0"></rotations>
60 + </rigidity>
61 + </group>
62 + <position x="5" y="0" z="0"></position>
63 + </point_support>
64 + </supports>
65 + </entities>
66 + <sections>
67 + <section guid="90bb4365-64f2-4293-bcef-d389d5b0ff96" last_change="1970-01-01T00:00:00.000" action="added" name="Concrete sections, Rectangle, 200x500" type="custom" fd-mat="3" fd_name_code="Concrete sections" fd_name_type="Rectangle" fd_name_size="200x500">
68 + <region_group>
69 + <region>
70 + <contour>
71 + <edge type="line">
72 + <point x="-0.1" y="-0.25" z="0"></point>
73 + <point x="0.1" y="-0.25" z="0"></point>
74 + <normal x="0" y="1" z="0"></normal>
75 + </edge>
76 + <edge type="line">
77 + <point x="0.1" y="-0.25" z="0"></point>
78 + <point x="0.1" y="0.25" z="0"></point>
79 + <normal x="-1" y="0" z="0"></normal>
80 + </edge>
81 + <edge type="line">
82 + <point x="0.1" y="0.25" z="0"></point>
83 + <point x="-0.1" y="0.25" z="0"></point>
84 + <normal x="0" y="-1" z="0"></normal>
85 + </edge>
86 + <edge type="line">
87 + <point x="-0.1" y="0.25" z="0"></point>
88 + <point x="-0.1" y="-0.25" z="0"></point>
89 + <normal x="1" y="0" z="0"></normal>
90 + </edge>
91 + </contour>
92 + </region>
93 + </region_group>
94 + <end></end>
95 + </section>
96 + <complex_section guid="2dc61ff1-429f-43c2-ba23-90968f8e933e" last_change="1970-01-01T00:00:00.000" action="added">
97 + <section pos="0" guid="90bb4365-64f2-4293-bcef-d389d5b0ff96">
98 + <ecc x="0" y="0" z="0"></ecc>
99 + <end></end>
100 + </section>
101 + <section pos="1" guid="90bb4365-64f2-4293-bcef-d389d5b0ff96">
102 + <ecc x="0" y="0" z="0"></ecc>
103 + <end></end>
104 + </section>
105 + </complex_section>
106 + </sections>
107 + <materials>
108 + <material guid="6e4dcf1d-5801-45cc-99ae-c661ec27ce72" last_change="2013-07-19T10:00:42.000" action="added" standard="EC" country="S" name="C30/37">
109 + <concrete mass="2.54842" E_0="33000000" E_1="33000000" E_2="33000000" nu_0="0.2" nu_1="0.2" nu_2="0.2" alfa_0="0.00001" alfa_1="0.00001" alfa_2="0.00001" G_0="13750000" G_1="13750000" G_2="13750000" Fck="30" Fck_cube="37" Fctk="2" Fctm="2.9" Ecm="33000" gammaC_0="1.5" gammaC_1="1.2" gammaCE="1.2" gammaS_0="1.15" gammaS_1="1" alfaCc="1" alfaCt="1" Fcd_0="20" Fcd_1="25" Fctd_0="1.33333333333333" Fctd_1="1.66666666666667" Ecd_0="22000" Ecd_1="27500" Epsc2="0.002" Epscu2="0.0035" Epsc3="0.00175" Epscu3="0.0035" environment="0" creep="0" shrinkage="0" nu="0.2" alfa="0.00001"></concrete>
110 + </material>
111 + </materials>
112 + <end></end>
113 +</database>
114 +{{/code}}
23 23  
116 +(% style="text-align: justify;" %)
117 +There is a root element called database that contains all other elements:
118 +
24 24  {{code language="xml"}}
25 -<?xml version="1.0" encoding="UTF-8"?>
26 26  <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:16:29.000" guid="e211356e-5f99-4a37-a005-d6c326834e45" convertid="00000000-0000-0000-0000-000000000000" standard="EC" country="S" xmlns="urn:strusoft">
27 - <entities>
28 - <bar name="B.1" type="beam" guid="72f97ae8-dae3-4106-a86d-c6e9485c0354" last_change="2020-02-10T14:16:29.000" action="added">
29 - <bar_part guid="3641e177-f9b7-41ec-8eea-62d274c21f64" last_change="2020-02-10T14:16:29.000" action="added" name="B.1.1" complex_material="6e4dcf1d-5801-45cc-99ae-c661ec27ce72" complex_section="2dc61ff1-429f-43c2-ba23-90968f8e933e" ecc_calc="true">
30 - <curve type="line">
31 - <point x="0" y="0" z="0"></point>
32 - <point x="5" y="0" z="0"></point>
33 - </curve>
34 - <local-y x="0" y="1" z="0"></local-y>
35 - <connectivity m_x="true" m_y="true" m_z="true" r_x="true" r_y="true" r_z="true"></connectivity>
36 - <connectivity m_x="true" m_y="true" m_z="true" r_x="true" r_y="true" r_z="true"></connectivity>
37 - <eccentricity use_default_physical_alignment="true">
38 - <analytical x="0" y="0" z="0"></analytical>
39 - <analytical x="0" y="0" z="0"></analytical>
40 - <physical x="0" y="0" z="-0.25"></physical>
41 - <physical x="0" y="0" z="-0.25"></physical>
42 - </eccentricity>
43 - <end></end>
44 - </bar_part>
45 - <end></end>
46 - </bar>
47 - <supports>
48 - <point_support guid="fba5197e-6d85-4b07-8a6e-053bb0f4f6f0" last_change="2020-02-10T14:08:41.000" action="added" name="S.1">
49 - <group>
50 - <local_x x="1" y="0" z="0"></local_x>
51 - <local_y x="0" y="1" z="0"></local_y>
52 - <rigidity>
53 - <motions x_neg="10000000000" x_pos="10000000000" y_neg="10000000000" y_pos="10000000000" z_neg="10000000000" z_pos="10000000000"></motions>
54 - <rotations x_neg="0" x_pos="0" y_neg="0" y_pos="0" z_neg="0" z_pos="0"></rotations>
55 - </rigidity>
56 - </group>
57 - <position x="0" y="0" z="0"></position>
58 - </point_support>
59 - <point_support guid="4adba974-d671-4d2f-94db-b4305e76b830" last_change="2020-02-10T14:08:48.000" action="added" name="S.2">
60 - <group>
61 - <local_x x="1" y="0" z="0"></local_x>
62 - <local_y x="0" y="1" z="0"></local_y>
63 - <rigidity>
64 - <motions x_neg="0" x_pos="0" y_neg="10000000000" y_pos="10000000000" z_neg="10000000000" z_pos="10000000000"></motions>
65 - <rotations x_neg="0" x_pos="0" y_neg="0" y_pos="0" z_neg="0" z_pos="0"></rotations>
66 - </rigidity>
67 - </group>
68 - <position x="5" y="0" z="0"></position>
69 - </point_support>
70 - </supports>
71 - </entities>
72 - <sections>
73 - <section guid="90bb4365-64f2-4293-bcef-d389d5b0ff96" last_change="1970-01-01T00:00:00.000" action="added" name="Concrete sections, Rectangle, 200x500" type="custom" fd-mat="3" fd_name_code="Concrete sections" fd_name_type="Rectangle" fd_name_size="200x500">
74 - <region_group>
75 - <region>
76 - <contour>
77 - <edge type="line">
78 - <point x="-0.1" y="-0.25" z="0"></point>
79 - <point x="0.1" y="-0.25" z="0"></point>
80 - <normal x="0" y="1" z="0"></normal>
81 - </edge>
82 - <edge type="line">
83 - <point x="0.1" y="-0.25" z="0"></point>
84 - <point x="0.1" y="0.25" z="0"></point>
85 - <normal x="-1" y="0" z="0"></normal>
86 - </edge>
87 - <edge type="line">
88 - <point x="0.1" y="0.25" z="0"></point>
89 - <point x="-0.1" y="0.25" z="0"></point>
90 - <normal x="0" y="-1" z="0"></normal>
91 - </edge>
92 - <edge type="line">
93 - <point x="-0.1" y="0.25" z="0"></point>
94 - <point x="-0.1" y="-0.25" z="0"></point>
95 - <normal x="1" y="0" z="0"></normal>
96 - </edge>
97 - </contour>
98 - </region>
99 - </region_group>
100 - <end></end>
101 - </section>
102 - <complex_section guid="2dc61ff1-429f-43c2-ba23-90968f8e933e" last_change="1970-01-01T00:00:00.000" action="added">
103 - <section pos="0" guid="90bb4365-64f2-4293-bcef-d389d5b0ff96">
104 - <ecc x="0" y="0" z="0"></ecc>
105 - <end></end>
106 - </section>
107 - <section pos="1" guid="90bb4365-64f2-4293-bcef-d389d5b0ff96">
108 - <ecc x="0" y="0" z="0"></ecc>
109 - <end></end>
110 - </section>
111 - </complex_section>
112 - </sections>
113 - <materials>
114 - <material guid="6e4dcf1d-5801-45cc-99ae-c661ec27ce72" last_change="2013-07-19T10:00:42.000" action="added" standard="EC" country="S" name="C30/37">
115 - <concrete mass="2.54842" E_0="33000000" E_1="33000000" E_2="33000000" nu_0="0.2" nu_1="0.2" nu_2="0.2" alfa_0="0.00001" alfa_1="0.00001" alfa_2="0.00001" G_0="13750000" G_1="13750000" G_2="13750000" Fck="30" Fck_cube="37" Fctk="2" Fctm="2.9" Ecm="33000" gammaC_0="1.5" gammaC_1="1.2" gammaCE="1.2" gammaS_0="1.15" gammaS_1="1" alfaCc="1" alfaCt="1" Fcd_0="20" Fcd_1="25" Fctd_0="1.33333333333333" Fctd_1="1.66666666666667" Ecd_0="22000" Ecd_1="27500" Epsc2="0.002" Epscu2="0.0035" Epsc3="0.00175" Epscu3="0.0035" environment="0" creep="0" shrinkage="0" nu="0.2" alfa="0.00001"></concrete>
116 - </material>
117 - </materials>
118 - <end></end>
121 + <entities>
122 + </entities>
123 + <sections>
124 + </sections>
125 + <materials>
126 + </materials>
119 119  </database>
128 +
120 120  {{/code}}
121 121  
122 122  
132 +
133 +(% style="text-align: justify;" %)
134 +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>##
135 +
136 +(% style="text-align: justify;" %)
137 +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.
138 +
139 +
123 123  [[image:1557223235184-585.png||height="271" width="1200"]]
124 124  
125 125  
Copyright 2020 StruSoft AB
FEM-Design Wiki