I ported the #CadQuery Lego brick example from #Python to #Hy to see if it would work. It did, and I posted a gist here: https://gist.github.com/jmwright/b1f4e3cbcb2152a240b03a8779a202b4 #Hylang
@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.
#cadquery #openscad #pythonsdf
I also publish the code that created the model on GitHub: https://github.com/acme/eksjo-foot
It's a simple model that uses #cadQuery.
I use a 0.6 mm nozzle, but most people use a 0.4 mm nozzle. I want it to have two full-line walls, so I have calculate_extrusion_width() and calculate_shell_thickness() functions that match PrusaSlicer:
https://github.com/acme/eksjo-foot/blob/main/eksjo-foot.py
Still loving the pairing of GitLab CI and #CadQuery for reproducible, parametric, code based #MechanicalKeyboard case work.
Doesn't hurt that I can preview the STLs from my phone to sanity check things.
@linux_mclinuxface @tcurdt @stevegenoud Also OpenCASCADE is a beast as a backend and was hard to install for me e.g. for #CadQuery. I also don't really dig the way you describe objects with it, really... Another beauty of :openscad: #OpenSCAD is that its codebase pretty much runs anywhere (even on my #SailfishOS phone).
#openscad #cadquery #sailfishos
3D printed parametric angle gauge, created using #CadQuery
https://www.printables.com/model/465156-parametric-angle-gauge-cadquery-customizable
#cadquery #python #cad #3dprinting
@thraeryn Apart from a few basic things I've always ended up banging my head against #OpenSCAD. Its a great idea but it's a bit lacking in it's implimentation, there is an up and coming alternative called #cadquery thankfully which might get this type of thing right in the future. #3dprinting #design
#design #3dprinting #cadquery #openscad
Ok, so yeah... #CadQuery with CQ Warehouse Draft lib + SVG exports is going to be great for #MechanicalKeyboard case technical drawings. Just playing, but the core pieces are all going to fit just great.
The #CadQuery code just fits in:
```
import cadquery as cq
bottom_sketch = (
cq.Sketch()
.rect(35.6, 35.6)
.vertices()
.fillet(1.6/2)
)
result = (
cq.Workplane("XY")
.placeSketch(bottom_sketch)
.extrude(0.8, taper=-45)
.faces(">Z").wires().toPending()
.extrude(1.8)
.faces(">Z").wires().toPending()
.extrude(2.15, taper=-45)
.faces(">Z").wires().toPending()
.extrude(24, taper=-45)
.edges(">Z")
.toPending()
.offset2D(-5)
.cutBlind(-5, taper=45)
)
show_object(result)
```
Couldn't resist getting started on some experimentation on a Blank Slate #MechanicalKeyboard top mount case using #CadQuery
Would love to eventually do this in milled polycarb
Blog post on what our group accomplished during the @opentoolchain Hackathon in early March. We decided to work on a framework that automatically keeps open hardware documentation in sync with parametric #CAD models. #CadQuery #GitBuilding #OpenHardware #FOSS
#cad #cadquery #gitbuilding #openhardware #foss
Oh yeah, this wasn't nearly as hard as I had feared. Obviously lots to clean up, but the fundamentals are working for #CadQuery Editor clipping!
(forgive the YT link, couldn't get the webm that fedora screencast recorded to upload here)
Experimenting with adding clipping plane support to #CadQuery
(Forgive the hastily made texture that makes it look cartoonish)
The War Driver #MechanicalKeyboard case and plate design are coming along. Some funky renders with #CadQuery of the case, switch plate, PCB, and MBK extended keycaps
Continuing my tour of 3D modelling software, this time I'm trying out CadQuery, which is a friendly Python wrapper around the OpenCascade modelling kernel. I like how easy it has been to add features like chamfers and how it is all driven by code. I've carefully sized it so that Prusa Slicer slices it into a strong four-line wall.
https://www.printables.com/model/421099-heart-toothbrush-holder
#3dPrinting #cadQuery #prusaSlicer
#3dprinting #cadquery #prusaslicer
Still so very happy every time I use #CadQuery. Whipped together a two piece #3dp keyboard case for someone in a few hours. Would have been quicker, but I spent a bit of time fiddling about with how to use the edge vertices to automatically generate the proper points for my heat set inserts/screws along the edge.
@noiseislife Have a look at https://replicad.xyz - it is my Brep based CAD library which supports chamfers and fillet (based on #opencascade like @FreeCAD and #cadquery)