Skip to content

Repository files navigation

Surfboard Vacuum Table DXF Generator

A local CAD automation tool for generating surfboard vacuum-table suction holes and capsule slots from DXF outlines.

Chinese · Quickstart · Features · Tech Stack

Python: FastAPI CAD: DXF Automation: manufacturing

Surfboard Vacuum Table DXF Generator overview image

Surfboard vacuum table DXF generator interface screenshot

Overview

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.

Features

  • 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.

How It Works

  1. Upload a DXF outline.
  2. Select target edges in the browser preview.
  3. Adjust generation parameters and preview the result.
  4. Export a new DXF containing only machining geometry.

Quickstart

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.py

On Windows, scripts/windows/start-manager-hidden.vbs launches the local service manager.

Configuration

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.

Tech Stack

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.

Project Layout

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

Status

Practical manufacturing helper for a specific surfboard vacuum-table workflow, not a general-purpose CAD package.

License

No project-wide open-source license has been declared yet.

About

DXF generator for surfboard vacuum-table suction holes and capsule slots.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages