0cf7df2763620e4d9ce06de5322c0140fb6d3582
Root cause: base _w2s mapped world-Z directly to screen-Y (which increases downward), placing the keel at the TOP of every viewer. BodyPlanViewer: - Override _w2s/_s2w/_fit_to_view to invert Y axis (keel now at bottom) - Fix section drawing: remove keel-appended B-spline closure that distorted the curve; close section with a straight lineTo(0,0) instead ProfileViewer: - Same Y-inversion overrides as BodyPlanViewer - Add _compute_buttock_pts() helper (interpolates Z at constant Y_b across all stations) and draw 3 buttock lines (B/4, B/2, 3B/4) as smooth curves in the profile view Buttocks, stations and waterlines now appear in their correct views: Body Plan → station cross-section curves, keel at bottom Profile → buttock curves (vertical long. sections), keel at bottom Plan View → waterline contours (unchanged) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
AR-ShipDesign
Software profesional de diseño naval para Windows.
Lo mejor de Maxsurf (rigor técnico, NURBS, suite completa) con la UX de DELFTship (árbol de capas, vista 3D, hidrostáticos siempre visibles, wizards paso a paso).
Características principales
- Diseño de cascos por superficies NURBS (buques a motor y veleros)
- Hidrostáticos en tiempo real
- Estabilidad intacta y en avería — criterios IMO IS Code 2008
- Escantillado estructural según ISO 12215
- Resistencia: Holtrop & Mennen, Savitsky, DSYHS y más
- VPP completo para veleros (polar diagram estilo ORC)
- Seakeeping por strip theory (Salvesen-Tuck-Faltinsen)
- Sistemas del buque: eléctrico, combustible, FW, CI, HVAC, gobierno
- Fabricación CNC: nesting + G-code (plasma / router / laser)
- Construcción de moldes en fibra de vidrio con schedule de laminado
Instalación rápida
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
python main.py
Requisitos
- Windows 10/11 (64-bit)
- Python 3.11+
- 4 GB RAM mínimo, 8 GB recomendado
Estado del proyecto
| Sprint | Módulo | Estado |
|---|---|---|
| 0 | Esqueleto + UI base + proyecto .arsd | ✅ Completo |
| 1 | Geometría NURBS + offsets + viewer 3D | 🔜 Próximo |
| 2 | Hidrostáticos básicos | ⏳ Pendiente |
| 3 | Equilibrio libre + estabilidad GZ | ⏳ Pendiente |
| ... | ... | ... |
Licencia
Copyright © 2025 Álvaro Rodríguez. Todos los derechos reservados.
Ver LICENSE.txt para detalles.
Description
Languages
Python
100%