I added twist_between() to #PythonSDF to twist an object between two control points with a custom angle easing function.
Still amazed how 'simple' adding such a feature is with that codebase.
Application: Bending a 3D object along a path.
Such a transformation would make #pythonSDF (or #sdfCAD how I renamed my fork) very versatile.
It already can:
- parametrically twist along a line
- parametrically thicken/modulate along a line
Being able to arbitrarily bend space would make for some really flexible design possibilities.
@linux_mclinuxface @gklyne @Floppy @3dprinting @vandam Wow, impressive! I could never do something as interactive like that, I just dislike web development too much 😅
I think a basic website where you can at max view the object with ThreeJS or something would be cool, where you can only set some predefined parameters and values and it spits out the STL. That for #CadQuery, #OpenSCAD, #PythonSDF
and the like. You could launch it with your git project in the url, so no need to register it.
I added twist_between() to #PythonSDF to twist an object between two control points with a custom angle easing function.
Still amazed how 'simple' adding such a feature is with that codebase.
The slides for my #Tübix2023 talks are now online 🇩🇪 :
-
#gitAnnex: https://tuebix.github.io/tuebix-downloads-2023/5-git-annex-dateien-synchronisieren-sichern-und-verwalten-fr-poweruser.pdf
-
#OpenSCAD vs #PythonSDF: https://tuebix.github.io/tuebix-downloads-2023/15-prozedurales-3d-design-mit-openscad-und-python-sdf.pdf
- 💸 #plainTextAccounting with #hledger https://tuebix.github.io/tuebix-downloads-2023/16-plaintextaccounting-mit-hledger.pdf
And here is the recording of my #Tübix2023 talk about #3dDesign with
@OpenSCAD #OpenSCAD and #PythonSDF from today (EDIT: yesterday actually 😛):
https://odysee.com/@nobodyinperson:6/T%C3%BCbix2023-Yann-B%C3%BCchau-OpenSCAD-vs-PythonSDF:d
Sound is better, recorded with my #SailfishOS Xperia10iii.
Upcoming: my talk about #3DDesign with @OpenSCAD and #PythonSDF
Finished my slides for the #Tübix2023 #Tübix #LinuxDay tomorrow in Tübingen:
- File syncing like a pro with @joeyh's
#gitAnnex
- #3DDesign with
@OpenSCAD #OpenSCAD and #pythonSDF
- #plainTextAccounting with @simonmic's #hledger
I'll try to record the talks. They'll be in German though.
I'll check #PythonSDF out. Honestly, I've never heard of it before you mentioned it. It is my best language so I think I would be able to have fun with it. Thanks!
@Stark9837 @Jupyter @3dprinting It should be quite easy to make a simple #Flask app that serves a basic website with a quite lame form input, then you hit 'Generate', server makes the STL and gives a download link, all from Python.
I am using #pythonSDF for pretty much all my #3DDesign's now because it makes (some) things much easier (smoothness, rounding, infinite objects, etc.).
@Stark9837 @3dprinting I am still looking for way to easily make the #pythonSDF designs customizable with a shareable link, no setup required.
Many solutions are possible. Easiest ist probably @Jupyter Binder. But a self-hosted simple webserver providing a basic GUI for parameters and the finished render and STL is also possible.