Slicer Discord
Knot-style Parametric Function Script ( Python ) – 3D printable model from Thingiverse Thingiverse

Knot-style Parametric Function Script ( Python )

by mrule
68 Downloads
96 Likes
5 Makes
Go to Model
In my ongoing quest to eliminate or supersede all things Matlab, I present a functional solution to the problem of extruding along arbitrary contours, written in python.

This is a reaction to http://www.thingiverse.com/thing:7080, itself a derivative of http://www.thingiverse.com/thing:6923. Credit to both these authors for the concept and motivation.

Parameters are specified at the top of the script. A closed curve in 3D is specified as f:t→(x,y,z) a parametric function of t. A closed curve in 2D is specified as f:s→(x,y) and is used as the cross-section to extrude along the 3D curve.

Bonus : If you manually specify the "crosssection" matrix, which is a lost of [x,y] points around the perimeter, you can extrude arbitrary cross-sections.

download, cut, edit, steal, modify, repost, use, go.

update : I added knot.py, which simply explicitly defines the knot equations at the top and adds a couple integer parameters, similar too http://www.thingiverse.com/thing:6923.
Source
Thingiverse
What you need to print this: Beginner Low confidence
Single piece
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
Software
Cura, PrusaSlicer, or similar
No ratings yet
No comments yet – be the first!

Similar Models

6 Suggestions
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection