Skip to main content

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)

Metadata

Release files for stl2cad 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stl2cad 0.2.0
File Size Uploaded
stl2cad-0.2.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stl2cad 0.2.0
File Interpreter ABI Platform
stl2cad-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / stl2cad-0.2.0.tar.gz

Download URL stl2cad-0.2.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
45db19582da1a5eecf963b514789e280a2e23db248d997d5d21ffdcc7ae1f78e
BLAKE2b-256 checksum
How to use checksums
1c8376da1bcaa64d044341d5e93458322ce0bce012d688b110c35dd4befd4c84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.10

Release files / stl2cad-0.2.0-py3-none-any.whl

Download URL stl2cad-0.2.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39943c0ea854141feaa34c4f772383aeaed942c4e10258c0d7a07696618b0d77
BLAKE2b-256 checksum
How to use checksums
5677e86f9780a881f7970fb3801638e8444cf12d5fb380a751c08d12a1f7cbaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page