@scudderfish I could never find my way through #cadquery. Too weird the syntax and concepts. I forked #sdfCAD and worked on something I understood myself but in the end stayed with #solveSpace.
@scudderfish I could never find my way through #cadquery. Too weird the syntax and concepts. I forked #sdfCAD and worked on something I understood myself but in the end stayed with #solveSpace.
The world of FOSS CAD is in dire state.
I tried #FreeCAD and it’s rough. It's got decent sketching and constraints but UI takes some getting used to. Some things are extremely hard. Building a wire in 3d for a sweep (see image) is nigh impossible. In principle it’s easy, there are like 3 minutes videos on YouTube how to do it but I couldn't do it. FreeCAD fails and thrown cryptic messages at me that don't give me any clue what went wrong or how to fix it. Definitely not FreeCAD-beginner-friendly. It also crashed more times in a few days than probably everything else I used in the last year combined.
I had to resort to #CadQuery. It seems better in a few departments. Size constrains are absent but since everything is in code your variables are your size constraints. Relational constraints are way less intuitive than in FreeCAD. But I can work with it much more efficiently than with FreeCAD. It's all Python though so… Oh well.
I have released version 0.9 of `cq-studio`, my hot-reloading server for using the excellent #YACV viewer to interact with models you build in #CadQuery (or #build123d) with #Python code, programmatically. It lets you edit your model code module(s) in any editor/IDE you like, and the models are re-rendered whenever changes to your files are saved.
https://pypi.org/project/cq-studio/
You can install it with just `pipx install cq-studio`. If you've never used pipx before, it requires a tiny amount of setup to add the programs it installs to your file search PATH environment variable.
CadQuery is an alternative to the perhaps better-known OpenSCAD package. CadQuery uses a more advanced CAD kernel than OpenSCAD, but they both have their uses.
#CQStudio #CAD #CAD3D #modelling #SolidModelling #model #programmatic #HotReload #OpenSCAD #PyOpenScad
CadQuery developer Adam will be giving a talk at FOSDEM 2025 about CadQuery's new free function API.
https://fosdem.org/2025/schedule/event/fosdem-2025-5286-free-function-api-for-cadquery/
I need some help with #cadquery.
I want to chamfer text, but I get `OCP.StdFail.StdFail_NotDone: BRep_API: command not done` exceptions. I think they're caused by tiny edges producing intersecting chamfers. (Inside the S)
Sometimes it works, but the mesh is incomplete afterwards.
It would probably be enough to subtract material from the lower edge at an angel, stopping after a certain length. But I don't know how to without breaking the mesh.
:BoostOK:
Well, so I just published my first-in-a-long-time brand-new #OpenSource / #FreeSoftware project. And I decided it was finally time to get a #PyPI account, so it actually shows up there.
It's `cq-studio`:
https://pypi.org/project/cq-studio/
It's to use with #CadQuery (or #build123d, perhaps), a way to #model #3D objects programmatically, with #Python code. You edit your code in whatever editor, and view the results with a great interactive viewer in your browser.
1/x
Anyone know how to install cadquery's CQ-editor (Linux) *without*:
(a) Conda
(b) executing a 576MB shell script?
I don't know what `#construct` is, but it appears to be something like an old-fashioned (ancient-fashioned?) shell archive...
The very idea that someone might download a half gigabyte "shellscript" and run it terrifies me, the same as The Kids These Days running `curl ... | sudo sh` to install random software.
#install #security #nightmare #cadquery #AYFKMRN #shar #shell #archive
Here's my latest creation with #cadquery and printout with PETG on my #3dprinter . An adapter between my macro lens and an illuminated negative and slide holder. The adapter fixes the alignment, the distance and straight light between the negative and the lens. A small scissor table also helps for the alignment.
Here's my latest construction with #cadquery and printed in PETG on my #3dprinting printing #crealityk1 . A bracket for attaching my rear light to my bicycle.
Мы опакетили в Gentoo cadquery с зависимостями, в основном работает, круто: tinystash.undef.im
Можно потихоньку переходить на него с openscad, где такого рода модельки задрочишься рисовать ппц. #log #cadquery #Gentoo #OpenSCAD
#log #openscad #cadquery #gentoo @rf @ru
Мы опакетили в Gentoo cadquery с зависимостями, в основном работает, круто: https://tinystash.undef.im/il/x9xre9Rvhqxc3fHXdVPBDYgeSoVgCYb4jBxXeRTbRfXU79ZN8n8q5v6FWbNaCaTF6TFhB8fPNd5gvU5n6zCsEez.png
Можно потихоньку переходить на него с openscad, где такого рода модельки задрочишься рисовать ппц.
Finally, after a long time, I finished my macro lens to negative scanner adapter, modeled with #cadquery. And I then tried to #3dprint it with PLA my Creality K1 printer. The result was a disaster. Even though I had cleaned the bed and applied glue, did the parts not stick to the plate. I got a terrible spongy texture on the legs (but not on the support structures)! Now I have to figure out what went wrong, before printing again.
@jpaskaruk @danderson didn't you have an interesting time getting #cadquery to build?
There are two things that always fascinated me. One, the graphics language developed in #MetaFont → #MetaPost → #asymptote And second, connecting various libraries from different sources.
With that in mind, here's another proof of concept of an interface for loading asymptote paths expressions into #CadQuery.