Sponsored
Sponsored
surf2solid.py cults3d

surf2solid.py

cults3d lenanovelti 5461146 Premium

A quick and dirty sketch of a python clone of http://www.thingiverse.com/thing:6955

Takes a function of x,y,r, and t (theta, in radians), plots it, returns it as a solid which it spits to stdout, or writes to a .scad or .stl file, depending on usage. Arguments are set toward the top of the scrip. The function is specified as a string. This script requires numpy. Comments need improvement.

Python seems popular, so I'm hoping this will be stolen and modified.

There are probably still bugs in the mesh generation, I haven't even tried slicing the test object. If you spot a fix, tell me (or post a fix as your own thing).

update : fixed generation of base polygons
update : fixed normal orientation for .scad and .stl output
update : fixed scaling issues, now scales part to the intended dimensions
update : fixed some command line argument parsing
update : OpenSCAD doesn't like the .stl output, but the .scad script output seems ok. Probably some problem with specifying the normals.

View on cults3d

Direct link to the original creator's page

Platform cults3d
Creator lenanovelti
Price
Format STL / 3D Printable
License See original page
Sponsored
Sponsored
How do I download surf2solid.py?

Click the "View on cults3d" button above to visit the original model page on cults3d. You can download the STL file directly from the creator's page.

What 3D printer can I use for this model?

This STL file is compatible with most FDM 3D printers (Creality Ender 3, Prusa MK3S+, Bambu Lab, etc.) and resin printers (Elegoo, Anycubic). Check the original page for recommended print settings and materials.

Is this 3D model free to download?

This is a premium model priced at on cults3d. Premium models often include higher detail, multiple parts, and print-tested files.

Can I modify this STL file?

Most STL files can be modified using free software like Blender, TinkerCAD, or Meshmixer. Check the license on the original cults3d page to see if modifications are permitted by the creator.