Skip to main content

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.

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)

Source distribution for yaost 2.2.2
File Size Uploaded
yaost-2.2.2.tar.gz 334.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yaost 2.2.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.2.2 This release

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

1 release file

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page