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 3D function plotter for Customizer / OpenSCAD by arpruss on Thingiverse

Description

This is an easy to use 3D surface plotter. Use the Customizer to change the function plotted and the range.

To use in your own code, call `graphFunction3D(function,minX,minY,maxX,maxY)` where the function is a string such as "exp(-x^2-y^2)" (for more details, see here). By default a surface of smallish thickness is drawn. Here are some options:

  • `surfaceThickness=dz`: change the thickness of the surface
  • `flatMinimumThickness=dz`: does a flat-bottomed graph; dz specifies the minimum thickness (set to 0 for an automatic smallish thickness)
  • `bottomFunction=f`: specifies a function for the bottom of the graph

There are also `makePointList()` and `makeFaceList()` functions that generate the arguments for a `polyhedron()`.

This demonstrates and uses my function parser. The standalone version bundles the parser.

Update: May 17, 2017: Rewrote to generate whole polyhedron at once and to use my own code. :-) Update: May 15, 2023: Rewrote (see graph-new.scad) to use function literals now that they are supported in OpenSCAD (but, alas, they're not supported in the customizer).

Thingiverse

3D function plotter for Customizer / OpenSCAD

45
Likes
0
Downloads
44
Collections
Tags
function openscad
License Creative Commons - Attribution
Files (2)
3dplot.stl 909.4 KB
graph3d.stl 1.7 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