Skip to main content

Convert STL to CAD formats.

Project description

STL2CAD

A lightweight utility to convert STL files into CAD formats.

stl2cad geometry.stl -o geometry.step

Dependencies

The stl2cad package depends on FreeCAD, which can be downloaded here. The FreeCAD Python modules must also be on the Python path for stl2cad to work.

An example script of downloading and setting up FreeCAD in a Linux environment is provided below.

mkdir freecad
cd freecad

wget https://github.com/FreeCAD/FreeCAD/releases/download/1.0.0/FreeCAD_1.0.0-conda-Linux-x86_64-py311.AppImage

chmod -v +x ~/Downloads/FreeCAD_*.AppImage
./FreeCAD_*.AppImage --appimage-extract

To Do

  • clarify and test example install script (need to add to path)
  • add better examples
  • add tests
  • allow saving multiple formats in one go (more efficient)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stl2cad-0.2.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stl2cad-0.2.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file stl2cad-0.2.0.tar.gz.

File metadata

  • Download URL: stl2cad-0.2.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for stl2cad-0.2.0.tar.gz
Algorithm Hash digest
SHA256 45db19582da1a5eecf963b514789e280a2e23db248d997d5d21ffdcc7ae1f78e
MD5 592a5ecd16a8d6e93c73dda08eea3687
BLAKE2b-256 1c8376da1bcaa64d044341d5e93458322ce0bce012d688b110c35dd4befd4c84

See more details on using hashes here.

File details

Details for the file stl2cad-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: stl2cad-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for stl2cad-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39943c0ea854141feaa34c4f772383aeaed942c4e10258c0d7a07696618b0d77
MD5 3a697eccaec465881c6b59175756bafa
BLAKE2b-256 5677e86f9780a881f7970fb3801638e8444cf12d5fb380a751c08d12a1f7cbaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page