HackerTrans
TopNewTrendsCommentsPastAskShowJobs

awesomebytes

no profile record

comments

awesomebytes
·6 mesi fa·discuss
Hey, this is super interesting! Thanks for sharing. I have been playing with using the Python console/scripts/macros in FreeCAD to create 3D models. I found this to be very friendly for my programmer mindset. I have learned a bit of onshape, tinkercad, blender and freecad, but I find it extremely tedious and full of unknowns that I struggle to make sense of and resolve (e.g. contraints in freecad, sometimes I just don't know how to add the missing constraints, or just adding text to a curved face in literally all programs, it's never as easy as click the face add text, there are always gotcha's).

I wonder how does openscad compare to FreeCADs python, if you know. I just found https://pythonscad.org/ which looks interesting, but then, the BOSL2 library looks super interesting and important for a good user experience, so I do not know if the PythonSCAD could somehow just import it and use it.

I guess there's homework for me to do here, but if anyone has the experience to get a hint of "what is the best/easiest python-based programming way of doing 3D modeling", I'd be forever thankful for sharing their thoughts.

LLMs are really good at writing Python, so iterating over a model in code I found is really quick, and I really enjoy the process. Meanwhile clicking so many times in so many menus makes me desist on designing anything more-or-less complex.
awesomebytes
·2 anni fa·discuss
This.
awesomebytes
·2 anni fa·discuss
I have recently started to use uv, and you can just do "uvx tool" and it executes the tool (https://docs.astral.sh/uv/guides/tools/). Sure, the tool needs to do something to be able to be executed like that, but it seems pretty easy. And there's also a way to embed the dependencies with a comment at the top of a python script: https://docs.astral.sh/uv/guides/scripts/#running-a-script-w...

The venv created for this is ephemereal (it can not be if you want), so you don't need to keep in mind cleaning up stuff and so. Also uv is really fast in creating the venv and installing whatever is needed. Coming from using plain pip and venvs (and having pain setting up different python version interpreters for projects), and poetry just after that, I am pretty happy with the improvements.
awesomebytes
·2 anni fa·discuss
I've only learned a tiny bit of Rust, and I feel the same. Going from the bottom up, makes it all make so much sense. (Albeit I still like the Rattlesnake syntax haha)
awesomebytes
·2 anni fa·discuss
+1
awesomebytes
·2 anni fa·discuss
I was not familiar with the acronym ETL and it is not explained anywhere in the website! My feedback would be to at least write it once, on the first instance so others like me will know what they are reading :)