Skip to main content

Module direct

Module direct 

Source
Expand description

Direct edits of a solid’s faces, its topology kept: MoveFace shifts faces, OffsetFace pushes or pulls them along their normals, and ReplaceFace puts a face on the surface of another. Each puts the faces on their new surfaces and rebuilds the solid around them (geop_lib_shell::replace_faces): every vertex and edge they reach moves to where the surfaces now meet, and every name is kept.

Structs§

DeleteFace
Takes the faces faces out of their solid, and leaves the gap as heal says: healed over by the faces around it — a hole, a boss or a pocket filled in, a chamfer or a fillet taken back to its sharp edge, a cut-off corner restored — or open, the rest of the solid a sheet. The solid is consumed; what is left is named delete_face(D) for the operation D, a sheet not at all, and every face, edge and vertex that stays keeps its name.
DeleteFaceArgs
MergeFaces
Takes out of the bodies bodies the topology they do not need: faces that lie on one surface — two blocks united flush leave two in one plane — made one, and vertices between two edges of the same two faces dropped, the edges made one (see geop_ops_model::NamedModel::merge_faces_on_one_surface). What is made one keeps the name of the oldest of what it is made of, and the others’ names stand for it.
MergeFacesArgs
MoveFace
Shifts the faces faces of a solid by translation, along the world’s x, y and z: each is put on its surface shifted, and the solid rebuilt around them — a face pulled out of a box makes it longer, a face of a hole shifted moves the hole. A face takes along the faces it runs smoothly into: the other pieces of a hole’s wall, a fillet along it. The solid is consumed and the result named move_face(M) for the operation M; every face, edge and vertex keeps its name.
MoveFaceArgs
OffsetFace
Pushes or pulls the faces faces of a solid distance along their outward normals — out of the solid for a positive distance, into it for a negative one: each is put on its surface offset, and the solid rebuilt around them. A face takes along the faces it runs smoothly into, offset as far: the other pieces of a cylinder, a fillet. The solid is consumed and the result named offset_face(O) for the operation O; every face, edge and vertex keeps its name.
OffsetFaceArgs
ReplaceFace
Puts the face face of a solid on the surface of the face with — of a sheet, or of another body — and rebuilds the solid around it: its neighbours trimmed or grown to where they meet the new surface. The solid is consumed and the result named replace_face(R) for the operation R; every face, edge and vertex keeps its name.
ReplaceFaceArgs

Enums§

HealGap
What DeleteFace leaves where the faces were.