#133 Create vectors and planes using tcl in HyperMesh
To create a vector, and translate node 10 along this vector by 5 units:
[code language=”python”]
*createvector 1 1.0 0.0 0.0
*createmark nodes 1 10
*translatemark nodes 1 1 5.0
[/code]
To create a plane, and reflect all displayed elements about this plane that has a normal along the x axis and a base point of (5,0,0):
[code language=”python”]
*createplane 1 1.0 0.0 0.0 5.0 0.0 0.0
*createmark elems 1 displayed
*reflectmark elems 1 1
[/code]
Recent Comments