yaost
Yet another openscad translator.
Yaost - is python to openscad translator.
Prerequisites
- python >= 3.5
- openscad >= 2015
Quickstart
Create file example.py:
#!/usr/bin/env python
from yaost import project
from yaost import scad
p = Project('example project')
@p.add_part
def simple_cube():
return scad.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
Chane something in example.py (eg. cube(30, 10, 10)) you should see changes in openscad viewe immediately.
See more in examples section.
Metadata
Release files for yaost 0.1
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 |
|---|---|---|---|---|
| yaost-0.1.tar.gz | 9.8 kB | Without provenance | Details for yaost-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yaost-0.1-py3-none-any.whl | Python 3 | none | any | Details for yaost-0.1-py3-none-any.whl |
Total release size: 22.7 kB
Release files / yaost-0.1.tar.gz
| Download URL | yaost-0.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b86193fb87414f50d5466afe84081cf7372071e476fdbe97eadedec54d8b1e8a
|
|
BLAKE2b-256 checksum How to use checksums |
77c7678538d8f75e5a8fce02076aee6c1236d9dd24d8596cdd345d17d8c5f9be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7
|
Release files / yaost-0.1-py3-none-any.whl
| Download URL | yaost-0.1-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e20636d09fbda6850e1bb154df76bad604eb9b0964f75a72dbf7df05bd7ee65
|
|
BLAKE2b-256 checksum How to use checksums |
a5f140d41311989fcfd2922c941931d084861e47edbc3e73fefc5c8af50eb190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7
|
Security for yaost 0.1
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.