A local CAD automation tool for generating surfboard vacuum-table suction holes and capsule slots from DXF outlines.
Chinese · Quickstart · Features · Tech Stack
Manual DXF editing is slow and error-prone when suction holes and capsule slots must follow a curved board edge.
This tool turns an outline selection into repeatable machining geometry with preview guides and export controls.
- Upload and preview surfboard outline DXF files.
- Generate rays, suction holes, and capsule slots from selected edges.
- Tune ray, hole, slot, gap, symmetry, and no-slot parameters.
- Separate preview guides from real machining geometry.
- Windows launcher and packaging materials for local shop use.
- Upload a DXF outline.
- Select target edges in the browser preview.
- Adjust generation parameters and preview the result.
- Export a new DXF containing only machining geometry.
Run the project locally with the commands below.
git clone https://github.com/Ha22yX/dxf-auto-shape-tool.git
cd dxf-auto-shape-tool
pip install -r requirements.txt
python main.pyOn Windows, scripts/windows/start-manager-hidden.vbs launches the local service manager.
| Item | Purpose |
|---|---|
| Input DXF | Use clean outlines and verify selected edges before export. |
| Geometry parameters | Adjust hole/slot spacing, symmetry, and no-slot zones for the fixture. |
| Export | Inspect generated DXF in CAD/CAM software before machining. |
| Packaging | Use Windows scripts/PyInstaller materials for local workstation deployment. |
| Layer | Technology | Role |
|---|---|---|
| Backend | FastAPI, Python | DXF processing and local web service. |
| Geometry | ezdxf, custom helpers | Load outlines and generate machining entities. |
| Frontend | HTML, CSS, JavaScript, SVG | Interactive preview and parameter panel. |
| Packaging | Windows scripts / PyInstaller | Local launcher and executable path. |
backend/ FastAPI service and DXF engine
frontend/ browser UI and SVG viewer
scripts/windows/ local service launchers
packaging/ PyInstaller spec and build script
docs/assets/Pic.png README interface screenshot
tests/ geometry, DXF, click, and websocket tests
Practical manufacturing helper for a specific surfboard vacuum-table workflow, not a general-purpose CAD package.
No project-wide open-source license has been declared yet.
