Skip to main content

Crate geop_ops_surface

Crate geop_ops_surface 

Source
Expand description

Surface modelling: faces standing on their own — sheets — built from edges, offset, thickened, joined, trimmed and extended, as operations of a program (see [geop_core_editor::part_operation]):

  • BoundarySurface: the ruled face between two edges, or a closed loop of edges filled — a flat face for a flat loop, a Coons patch for four edges, optionally tangent to flat faces along them, and a patch of quadrilaterals around a center for any other number.
  • NetworkSurface: the face through a network of curves crossing each other, u curves and v curves, interpolating every one.
  • OffsetSurface: faces copied a distance along their normals.
  • Thicken: a sheet made a solid of one thickness, on either side of it or on both.
  • Knit: sheets whose edges meet joined into one, and into a solid once they close up.
  • TrimSurface: a sheet cut back to one side of a face.
  • ExtendSurface: a face standing on its own carried on past one of its edges.

What a sheet is offset and thickened with is the shell’s machinery (geop_lib_shell::shell()): a sheet thickened is a sheet shelled.

Re-exports§

pub use boundary::BoundarySurface;
pub use boundary::BoundarySurfaceArgs;
pub use extend::ExtendSurface;
pub use extend::ExtendSurfaceArgs;
pub use knit::Knit;
pub use knit::KnitArgs;
pub use network::NetworkSurface;
pub use network::NetworkSurfaceArgs;
pub use offset::OffsetSurface;
pub use offset::OffsetSurfaceArgs;
pub use thicken::Thicken;
pub use thicken::ThickenArgs;
pub use thicken::ThickenSide;
pub use trim::TrimKeep;
pub use trim::TrimSurface;
pub use trim::TrimSurfaceArgs;

Modules§

boundary
BoundarySurface: a face standing on its own, spanned by edges — the ruled face between two of them, or a closed loop of them filled.
examples
The examples of surfaces an editor offers: a doubly curved panel through a network of curves, a block split along it.
extend
ExtendSurface: a face standing on its own carried on past one of its edges.
knit
Knit: sheets whose edges meet, joined into one — and into a solid, once they close up.
network
NetworkSurface: a face standing on its own through a network of curves — curves in one direction, u, crossing curves in the other, v, each u curve every v curve once — interpolating all of them (see NurbSurface3D::gordon).
offset
OffsetSurface: faces copied a distance along their normals — the inner side of a shell (see geop_lib_shell::offset_faces).
thicken
Thicken: a sheet made a solid of one thickness — the sheet shelled (see geop_lib_shell::thicken).
trim
TrimSurface: a sheet cut back to one side of a face.

Functions§

register
Adds what this crate offers an editor to r: surfaces: boundary, offset, thickened, knit, trimmed, extended and network surfaces.

Type Aliases§

SheetSpec
A sheet to build, and the names of what it is made of.