ProMesh User Manual  v4.3.19

Tools to move the current selection or the current mesh. More...

Functions

void Move (Mesh *mesh, const Vec3d *offset)
 Moves selected vertices. More...
 
void MoveMeshTo (Mesh *mesh, const Vec3d *new_position)
 Moves the active mesh and its pivot, so that the pivot will be located on the specified position. More...
 
bool MoveSelectionTo (Mesh *mesh, const Vec3d *center)
 Moves the selected elements so that the new selection center will lie at the specified position. More...
 
void MoveAlongNormal (Mesh *mesh, double offset)
 Moves selected vertices along their normal by the specified offset. More...
 
void MoveVerticesAlongEdges (Mesh *mesh, double relative_offset)
 Moves selected vertices along selected edges by an offset relative to those selected edges. If a selected vertex is connected to multiple selected edges, the new position will be averaged between the individual offsets. More...
 
void MoveVerticesToEdgeLength (Mesh *mesh, double edge_length)
 Moves selected vertices along selected edges so that those edges obtain the specified length. If a selected vertex is connected to multiple selected edges, the new position will be averaged between the individual new positions. More...
 
void MoveVerticesToProjectedEdgeLength (Mesh *mesh, double projcted_edge_length, const Vec3d *projection_normal)
 Moves selected vertices along selected edges so that the projection of those edges into the plain with the specified normal obtain the specified length. If a selected vertex is connected to multiple selected edges, the new position will be averaged between the individual new positions. More...
 

Detailed Description

Tools to move the current selection or the current mesh.

Function Documentation

◆ Move()

void Move ( Mesh *  mesh,
const Vec3d *  offset 
)

Moves selected vertices.

◆ MoveAlongNormal()

void MoveAlongNormal ( Mesh *  mesh,
double  offset 
)

Moves selected vertices along their normal by the specified offset.

◆ MoveMeshTo()

void MoveMeshTo ( Mesh *  mesh,
const Vec3d *  new_position 
)

Moves the active mesh and its pivot, so that the pivot will be located on the specified position.

◆ MoveSelectionTo()

bool MoveSelectionTo ( Mesh *  mesh,
const Vec3d *  center 
)

Moves the selected elements so that the new selection center will lie at the specified position.

◆ MoveVerticesAlongEdges()

void MoveVerticesAlongEdges ( Mesh *  mesh,
double  relative_offset 
)

Moves selected vertices along selected edges by an offset relative to those selected edges. If a selected vertex is connected to multiple selected edges, the new position will be averaged between the individual offsets.

◆ MoveVerticesToEdgeLength()

void MoveVerticesToEdgeLength ( Mesh *  mesh,
double  edge_length 
)

Moves selected vertices along selected edges so that those edges obtain the specified length. If a selected vertex is connected to multiple selected edges, the new position will be averaged between the individual new positions.

◆ MoveVerticesToProjectedEdgeLength()

void MoveVerticesToProjectedEdgeLength ( Mesh *  mesh,
double  projcted_edge_length,
const Vec3d *  projection_normal 
)

Moves selected vertices along selected edges so that the projection of those edges into the plain with the specified normal obtain the specified length. If a selected vertex is connected to multiple selected edges, the new position will be averaged between the individual new positions.