Ir para conteรบdo
3DFinder
Log in

You're on 3DFinder

We search Thingiverse, MakerWorld, and Printables at once so you get the best of each.

Find more like this
3D model Cylindrical Functions Script by mrule on Thingiverse

Description

This is a python script for generating cylindrical coordinate functions as OpenSCAD scripts.

Specify height, radial resolution, vertical resolution, wall thickness, and a twist parameter at the top of the python script.

Specify radius as a function of theta and height in a function called "fun" also in the script.

The archive contains a few files : -- cylindrical.py is the script -- spin.sh is an example of using inotify to automatically regenerate the .scad file every time the .py script is updates. -- various .stl outputs and some .gcode

This script solves the problem of : -- generating a surface from a cylindrical function -- generating a constant-thickness wall for most reasonable curves -- a polygon function for plotting polygons in polar coordinates ( can be used to interpolate between polygons or other shapes )

This script is good for : -- interpolating between different shapes along the cylinder with rotation -- generating procedurally generated forms more quickly than composition in OpenSCAD

The script can now write STLs directly and can be configured to output solid objects or objects with a solid bottom. If a .stl filename is given as the first command line argument, the script will save to that file, otherwise it will print to standard out. Python also attempts to automatically call meshlab if it is installed to display the rendered result. If a .scad filename is given as the command line argument, an OpenSCAD script will be written and meshlab will not be launched.

Instructions

The script depends on : -- OpenSCAD -- Python -- Numpy -- linux-ish environemnt -- inotify-tools ( optional )

Thingiverse

Cylindrical Functions Script

239
Likes
0
Downloads
141
Collections
3
Makes
Tags
3D functions geometry math openscad parametric plot2print python scripts
License GNU - LGPL
Files (10)
a.stl 177.6 KB
b.stl 9.6 MB
d.stl 2.5 MB
f.stl 4 MB
vase3.stl 170.1 KB
vase2.stl 155.8 KB
foo6.stl 31 MB
foo8.stl 12.5 MB
foo1.stl 6.9 MB
foo3.stl 15.5 MB
View on Thingiverse (opens in new tab)

Like this model? Create a free account to save your favorites and come back to them later.

Create account