Skip to main content

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)

Source distribution for yaost 0.1
File Size Uploaded
yaost-0.1.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yaost 0.1
File Interpreter ABI Platform
yaost-0.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

2.2.2

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

This release

0.1 This release

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