Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Yet another python to openscad translator

Project description


Yet another openscad translator.

Yaost - is python to openscad translator.


  • python >= 3.5
  • openscad >= 2015


Create file

#!/usr/bin/env python
from yaost import project
from yaost import scad

p = Project('example project')

def simple_cube():
    return scad.cube(10, 10, 10)
if __name__ == '__main__':

Build scad file:

$ python3 build-scad

Now you can see your scad model:

$ openscad scad/simple-cube.scad

To build stl, run:

$ python3 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 watch

The open file with

$ openscad scad/simple-cube.scad

Chane something in (eg. cube(30, 10, 10)) you should see changes in openscad viewe immediately.

See more in examples section.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for yaost, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size yaost-0.3.0-py3-none-any.whl (18.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size yaost-0.3.0.tar.gz (15.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page