yaost
Yet another openscad translator.
Yaost - is python to openscad translator.
Prerequisites
- python >= 3.5
- openscad >= 2019
Quickstart
Create file example.py:
#!/usr/bin/env python
from yaost import project, cube
p = Project('example project')
@p.add_part
def simple_cube():
return cube(10, 10, 10)
if __name__ == '__main__':
p.run()
Build scad file:
$ python3 example.py build-scad
Now you can see your scad model:
$ openscad scad/simple-cube.scad
To build stl, run:
$ python3 example.py build-stl
Your model will be at stl/simple-cube.stl
You can run yaost in watch mode, it regenerates scad each time when you save python file:
$ python example.py watch
The open file with
$ openscad scad/simple-cube.scad
Change something in example.py (eg. cube(30, 10, 10)) you should see changes in openscad viewer immediately.
See more in examples section.
Metadata
Release files for yaost 2.2.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 | Provenance | |
|---|---|---|---|---|
| yaost-2.2.2.tar.gz | 334.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yaost-2.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 364.2 kB
Release files / yaost-2.2.2.tar.gz
| Download URL | yaost-2.2.2.tar.gz |
|---|---|
| Size | 334.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48cceb5cda2ee38fe94ebc4663f12942c793d3e2ccb857e5b96b18886613301e
|
|
BLAKE2b-256 checksum How to use checksums |
e359ba55e90c0ce9468a15467238b4e095fee2c9def86e7e41c488f0a9b9211b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / yaost-2.2.2-py3-none-any.whl
| Download URL | yaost-2.2.2-py3-none-any.whl |
|---|---|
| Size | 30.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2994730747f6f265c53823de2634ff161448e4bdcf7cf51becc9c9ab5edfb4a
|
|
BLAKE2b-256 checksum How to use checksums |
326fadc691d906f053d33828b6e80dfb69e20c14c46ac8c93a17f32facfc293b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for yaost 2.2.2
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.