Commit Graph
34 Commits
Author SHA1 Message Date
Antoine Anceau 5aaf9cf1a0 test(integrity): add comprehensive silhouette integrity test suite
- Tests for CSV/DXF loading, validation, and stability integration

- Verifies stale calculator fix

- Ensures robust error handling
2026-02-11 17:27:46 +01:00
Antoine Anceau 8926cac482 feat(bindings): expose vessel and tank displacement in Python
Updates PyHydrostaticState to reflect new Rust fields and removes hull_displacement.
2026-02-11 09:56:25 +01:00
Antoine Anceau c34273f2ab feat(api): integrate TankOptions into stability calculator 2026-02-11 09:43:24 +01:00
Antoine Anceau 962b94b97e feat(bindings): expose new hydrostatics API to Python
Updates Python bindings and type stubs for from_draft and from_displacement
2026-02-11 09:06:57 +01:00
Antoine Anceau 21a95fb4ee feat(python): add TankOptions support to from_displacement 2026-02-09 19:07:33 +01:00
Antoine Anceau 5ecd1fb91a docs: add FSM configuration methods to python type stubs and documentation 2026-02-09 18:41:38 +01:00
Antoine Anceau 4ad560ea24 fix: implement robust equilibrium solver with fallback and fix VCG handling logic 2026-02-07 10:55:08 +01:00
Antoine Anceau c02f31cd82 docs: fix Y axis convention in Tank.from_box docstring 2026-02-06 15:03:10 +01:00
Antoine Anceau 6c160eab8a style: fix python and rust lint errors 2026-02-04 18:27:46 +01:00
Antoine Anceau 3c60e4fe95 feat(visualization): add 3D visualization support for Appendages and Deck Edges
- Add get_mesh_data() and bounds property to PyAppendage
- Update visualization.py to render appendages (mesh, box, sphere, point) and deck edges
- Update __init__.py to export new classes
- Fix compilation issues in python.rs
2026-02-04 17:06:50 +01:00
Antoine Anceau 1480efba2c feat(python): update type stubs for hydrostatics enhancements
- Add Appendage, DeckEdge, DeckEdgeSide class definitions
- Update Vessel with new management methods
- Update HydrostaticState with sectional_areas and freeboard fields
- Update HydrostaticsCalculator.from_draft signature via optional num_stations parameter
2026-02-04 17:06:50 +01:00
Antoine Anceau 29b1795b40 docs: add comprehensive CriteriaContext method documentation to type stubs
Documents all Rhai-available methods on CriteriaContext in navaltoolbox.pyi for improved IDE support.
2026-02-04 12:23:40 +01:00
Antoine Anceau 78ba62f669 fix(scripting): repair remaining Rhai scripts and documentation examples
Wrapped all scripts in required 'check' function, fixed scope issues, resolved complexity limits in complete script, and added comprehensive tests.
2026-02-04 12:19:14 +01:00
Antoine Anceau f781dac828 fix: update Rhai method registration to use closures for proper dispatch
This resolves the 'Function not found' error by explicitly wrapping methods in closures, ensuring proper type handling for custom types in Rhai.
2026-02-04 12:04:15 +01:00
Antoine Anceau 6efb18bfba feat: optimize gz calculation and expose mesh simplification
- Implement Newton-Raphson solver for faster draft finding.
- Implement mesh simplification using meshopt for faster GZ computation.
- Expose simplify and to_simplified methods to Python.
- Fix Rust clippy warnings and update documentation.
2026-01-26 21:31:06 +01:00
Antoine Anceau 9520100922 fix: pass Python linter. 2026-01-26 18:56:41 +01:00
Antoine Anceau fff928deb5 feat: implement interactive 3D visualization using Plotly and update documentation 2026-01-26 15:53:23 +01:00
Antoine Anceau 60aeced43e feat: implement from_drafts method and expose draft at AP/FP/MP. 2026-01-26 10:21:32 +01:00
Antoine Anceau c423335804 docs: update documentation, examples and fix plotting mypy error 2026-01-26 09:23:13 +01:00
Antoine Anceau ef5df70a2d feat: add name parameter to DownfloodingOpening.from_file 2026-01-26 09:22:46 +01:00
Antoine Anceau 1f321deb62 feat: add stability scripting capabilities 2026-01-23 12:17:52 +01:00
Antoine Anceau 2bf26b0a05 feat: Add KN curve and rename function for gz curve and complete stability. 2026-01-23 09:55:55 +01:00
Antoine Anceau bba599d1e3 refactor: Rename functions in HydrostaticsCalculator 2026-01-22 21:54:54 +01:00
Antoine Anceau a2755778a3 doc: General doc update 2026-01-21 19:17:52 +01:00
Antoine Anceau ed9e15bbdb feat: Parallelize GZ curve calculation in Rust using Rayon and add a comprehensive Python binding test for box hull stability. 2026-01-21 12:05:12 +01:00
Antoine Anceau 75a961db68 refactor: improve code formatting and add Python linter. 2026-01-21 11:28:32 +01:00
Antoine Anceau e0107d1343 feat: Implement waterplane properties, stability calculations with free surface correction, and add waterplane module. 2026-01-19 12:54:48 +01:00
Antoine Anceau 6f9aa8d1fa feat: Add comprehensive project README and update pyproject.toml. 2026-01-19 10:34:15 +01:00
Antoine Anceau b44ca8f741 fix: Enhance STL loading robustness by pre-loading files into memory to handle corrupted binary headers, with new Python tests. 2026-01-19 09:40:16 +01:00
Antoine Anceau 718fce3408 chore: Bump project version to 0.1.0 in Cargo.toml and update Cargo.lock. 2026-01-18 18:13:44 +01:00
Antoine Anceau 1945af7bf2 chore: Update repository links to the NavalToolbox organization and enrich project metadata and documentation. 2026-01-18 15:13:55 +01:00
Antoine Anceau 7e66076f81 ci: remove Python 3.14 from the CI workflow matrix. 2026-01-18 14:36:53 +01:00
Antoine Anceau 535f045596 Fix: correct newline character usage in test print statements. 2026-01-17 22:48:07 +01:00
Antoine Anceau 6133809064 Initial commit 2026-01-17 20:00:44 +01:00