anchorscad-bullet
This library provides tools to convert anchorscad and pythonopenscad models into pybullet objects for physics simulation.
Modules
render_bullet.py
This module is the core converter. It takes models from anchorscad or pythonopenscad and converts them into a format that can be used with pybullet.
Key conversion functions in the APModel class:
from_manifold: Converts amanifold3d.Manifoldobject.from_posc_model: Converts apythonopenscad.PoscBaseobject.from_anchorscad_shape: Converts ananchorscad.Shapeinstance.from_anchorscad_shape_class: Converts ananchorscad.Shapeclass by using one of its examples.
pybullet_viewer.py
This module provides a simple viewer to display and simulate the converted models using pybullet. It can be run as a script to view specific models.
Usage
You can run the viewer from the command line to display a model from a specific module.
python -m anchorscad_bullet.pybullet_viewer --module <module_name> --shape <shape_class_name> [options]
Arguments:
--module: The Python module containing theanchorscadshape (e.g.,anchorscad.examples.basic_models).--shape: The name of theShapeclass to render.--example: The name of the example to use for the shape class (default:default).--part: The name of the part to render.--material: The name of the material to render.--physical: Whether to render the physical or non-physical version of the part.
Metadata
Release files for anchorscad-bullet 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anchorscad_bullet-0.1.2.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anchorscad_bullet-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.3 kB
Release files / anchorscad_bullet-0.1.2.tar.gz
| Download URL | anchorscad_bullet-0.1.2.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b369d8949f3bb005cb6f6170b871855a1a080ec5d563d16551e02a39260f59b
|
|
BLAKE2b-256 checksum How to use checksums |
66e814b1554260174af9330de50dedc258adbe306b3394ef038fcff953030672
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 26, 2025.
Transparency logRelease files / anchorscad_bullet-0.1.2-py3-none-any.whl
| Download URL | anchorscad_bullet-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e00ba12a2540fb76844bdc8c45500e70f52b25d90a64f740ee34c249cd2fe83f
|
|
BLAKE2b-256 checksum How to use checksums |
f74238fa9f39100fcdc6e1a967e436d33efd4aa1e4d5a20937a3ca1dd3bbdc52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 26, 2025.
Transparency log