1#![allow(rustdoc::private_intra_doc_links)]
37use serde::{Deserialize, Serialize};
38#[allow(unused_imports)]
39use wasm_bindgen::prelude::*;
40#[macro_use]
41extern crate brep_geometry;
42#[allow(unused_imports)]
43#[doc(no_inline)]
44pub use brep_geometry::*;
45#[macro_use]
46extern crate brep_topology;
47#[allow(unused_imports)]
48#[doc(no_inline)]
49pub use brep_topology::*;
50#[macro_use]
51extern crate brep_boolean;
52#[allow(unused_imports)]
53#[doc(no_inline)]
54pub use brep_boolean::*;
55
56#[path = "construction/solid_sweep.rs"]
57#[doc(hidden)]
58pub mod solid_sweep;
59pub use solid_sweep::{
60 sweep_solid_within, OutlinePiece, ScrewStep, SolidMotion, SweepClip, SweptTool, SOLID_SWEEP_REFUSAL,
61};
62#[path = "construction/solid_sweep_bar.rs"]
63mod solid_sweep_bar;
64#[path = "construction/solid_sweep_caps.rs"]
65#[doc(hidden)]
66pub mod solid_sweep_caps;
67pub use solid_sweep_caps::{sweep_solid, sweep_prism_along, sweep_solid_along, sweep_solid_clipped, sweep_solid_parts, sweep_solid_rising, sweep_solid_tumbled, FrameCurve, RisingTurn, TwoTurns, SolidTool, SOLID_SWEEP_WHOLE_REFUSAL};
68#[path = "geometry/closed_curves.rs"]
69#[doc(hidden)]
70pub mod closed_curves;
71pub use closed_curves::{make_ellipse, make_ellipse_arc, make_ellipsoid_brep, make_periodic_bspline};
72#[path = "construction/surface_faces.rs"]
73#[doc(hidden)]
74pub mod surface_faces;
75pub use surface_faces::{face_from_surface, face_from_surface_trimmed, solid_from_sheets, SURFACE_FACE_REFUSAL};
76#[path = "construction/polygon_solids.rs"]
77#[doc(hidden)]
78pub mod polygon_solids;
79pub use polygon_solids::{make_pyramid_on_polygon, solid_from_polygons};
80#[path = "construction/loft_guide_chain.rs"]
81#[doc(hidden)]
82pub mod loft_guide_chain;
83pub use loft_guide_chain::loft_profile_brep_guided_chain;
84#[path = "construction/loft_guides.rs"]
85#[doc(hidden)]
86pub mod loft_guides;
87pub use loft_guides::{loft_profile_brep_on_guide_chains, loft_profile_brep_on_guides, loft_profile_brep_on_loose_guide_chains, GuideLoftWall, LOFT_ON_GUIDES_REFUSAL};
88#[path = "construction/extrude_up_to.rs"]
89#[doc(hidden)]
90pub mod extrude_up_to;
91pub use extrude_up_to::{extrude_profile_up_to_face, solid_pieces, EXTRUDE_UP_TO_REFUSAL};
92#[path = "construction/sweep_round_corners.rs"]
93#[doc(hidden)]
94pub mod sweep_round_corners;
95pub use sweep_round_corners::{sweep_profile_round_corners, SWEEP_ROUND_CORNERS_REFUSAL};
96#[path = "construction/sweep_ellipsoid.rs"]
97#[doc(hidden)]
98pub mod sweep_ellipsoid;
99pub use sweep_ellipsoid::sweep_ellipsoid_along_line;
100#[path = "construction/sweep_topology.rs"]
101#[doc(hidden)]
102pub mod sweep_topology;
103pub use sweep_topology::is_sweep_tight_bend;
104pub use sweep_topology::{
105 extrude_profile_brep, extrude_profile_brep_draft, fit_helix_curve, helix_sample_points,
106 profile_anchor, rib_from_profile, sweep_bend_profile, sweep_closure, BendStation,
107 JointContinuity, PathJoint, SweepClosure,
108 RibExtrusion, RibNames, SweepPath, MAX_JOINT_TANGENT_BREAK, SWEEP_TIGHT_BEND_REFUSAL,
109 SWEEP_TWIST_CLOSURE_REFUSAL,
110 build_swept_envelope, recognize_swept_envelope, swept_envelope_volume, SweptEnvelope,
111 SWEEP_ENVELOPE_REFUSAL, sweep_envelope_bodies,
112 sweep_profile_along_chain, sweep_profile_along_chain_reported,
113 sweep_profile_along_chain_with_stations, sweep_profile_along_chain_with_stations_reported,
114 sweep_profile_along_path,
115 sweep_profile_along_path_anchored,
116 sweep_profile_helix,
117 sweep_profile_twisted, sweep_profile_twisted_anchored, sweep_profile_twisted_scaled,
118 ProfileAnchor, SectionPlacement,
119 StationBudget, SweepStationReport, SweptChain, SWEEP_DEFAULT_TOLERANCE, SWEEP_MAX_STATIONS,
120 SWEEP_REFINEMENT_ROUNDS,
121};
122#[path = "construction/revolve_topology.rs"]
123#[doc(hidden)]
124pub mod revolve_topology;
125pub use revolve_topology::{revolve_profile_brep, revolve_profile_brep_named};
126#[path = "construction/loft_topology.rs"]
127#[doc(hidden)]
128pub mod loft_topology;
129pub use loft_topology::{
130 loft_profile_brep, loft_profile_brep_closed, loft_profile_brep_guided,
131 loft_profile_brep_guided_frame, loft_profile_brep_tangent,
132};
133pub use loft_topology::loft_profile_brep_closed_shifted;
134
135#[doc(hidden)]
137pub const SOURCE_HASH: Option<&str> = option_env!("BREP_KERNEL_SOURCE_HASH");