Files
solidcraft/crates/step/src/lib.rs
T
Brennen HerbruckandClaude Opus 5.5 54b10b9a32 solidcraft-step: STEP topology into schema 4 B-rep records
read_solids walks MANIFOLD_SOLID_BREP, BREP_WITH_VOIDS and SHELL_BASED_SURFACE_MODEL
into solidcraft_geom::brep records: lines, conics, B-splines and polylines; planes, the
analytic surfaces and B-spline surfaces; edge intervals from the vertices' parameters;
loops relative to the surface's natural normal; outer loops, regions, voids and sheets;
pcurves from the 3D edges; the canonical order. Unsupported geometry refuses its solid
with a reason and the rest of the file is still read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 02:28:44 -04:00

19 lines
726 B
Rust

//! STEP (ISO 10303) for SolidCraft, independent of any modelling backend. [`p21`] reads the
//! exchange structure, [`read`] turns its geometry entities into the plain curves and surfaces
//! of [`geom`], and [`write`] writes them back. Written from the public ISO 10303-21 and -42
//! specifications. [`topology`] reads solids (vertices to shells) into the kernel-neutral B-rep,
//! schema 4, and [`units`] the units of a representation context.
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
#![forbid(unsafe_code)]
mod eval;
pub mod geom;
pub mod p21;
pub mod read;
pub mod topology;
pub mod units;
pub mod write;
#[cfg(test)]
mod geom_tests;