#CadQuery

Yann Büchau :nixos:nobodyinperson@fosstodon.org
2025-05-25

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

2025-05-25

I've been using #OpenSCAD to design all the parts I've been making for my car so far. Now I've just found #CADQuery as a new rabbit hole to go down.

PointlessOne :loading:pointlessone@status.pointless.one
2025-05-01

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.

Tadonic the Flautulentubuntourist
2025-04-17

@rozcakj I'm still more of a scripter and rather like -- though these days I fool more with music. (From time to time, I think about as well.)

2025-04-12

Version 0.5.0 of CQ-editor, the IDE for #CadQuery has been released. #CAD #Python #FOSS

github.com/CadQuery/CQ-editor/

2025-02-26

@OpenSCAD Nice demonstration 😎... just curious, though, if you have a preference for using the #OpenSCAD library with Python over #CadQuery?

Maciej Małeckime@mmalecki.com
2025-02-04

Got a pretty sweet setup going with neovim, watchexec, ocp_vscode (with no VS Code), browser and #CadQuery/#build123d #cad

Browser window on right hand side showing preview of code CAD object open in neovim on left hand side, with run loop at the bottom

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.

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

2024-12-15

CadQuery developer Adam will be giving a talk at FOSDEM 2025 about CadQuery's new free function API.

fosdem.org/2025/schedule/event

#CAD #CadQuery #FOSS #OpenSource

Jadyn - 🖨️ empress - ☎ 7889jadyn@chaos.social
2024-11-13

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:

White letters on black background, viewed from an angle. The letter e has a visible chamfer, the letter s doesn't.same render as before, instead of the surfaces the wireframe is shown.

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`:
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

Yann Büchau :nixos:nobodyinperson@fosstodon.org
2024-10-15

@rahix @sowa While we're at it, you could also give my #sdfCAD fork a try. It's much simpler than #cadQuery and has even more powerful fillets, chamfers and smooth operations. STL only output amd sharp edges are a bit jagged, but the underlying #Python code and maths is understandable and hackable.

gitlab.com/nobodyinperson/sdfc

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

2024-06-08

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.

2024-05-24

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.

2024-05-14

Мы опакетили в Gentoo cadquery с зависимостями, в основном работает, круто: tinystash.undef.im
Можно потихоньку переходить на него с openscad, где такого рода модельки задрочишься рисовать ппц. #log #cadquery #Gentoo #OpenSCAD

2024-05-14

#log #openscad #cadquery #gentoo @rf @ru
Мы опакетили в Gentoo cadquery с зависимостями, в основном работает, круто: tinystash.undef.im/il/x9xre9Rv
Можно потихоньку переходить на него с openscad, где такого рода модельки задрочишься рисовать ппц.

2024-05-06

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.

2024-03-19

@jpaskaruk @danderson didn't you have an interesting time getting #cadquery to build?

2024-03-13

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.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst