Hi,
I'am trying to create a coordinate system in abaqus through a python script. It works as intended but to comply with reference dokument I want to have the Z axis between node1 and node2 and xaxis in the plane from node3. From the code below I get xaxis between node1 and node2 and yaxis in the plane. Do anyone know a way to get this as I want?
csys_node1 = self.viewedOdbInstance.getNodeFromLabel(label=node1)
csys_node2 = self.viewedOdbInstance.getNodeFromLabel(label=node2)
csys_node3_old = self.viewedOdbInstance.getNodeFromLabel(label=node3)
self.scratchOdb.rootAssembly.DatumCsysByThreeNodes(name=self.name + '_Cys',coordSysType=CARTESIAN, origin=csys_node1, point1=csys_node2,point2=csys_node3_old)
I'am trying to create a coordinate system in abaqus through a python script. It works as intended but to comply with reference dokument I want to have the Z axis between node1 and node2 and xaxis in the plane from node3. From the code below I get xaxis between node1 and node2 and yaxis in the plane. Do anyone know a way to get this as I want?
csys_node1 = self.viewedOdbInstance.getNodeFromLabel(label=node1)
csys_node2 = self.viewedOdbInstance.getNodeFromLabel(label=node2)
csys_node3_old = self.viewedOdbInstance.getNodeFromLabel(label=node3)
self.scratchOdb.rootAssembly.DatumCsysByThreeNodes(name=self.name + '_Cys',coordSysType=CARTESIAN, origin=csys_node1, point1=csys_node2,point2=csys_node3_old)