Parametric hydrofoil design, analysis and printable molds, as six custom features in one Onshape Feature Studio. Give it an area, an aspect ratio and a handful of shape choices, and it builds the front wing, stabiliser, mast and fuselage, runs a speed sweep of lift, drag, trim, stability, structure and power, and then generates 3D-printable mold shells, a layup schedule and fabric cutting templates to build the parts in carbon.
By JB69. Build 245.
Read this first. This is a modelling exercise by someone who designs props, not a foil builder. It started as a side quest to the B-series propeller blade generator: sizing a prop needs a drag curve, a drag curve needs a foil, and a nine-hour flight turned that into this. Every number it produces is a steady-state estimate: one speed, one weight, flat water, a rider who doesn’t move. Trust the trend from one variant to the next. Treat absolute numbers, stall speed especially, as optimistic until you’ve calibrated them against a foil you’ve ridden. The guide explains how.
| Folder / file | What it is |
|---|---|
foil_design.fs |
The Feature Studio source. Only needed for your own copy; the published features are added in Onshape by searching custom features for Foil designer. |
docs/Foil_Design_Tool_Guide.pdf |
The user guide: every feature, every parameter, how to read the results, design and building notes, a worked example |
docs/manual.md |
The guide’s source, readable here on GitHub |
foil-design.zip |
All of the above as one download: foil-design.zip |
docs/parameters.md |
Every dialog field with its limits, default and tooltip |
assistant/ |
An AI assistant skill that reads the tool’s output and suggests what to change next, for Claude, ChatGPT and others |
examples/ |
A full console log and speed sweep from the worked example, to try the assistant on |
LICENSE |
CC BY-NC-SA 4.0 |
Onshape only publishes custom features, so that they appear in its custom feature search, if the document is public, each feature has a description, and the document includes a PDF explaining how to use them. docs/Foil_Design_Tool_Guide.pdf is that PDF: it lives in the public Onshape document beside the Feature Studio, and right-clicking a feature in Onshape and choosing Open linked document takes you to it.
Used in this order in a Part Studio:
foil_design.fs.assistant/ holds a skill for AI assistants. Paste your console log and it explains the results, checks them against target ranges, and recommends a few changes in the dialog’s own labels, with the expected effect and the cost.
assistant/foil-design-assistant.skill.assistant/foil-design-assistant-portable.md as a custom GPT’s instructions, with docs/parameters.md and assistant/scripts/ as knowledge and Code Interpreter on.parameters.md at the start of a chat.Details are in assistant/README.md and section 10.3 of the guide.
Print each mold tile standing on its spanwise end, so every layer carries the section profile and the cavity is drawn smoothly. PLA works for wing and stab molds with a slow hardener and a room-temperature cure; PETG for the mast mold and anything post-cured. Settings and finishing are in section 6.4 of the guide.
This repository: https://github.com/jb69/Foil-Design-Tool.
Discussion is on foil.zone: Going down a rabbit hole: parametric foil design and printable molds in Onshape. Measured drag, deflection or take-off speeds on a known foil are the most useful thing anyone can send: they’re how the model gets calibrated.
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You may share and adapt this work for non-commercial purposes, with credit to JB69, under the same licence. See LICENSE.