Model.nodeplaceatxyz#
- Model.nodeplaceatxyz(node, surface, x, y, z)#
Moves a node to a location on a surface and associates the node to the surface.
- Parameters:
node (Entity) – The object describing the node entity to be moved.
surface (Entity) – The object describing the surface entity to which the node should be associated.
x (double) – The x component of the point on the surface where the node is to be removed.
y (double) – The y component of the point on the surface where the node is to be removed.
z (double) – The z component of the point on the surface where the node is to be removed.
Example#
Move the node with ID 115 to the surface with ID 1 at location ( 75,30,86 )#import hm import hm.entities as ent model = hm.Model() model.nodeplaceatxyz( node=ent.Node(model, 115), surface=ent.Surface(model, 1), x=75.0, y=30.0, z=86.0, )