scad2step
Convert an OpenSCAD file to a STEP file, from the command line. No Python knowledge required.
uvx scad2step yourfile.scad -o out.step
STEP is the standard interchange format nearly every CAD program (Fusion 360, SolidWorks, FreeCAD) reads as a real solid body with exact curves — unlike OpenSCAD's own STL export, which is always a mesh of flat triangles. scad2step gets this by handing your file to the real OpenSCAD program (so every language feature and library works exactly as it always has) and rebuilding the result on build123d's OpenCASCADE kernel instead of a mesh — see scad123d, which does the actual conversion work, for the details and the Python API.
Requirements
- uv — a package
manager for Python programs. It's what runs the
uvx scad2step ...command below, and installing it gets you everything else scad2step needs to run (including Python itself) automatically — no separate Python setup required. - The OpenSCAD program installed.
scad2step looks for it on your
$PATHand in the usual install locations automatically; if it's somewhere else, set$SCAD123D_OPENSCADto point at it directly.
Usage
uvx scad2step yourfile.scad -o out.step
Leave out -o and the output defaults to the input filename with a .step
extension:
uvx scad2step yourfile.scad # writes yourfile.step
Pass variable overrides the same way OpenSCAD's own -D flag does, if your
file has top-level variables you want to set from the command line (a -D name=value for each one):
uvx scad2step yourfile.scad -o out.step -D width=40 -D holes=6
Run uvx scad2step --help for the rest of the options (mesh fallback
behavior, timeout, etc.) — the defaults are right for almost everyone.
Installing it permanently
uvx runs scad2step without installing anything persistent. If you'd rather
have the command always available:
uv tool install scad2step
License
MIT
Metadata
Release files for scad2step 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scad2step-0.1.3.tar.gz | 93.7 kB | Without provenance | Details for scad2step-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scad2step-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for scad2step-0.1.3-py3-none-any.whl |
Total release size: 97.3 kB
Release files / scad2step-0.1.3.tar.gz
| Download URL | scad2step-0.1.3.tar.gz |
|---|---|
| Size | 93.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83158ff86d826f0236ac05f67d4bf9ae5351e7d8392aefc3fce23b7677172776
|
|
BLAKE2b-256 checksum How to use checksums |
66a4405634c509fa8bdfd2d4e6afabbb6005e92682fee77414337df8b3786586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Release files / scad2step-0.1.3-py3-none-any.whl
| Download URL | scad2step-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d468471f121348b410787b9c5d60e0ae5401f9903415461e457cb55eb2aa2571
|
|
BLAKE2b-256 checksum How to use checksums |
e20ecb7e1d33a6bfa0393b20257d3088a50a0ff578700ce6a038c5fbc37be28b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Security for scad2step 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.