Parametric 3D CAD Generation for Assemblies & Parts Ready for P2 TET10 Meshing
Pre-meshability auditing, BOP self-intersection gates, seam-free circular sketches, and five downloadable 3D STEP models (turbine blade, helical gear, 20-part planetary gearbox, 73-part heat exchanger, 26-part gantry) verified with zero negative Jacobians.

Why CAD for simulation is harder than CAD for rendering
A 3D model can look clean on screen and still fail immediately when a finite element mesher tries to build a volume mesh — especially a quadratic isoparametric second-order mesh (`P2 TET10`). Mid-side edge nodes invert (negative Jacobian) on razor-sharp turbine trailing edges, degenerated periodic UV seams on swept pipes, and pinched ends of helical springs.
In WebCAE, CAD generation and STEP inspection (cad-authoring) are engineered from the ground up for meshability and multi-body FEA physics: every part and assembly runs through topological, interference, and pre-mesh checks before hitting the solver.
Four automated geometry and assembly checks
- Real self-intersection check (`BOPAlgo_CheckerSI`): standard Open CASCADE
BRepCheck_Analyzercan reportvalideven on self-intersecting 3D sweeps and twisted lofts. WebCAE runsBOPAlgo_CheckerSIby default and flags intersecting faces loudly before meshing. - Strict STEP roundtrip: the exported
model.stepis re-imported back and audited for open edges, non-manifold edges, positive signed volume, center-of-mass drift, and bounding-box tolerance withinmax(0.05, 0.002 * bbox). - Pre-mesh meshability audit (`audit_meshability`): inspects B-Rep edges and faces against four
Netgen P1/P2hazards — micro-edges (< 0.05 mm), sliver/high-aspect faces (< 0.01 mm²or estimated width< 0.05 mm), sharp wedge dihedral angles (< 3.0°along midpoint PCurve normals), and closed periodic BSpline UV seams. Every entity is reported canonically assurface number N/edge number N. - Multi-body assembly inspection (`inspect_assembly`, `check-assembly`): detects floating disconnected parts (
--require-connected), evaluates exact radial interference on cylindrical/conical fits instead of misleading bounding-box offsets, selects the largest-radius bore axis (extract_axis) rather than minor perimeter bolt holes, and chains full 3D transforms (align_to,mate_align).
Mesh-safe B-Rep builders (cad-authoring/library/common.py)
To avoid broken topology at construction time, WebCAE includes dedicated CAE-safe builders:
make_split_circle_sketch— constructs circular and annular cross-sections from two180°arcs instead of a closed periodic seam;make_helical_spring— sweeps helical springs across half-turn BSpline segments with groundC1flat ends and zero knife-edge slivers;make_involute_gear_solid— parametric spur and helical involute gears;safe_sweep,safe_fillet,safe_chamfer,safe_shellwith failingedge number Ndiagnostics, plusheal_shape_occt/cad_cli heal-step.
Five verified 3D parts and assemblies (download .step)
All five STEP models below pass audit_meshability, open directly in WebCAE in the browser or desktop app, and mesh cleanly with Netgen up to `P2 TET10` with zero negative Jacobians (`NegJac = 0`).
| Model | Scope & bbox (mm) | Faces / Edges | Pre-mesh audit | P2 TET10 mesh (NegJac / Vol Err) | Download 3D .step |
|---|---|---|---|---|---|
Hollow twisted turbine blade (P1_hollow_twisted_blade) | 1 body (52 x 30 x 98) | 18 / 45 | ok (min_edge=0.533 mm, min_wedge=14.64°) | PASS (0 / 0.17%) | Download `.step` (422.1 KB) |
Helical splined gear (P4_helical_gear_splined) | 1 body (55.4 x 55.4 x 18) | 266 / 792 | ok (min_edge=0.272 mm, min_wedge=71.38°) | PASS (0 / 0.17%) | Download `.step` (1.2 MB) |
Planetary gearbox (20 parts) (A1_planetary_gearbox_20part) | 20 solids (116 x 116 x 50) | 698 / 1974 | ok (min_edge=0.337 mm, min_wedge=90.0°) | PASS (0 / 0.48%) | Download `.step` (2.6 MB) |
Shell-and-tube heat exchanger (73 parts) (A3_shell_tube_exchanger_73part) | 73 solids (240 x 240 x 240) | 388 / 654 | ok (min_edge=2.0 mm, 1 connected component) | PASS (0 / 0.00%) | Download `.step` (1.0 MB) |
Steel portal gantry (26 parts) (steel_gantry_26part_solid) | 26 solids (4000 x 2000 x 3018) | 264 / 636 | ok (I-beams, box girders, braces, deck) | PASS (0 / 0.13%) | Download `.step` (854.0 KB) |
Showcase 1: Hollow twisted turbine blade (P1_hollow_twisted_blade)
Lofted across four spanwise NACA stations (42 -> 28 mm chord, 28° twist) with an internal cooling cavity (2.4 mm wall offset) fused to a dovetail root. Blunting the trailing edge (0.55 / 0.35 mm) lifts the minimum wedge dihedral angle to 14.64°, yielding a clean P2 TET10 mesh with 0.17% volume error and zero inverted elements.

Download `P1_hollow_twisted_blade.step` (422.1 KB)
Showcase 2: Helical splined gear (P4_helical_gear_splined)
A helical involute gear with internal spline teeth generates 266 B-Rep faces and 792 edges (min_edge = 0.272 mm, min_wedge = 71.38°), meshing cleanly in P2 TET10 (NegJac = 0, minSICN = 0.022, volume error 0.17%).

Download `P4_helical_gear_splined.step` (1.2 MB)
Showcase 3: 20-part planetary gearbox (A1_planetary_gearbox_20part)
Twenty solid components — sun gear, three phase-aligned planet gears with bushings and pins, internal ring gear, carrier, input shaft, housing, and six cover fasteners (698 faces) — validated for coaxial alignments and controlled >= 0.01 mm tooth mesh clearance, with P2 TET10 volume error 0.48%.

Download `A1_planetary_gearbox_20part.step` (2.6 MB)
Showcase 4: 73-part shell-and-tube heat exchanger (A3_shell_tube_exchanger_73part)
Shell cylinder, two tubesheets, two bolted flanges, a 19-tube bundle, and bolted fasteners (73 solids, 388 faces, single connected component) — meshed across all 73 solids in P2 TET10 with 0.00% volume discrepancy and zero negative Jacobians.

Download `A3_shell_tube_exchanger_73part.step` (1.0 MB)
Showcase 5: 26-part steel portal gantry (steel_gantry_26part_solid)
A multi-part industrial frame combining I-beam columns and longitudinal girders, box-section crossbeams, tubular diagonal braces, steel deck plate, and stiffening ribs (26 solids, 264 faces). Want to see how WebCAE reduces this entire 26-part solid assembly down to a conformal 1D Beam + 2D Shell model? Read our companion case study: Simplifying a 26-part 3D solid assembly to 1D–2D.

Download `steel_gantry_26part_solid.step` (854.0 KB)
Reproducing checks via CLI
# Build a multi-part script with strict connectivity and meshability gates
python cad-authoring/cad_cli.py build-script --script-file my_assembly.py --out-dir artifacts/my_assembly --require-connected --strict-meshability
# Inspect an external STEP file for B-Rep validity, CheckerSI, and slivers
python cad-authoring/cad_cli.py inspect-step --step model.step --check-meshability
python cad-authoring/cad_cli.py check-assembly --step assembly.step --require-connected
# Heal STEP tolerances and unify coplanar faces before meshing
python cad-authoring/cad_cli.py heal-step --step raw.step --out-step healed.step