Programmable 3D modeling library in pure Python
Project description
ThreeDimensions
ThreeDimensions is a programmable 3D modeling library for Python.
Version: 1.1.1
The package is now Python-only. No C++ extension build is required at install or runtime.
Installation
pip install .
Viewer extras (optional):
pip install ".[viewer]"
Quick Start
import threedimensions as td
mesh = td.create_cube(1.0)
mesh.extrude(distance=0.2)
mesh.bevel(width=0.05)
mesh.subdivide(1)
mesh.save("model.obj")
Python API Highlights
- Primitives:
create_cube,create_plane,create_grid,create_sphere,create_uv_sphere,create_icosphere,create_cylinder,create_cone,create_torus - Mesh editing: extrude, inset, bevel, bridge, fill, grid fill, subdivide, loop cut, knife, bisect, spin, screw, solidify, wireframe
- Transforms and deformation: move/rotate/scale, mirror, bend, twist, taper, stretch, shear, warp, symmetrize
- Sculpt and topology: brush workflow (
inflate,smooth,mask, etc.),laplacian_smooth, remesh, decimate, weld - Curves:
BezierCurve,NURBSCurve,lathe, curve-to-mesh conversion - Procedural nodes:
NodeGraph - Viewer:
td.viewer(mesh)orwith td.viewer() as scene: ...
Architecture
python/threedimensions/: full implementation and public APIexamples/: sample modeling scripts and exported meshes
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file threedimensions-1.0.0.tar.gz.
File metadata
- Download URL: threedimensions-1.0.0.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
111284c4ff660d522b8721110fc09477fc45ce2bef4ee76a48c4761c73899b19
|
|
| MD5 |
422d75c2ca2218b252170efa0af14990
|
|
| BLAKE2b-256 |
fe6e19be553cd26a203917c201db4279ce12dce23ecccf6c3382324ad284d668
|
Provenance
The following attestation bundles were made for threedimensions-1.0.0.tar.gz:
Publisher:
publish.yml on LegedsDaD/ThreeDimensions-v1.0.0
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
threedimensions-1.0.0.tar.gz -
Subject digest:
111284c4ff660d522b8721110fc09477fc45ce2bef4ee76a48c4761c73899b19 - Sigstore transparency entry: 1063846287
- Sigstore integration time:
-
Permalink:
LegedsDaD/ThreeDimensions-v1.0.0@caad7c5e806ddcd01eedebb5ff481d7114dc73d2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/LegedsDaD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@caad7c5e806ddcd01eedebb5ff481d7114dc73d2 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file threedimensions-1.0.0-py3-none-any.whl.
File metadata
- Download URL: threedimensions-1.0.0-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a82e96ae660dcc415f8c27ab2b21a23a131c08f270f788fa52acf14ec55b6af9
|
|
| MD5 |
2e5b0d2473370279e6113ac0bc6a8c84
|
|
| BLAKE2b-256 |
9bf2320b761cec542f824df0d8697294aa227b846d5790eb522e939e083e4644
|
Provenance
The following attestation bundles were made for threedimensions-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on LegedsDaD/ThreeDimensions-v1.0.0
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
threedimensions-1.0.0-py3-none-any.whl -
Subject digest:
a82e96ae660dcc415f8c27ab2b21a23a131c08f270f788fa52acf14ec55b6af9 - Sigstore transparency entry: 1063846338
- Sigstore integration time:
-
Permalink:
LegedsDaD/ThreeDimensions-v1.0.0@caad7c5e806ddcd01eedebb5ff481d7114dc73d2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/LegedsDaD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@caad7c5e806ddcd01eedebb5ff481d7114dc73d2 -
Trigger Event:
workflow_dispatch
-
Statement type: