✅ Completed January 3, 2026 - 2 Second Performance
The double envelope approach is now production ready. This method generates complete blade profiles by sectioning at two positions (front/back of blade thickness) and mosaicing the results.
Workflow Overview
DOUBLE ENVELOPE BLADE PROFILE WORKFLOW
┌─────────────────────────────────────────────────────────┐
│ PART (at compound angle) │
│ │
│ Step 1: fxBladeEnvelopeSection │
│ → Section at centerline → Outer boundary kurve(s) │
│ │
│ Step 2: fxBladeProfileVector (double-section) │
│ → Section at center - thickness/2 (back face) │
│ → Section at center + thickness/2 (front face) │
│ → Mosaic both envelopes together │
│ │
│ Step 3: fxValidateBladeProfile │
│ → Extrude kurves to blade thickness │
│ → Transform bodies to compound angle position │
│ → Visualize as blue solids inside part │
└─────────────────────────────────────────────────────────┘
Performance: ~2 seconds for complete workflow
Output: Multiple kurves (outer + inner boundaries)
Test Results (Jan 3, 2026)
Body 80 extents:
Min: (-10.51, -6.62, 4.98)
Max: (8.28, -0.04, 21.35)
Blade center: (-1.12, -3.33, 13.16)
Normal: (1, 0, 0) — vertical blade
Envelope 1 (back): 2 kurves
Envelope 2 (front): 2 kurves
Mosaic output: 10 kurves
Extruded: 6 bodies (4 kurves skipped - no area or too small)
All 6 bodies transformed to correct positions inside part.
Time: 2 seconds
Key Transform Matrix (for normal = (1,0,0))
1. translate x-centerX y-centerY z0 (move from (cx,cy,0) to origin)
2. rotate y90 (rotate XY plane to YZ plane)
3. translate xcenterX ycenterY zcenterZ (move to final position)
- ✓ Core double envelope generation
- ✓ Kurve filtering (skip if no spans, area < 1mm)
- ✓ Body transformation to compound angle
- ✓ Visual validation with blue solid bodies
- ○ Delete input kurves after extrusion (cleanup)
- ○ Optional union of touching bodies
- ○ Test with 10°, 30° compound angles
- ○ Add gravity offset to final profile
📦 Deliverables
fxBladeEnvelopeSection.ovm - Outer boundary from centerline slice
fxBladeMosaic.ovm - Combine envelope and clearance kurves
fxValidateBladeProfile.ovm - Extrude and transform validation solids
fxTestValidateBlade.ovm - Full workflow test
blade-profile-workflow.md - Comprehensive documentation