*projectpointstoedges
Create surface vertices by projecting the points onto the edges perpendicular to the edge.
Syntax
*projectpointstoedges edge_markmask point_markmask distance_tol angle_tol
Type
HyperMesh Tcl Modify
Description
Create surface vertices by projecting the points onto the edges perpendicular to the edge.
Inputs
- edge_markmask
- The mark containing the edges to project to.
- point_markmask
- The mark containing the points to project.
- distance_tol
- The maximum distance a point can be projected.
- angle_tol
- The minimum angle between an existing vertex, the point being projected, and the projected point.
Example
To add surface vertices on edges 56 and 57 by projecting points 78 and 79 with a maximum distance of .5 and a minimum angle of 30:
*createmark(lines,2) 56 57
*createmark(points,1) 78 79
*projectpointstoedges(2,1,.5.30)
Any selected edge, which is within the distance tolerance of any of the points, will have a vertex added at the projected point unless there is already another vertex on the edge that is within the angle tolerance. Therefore, if two points project to the same edge but are within the specified angle tolerance, then only one of the points will be added to that edge. It is not defined which point will be added.
Errors
None.