44class CoordinateSystem ():
55 def __init__ (self ,
66 no : int = 1 ,
7- type = CoordinateSystemType .TYPE_OFFSET_XYZ ,
87 origin_coordinate_x : float = 0.0 ,
98 origin_coordinate_y : float = 0.0 ,
109 origin_coordinate_z : float = 0.0 ,
@@ -16,11 +15,10 @@ def __init__(self,
1615 '''
1716 Args:
1817 no (int): Coordinate System Tag
19- type (enum): Coordinate System Type
2018 origin_coordinate_x (float): X-Coordinate
2119 origin_coordinate_y (float): Y-Coordinate
2220 origin_coordinate_z (float): Z-Coordinate
23- name (str): Name
21+ name (str, optional): User Defined Coordinate System Name
2422 comment (str, optional): Comments
2523 params (dict, optional): Any WS Parameter relevant to the object and its value in form of a dictionary
2624 model (RFEM Class, optional): Model to be edited
@@ -35,7 +33,7 @@ def __init__(self,
3533 clientObject .no = no
3634
3735 # Coordinate System Type
38- clientObject .type = type .name
36+ clientObject .type = CoordinateSystemType . TYPE_OFFSET_XYZ .name
3937
4038 # Coordinates
4139 clientObject .origin_coordinate_x = origin_coordinate_x
@@ -44,6 +42,7 @@ def __init__(self,
4442
4543 # Name
4644 if name :
45+ clientObject .user_defined_name_enabled = True
4746 clientObject .name = name
4847
4948 # Comment
@@ -76,7 +75,7 @@ def OffsetXYZ(no: int = 1,
7675 origin_coordinate_x (float): X-Coordinate
7776 origin_coordinate_y (float): Y-Coordinate
7877 origin_coordinate_z (float): Z-Coordinate
79- name (str): Name
78+ name (str, optional): User Defined Coordinate System Name
8079 comment (str, optional): Comments
8180 params (dict, optional): Any WS Parameter relevant to the object and its value in form of a dictionary
8281 model (RFEM Class, optional): Model to be edited
@@ -100,6 +99,7 @@ def OffsetXYZ(no: int = 1,
10099
101100 # Name
102101 if name :
102+ clientObject .user_defined_name_enabled = True
103103 clientObject .name = name
104104
105105 # Comment
@@ -144,7 +144,7 @@ def ThreePoints(no: int = 1,
144144 uw_plane_point_coordinate_x (float): Point in +UW-Plane - 2nd Point X-Coordinate
145145 uw_plane_point_coordinate_y (float): Point in +UW-Plane - 2nd Point Y-Coordinate
146146 uw_plane_point_coordinate_z (float): Point in +UW-Plane - 2nd Point Z-Coordinate
147- name (str): Name
147+ name (str, optional): User Defined Coordinate System Name
148148 comment (str, optional): Comments
149149 params (dict, optional): Any WS Parameter relevant to the object and its value in form of a dictionary
150150 model (RFEM Class, optional): Model to be edited
@@ -176,6 +176,7 @@ def ThreePoints(no: int = 1,
176176
177177 # Name
178178 if name :
179+ clientObject .user_defined_name_enabled = True
179180 clientObject .name = name
180181
181182 # Comment
@@ -216,7 +217,7 @@ def TwoPointsAndAngle(no: int = 1,
216217 u_axis_point_coordinate_y (float): Point on +U-Axis - 1st point Y-Coordinate
217218 u_axis_point_coordinate_z (float): Point on +U-Axis - 1st point Z-Coordinate
218219 uw_plane_angle (float): Rotation About U-Axis
219- name (str): Name
220+ name (str, optional ): Name
220221 comment (str, optional): Comments
221222 params (dict, optional): Any WS Parameter relevant to the object and its value in form of a dictionary
222223 model (RFEM Class, optional): Model to be edited
@@ -246,6 +247,7 @@ def TwoPointsAndAngle(no: int = 1,
246247
247248 # Name
248249 if name :
250+ clientObject .user_defined_name_enabled = True
249251 clientObject .name = name
250252
251253 # Comment
@@ -282,11 +284,11 @@ def PointAndThreeAngles(no: int = 1,
282284 origin_coordinate_x (float): Origin Point X-Coordinate
283285 origin_coordinate_y (float): Origin Point Y-Coordinate
284286 origin_coordinate_z (float): Origin Point Z-Coordinate
285- rotation_angles_sequence (float ): Rotation Angles Sequesce
287+ rotation_angles_sequence (enum ): Coordinate System Rotation Angles Sequence Enumeration
286288 rotation_angle_1 (float): Rotation about X Axes
287289 rotation_angle_2 (float): Rotation about Y Axes
288290 rotation_angle_3 (float): Rotation about Z Axes
289- name (str): Name
291+ name (str, optional): User Defined Coordinate System Name
290292 comment (str, optional): Comments
291293 params (dict, optional): Any WS Parameter relevant to the object and its value in form of a dictionary
292294 model (RFEM Class, optional): Model to be edited
@@ -300,7 +302,6 @@ def PointAndThreeAngles(no: int = 1,
300302 # Coordinate System No.
301303 clientObject .no = no
302304
303-
304305 # Coordinate System Type
305306 clientObject .type = CoordinateSystemType .TYPE_POINT_AND_3_ANGLES .name
306307
@@ -318,6 +319,7 @@ def PointAndThreeAngles(no: int = 1,
318319
319320 # Name
320321 if name :
322+ clientObject .user_defined_name_enabled = True
321323 clientObject .name = name
322324
323325 # Comment
@@ -339,7 +341,7 @@ def GetCoordinateSystem(object_index: int = 1, model = Model):
339341
340342 '''
341343 Args:
342- obejct_index (int): Thickness Index
344+ obejct_index (int): Coordinate System Index
343345 model (RFEM Class, optional): Model to be edited
344346 '''
345347
0 commit comments