diff --git a/README.md b/README.md index bf9d3a4..b1af56b 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ The calculations are engineering approximations. They are not CFD, FEM, wave dyn - `simulation/CMakeLists.txt` — native build configuration - `reports/chrono_rudder_dry_report.json` — verified headless sweep result - `tools/chrono_report_viewer.py` — browser visualization of the verified sweep +- `reports/freecad_yacht_chrono_viewer.html` — full FreeCAD-derived yacht viewer with rudder sweep - `docs/chrono_ubuntu.md` — Ubuntu and Docker instructions - `Dockerfile.chrono` — reproducible headless Chrono build diff --git a/docs/chrono_ubuntu.md b/docs/chrono_ubuntu.md index 6ab7765..81d6c05 100644 --- a/docs/chrono_ubuntu.md +++ b/docs/chrono_ubuntu.md @@ -19,16 +19,35 @@ LD_LIBRARY_PATH="$PWD/.chrono-build-install/lib" ./simulation/build/chrono_rudde The numerical report is written to `reports/chrono_rudder_dry_report.json`. -## Result visualization +## Full FreeCAD yacht viewer -The current checked-in executable is a headless Multibody verification. It does not open an Irrlicht/VSG window. To view the verified result as an animated browser diagram: +The full yacht is present as `MiniMaxHull.FCStd`; its FreeCAD-derived STL exports are in `stl/`. Start the viewer from the repository root: + +```bash +python3 -m http.server 8000 +``` + +Open `http://127.0.0.1:8000/reports/freecad_yacht_chrono_viewer.html`. The page imports the hull, hatch, keel, mast/boom, sails, and rudder, then overlays the Chrono rudder sweep. Orbit and zoom with the mouse; use the slider or `Play Chrono sweep`. + +For direct CAD inspection: + +```bash +sudo apt install -y freecad +freecad MiniMaxHull.FCStd +``` + +The browser viewer uses geometry exported from the FreeCAD document. The checked-in Chrono executable remains headless and supplies the measured servo/linkage results; the CAD geometry and solver collision model are intentionally kept separate. + +## Report visualization + +The numerical report is written to `reports/chrono_rudder_dry_report.json`. The smaller report diagram remains available: ```bash python3 tools/chrono_report_viewer.py python3 -m http.server 8000 --directory reports ``` -Open `http://127.0.0.1:8000/chrono_rudder_visualization.html` in Ubuntu. The diagram animates the three Chrono cases and displays the servo angle, rudder angle, and measured reaction torque. It is a report visualization, not a 3D renderer and not a substitute for contact visualization. +Open `http://127.0.0.1:8000/chrono_rudder_visualization.html` for the measured linkage diagram. ## Docker diff --git a/reports/freecad_yacht_chrono_viewer.html b/reports/freecad_yacht_chrono_viewer.html new file mode 100644 index 0000000..97a84d7 --- /dev/null +++ b/reports/freecad_yacht_chrono_viewer.html @@ -0,0 +1,39 @@ + + + + +MiniMaxHull — FreeCAD geometry + Chrono rudder sweep + + + +
MiniMaxHull
FreeCAD-exported hull, hatch, keel, mast/boom, sails and rudder
Loading STL geometry…
+
Servo command: 0.00 rad

+ + + +