Is this like hobby only like writing an app in brainfuck? Or am I missing something?
Is this like hobby only like writing an app in brainfuck? Or am I missing something?
If I was dealing with diagonals, I needed to calculate sines and cosines outside and then place the values. If needed several objects with the same shape I needed copy and paste them, and if the base shape was wrong, I needed to delete them all, fix, and then copy and paste again. And if a value of dimension, position or angle depended on another it was more and more calculations. Soon it became unsustainable for me.
OpenSCAD saved me. Being able to create modules, using parametric values, declaring functions and so on made my life really easier. At the first it looked like it would be boring to do everything by code, but once you get used to it is actually faster than using a WYSIWYG tool.
So then under the open source, own your designs umbrella you have stuff like FreeCAD which is similar to traditional CAD which means you have a learning curve.
OpenSCAD is programmatic which suits someone with a software engineering background. Plus being free in the sense of owning your designs.
Perfect. I already knew how to code, so it was just a question of minutes to learn the basic stuff of the language and then I could just do what I wanted.
Fusion360, AutoCAD and organic modeling tools like Blender you need to learn several concepts, keybindings, navigating through menus, panels, tabs, workspaces, etc, etc. So many things _before_ doing something. In OpenSCAD you can even code in the text editor you're already familiar and then use it only to render the object (which can also be done through CLI!)
SolidPython is a Python lib that generates OpenSCAD code, so you can use whatever Python code you want to give more power to OpenSCAD.
Here's a QR code generator that I made in 30 lines, using a QR code library + NumPy + SolidPython: https://github.com/lucasoshiro/solidpython-qrcode/blob/main/...
Once you totally comprehend this, all the "functional" shit of OpenSCAD makes total sense.
Python does not have that kind static description properties, and those OpenSCAD-Python translators suck very much, imho.
Can you name them? I'm not being sarcastic, I just want more options :-) (if they are free and open source, just like OpenSCAD)