Skip to content

Releases: gsdali/curveplate

v0.1.1

26 Dec 09:15

Choose a tag to compare

Changes

  • Updated license format in pyproject.toml to SPDX expression
  • Added PyPI publish workflow with trusted publishing
  • Added acknowledgment section in README for Claude Code

Installation

pip install curveplate

For 3D STEP export:

pip install curveplate[stp]

Full Changelog: v0.1.0...v0.1.1

v0.1.0 - Initial Release

26 Dec 04:28

Choose a tag to compare

Curveplate v0.1.0

Generate model railway flexible track laying templates as DXF, PDF, and 3D STP files.

Features

  • Straight templates: Simple rectangles with specified gauge and length
  • Curve templates: Arc segments with configurable radius and angle
  • Transition templates: Clothoid/Euler spiral curves with perpendicular end caps
  • 3D STEP export: Extruded templates for CNC milling or 3D printing

Output Formats

  • DXF: For CAD software, laser cutting, CNC
  • PDF: For printing templates at 1:1 scale
  • STP/STEP: 3D solid for milling or 3D printing (requires pip install curveplate[stp])

Installation

pip install curveplate

For 3D STEP export:

pip install curveplate[stp]

Quick Start

# Straight template, 9mm gauge, 100mm length
curveplate -g 9 -t s -l 100

# Curve template, 45° arc, 300mm radius
curveplate -g 16.5 -t c -r 300 -a 45 --right

# Transition curve with 3mm thick 3D export
curveplate -g 9 -t t -r 200 -l 150 --left -3D 3

Requirements

  • Python >=3.13

Full Changelog

See CHANGELOG.md