Skip to main content

Crate geop_ops_edit

Crate geop_ops_edit 

Source
Expand description

Edits of the bodies a part already has, as operations of a program (see [geop_core_editor::part_operation]):

  • DeleteBody: delete solids and faces standing on their own.
  • ExtractFace: copy a face out of its body into a face standing on its own — what a solid can be split with.
  • MoveFace, OffsetFace, ReplaceFace, DeleteFace: direct edits of a solid’s faces — shifted, pushed or pulled along their normals, put on another face’s surface, taken out and healed over or left open — the solid rebuilt around them.

Re-exports§

pub use delete::DeleteBody;
pub use delete::DeleteBodyArgs;
pub use direct::DeleteFace;
pub use direct::DeleteFaceArgs;
pub use direct::HealGap;
pub use direct::MergeFaces;
pub use direct::MergeFacesArgs;
pub use direct::MoveFace;
pub use direct::MoveFaceArgs;
pub use direct::OffsetFace;
pub use direct::OffsetFaceArgs;
pub use direct::ReplaceFace;
pub use direct::ReplaceFaceArgs;
pub use extract::ExtractFace;
pub use extract::ExtractFaceArgs;

Modules§

delete
DeleteBody: delete whole bodies — solids, and sheets of faces standing on their own — from the part.
direct
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.
extract
ExtractFace: copy a face out of its body, into a face standing on its own.

Functions§

register
Adds what this crate offers an editor to r: deleting bodies, extracting faces, and moving, offsetting and replacing faces.