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.

https://gitlab.com/nobodyinperson/sdf

Yann Büchau / sdfCAD · GitLab

Simple 3D mesh generation with Python based on SDFs

GitLab

@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.

https://gitlab.com/nobodyinperson/sdf

#3dDesign #3dModelling #Python

Yann Büchau / sdfCAD · GitLab

Simple 3D mesh generation with Python based on SDFs

GitLab
Tübix2023 Yann Büchau OpenSCAD vs PythonSDF

Odysee

Upcoming: my talk about #3DDesign with @OpenSCAD and #PythonSDF

#Tübix2023

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.

@nobodyinperson @Jupyter

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!

@3dprinting #3dprinting

@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.