cadquery
sdf
cadquery | sdf | |
---|---|---|
33 | 18 | |
3,833 | 1,714 | |
2.8% | 1.3% | |
7.9 | 6.7 | |
5 days ago | 11 months ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cadquery
- Design for 3D-Printing
-
We are shutting down the Ondsel FreeCAD business
OpenSCAD is my go-to. It's self-contained and AI coding tools know the syntax well enough to help you move fast. Unfortunately I keep hitting a complexity ceiling.
If it doesn't like how I'm describing something, it crashes. I have to load an older version of my .scad and try a new approach. This usually happens 70% of the way into a complex project, which is quite discouraging.
The Python ecosystem has CadQuery[0] and a few other tools built around the Open Cascade kernel[1] which is quite good in my limited experience. CadQuery is positioned as an OpenSCAD alternative [2], and I really want it to be. Unfortunately the user experience isn't there yet.
Making an object with CadQuery is writing a Python program. Which means you need a Python environment and dev setup. CQ-editor [3] is nice, but needs a Python environment first. I think CadQuery would be much more viable OpenSCAD alternative if it was packaged into a standalone CQ-editor application and published via homebrew, etc.
I'm also interest in Zoo [4](fka KittyCAD). They're trying to create a modelling tool that combines model-by-code and model-by-mouse. With some AI layered on top. They have an interesting architecture where they stream geometry to your local device from the cloud. Should be great for performance, but ties you to the cloud.
[0] https://github.com/CadQuery/cadquery
[1] https://en.wikipedia.org/wiki/Open_Cascade_Technology
[2] https://cadquery.readthedocs.io/en/latest/intro.html#why-cad...
[3] https://github.com/CadQuery/CQ-editor
[4] https://zoo.dev/
-
Show HN: A modern Jupyter client for macOS
There aren't many great production-ready open-source frameworks for code-editor components in Swift. I assessed quite a few but found that the feature completeness was far from what I needed. I tried to fork [CodeEditSourceEditor](https://github.com/CadQuery/cadquery) and add the extra features I wanted, but I think it would have taken me 6-12 months to get it to an acceptable state, meanwhile not spending any time focusing on the rest of the product experience.
I decided to play around with Typescript and Electron over a weekend and ended up getting a really solid prototype so I made the heart wrenching decision to move over.
I'm messing around with writing my own text editor component in Swift now, but it's quite a big endeavour to get the standard expected for a production ready product.
I'm assuming a pure-swift CAD UI would be equally difficult. Would be really cool to see that tho.
- GitHub - CadQuery/cadquery: A python parametric CAD scripting framework based on OCCT
- Better OpenSCAD?
-
Best module for generate sketch
I was thinking about cadQuery or DrawSVG. But maybe you have a better idea ? I'm beginner in python (started on november ...)
-
Synth Printer: 3D printed synth panels with simple Python code. Give me early feedback?
Last few months, I've made over 20 3D printed panels using the CadQuery Python library. Its syntax is pretty complex, so every time I wanted to make a panel, I'd just copy-paste bits and pieces from my previous panels. In the process, I learned what work and what doesn't, and I thought it was time to polish up this system to share it with others.
-
FreeCAD Day 2023: Report and Continued Discussion
>Python for CAD
You might be interested in CadQuery:
https://github.com/CadQuery/cadquery
-
This subreddit now says that the Steam Deck is just a PC right when you join it. Now all of you who say that it isn't a PC can stop arguing about it
Spicy! I'm also a solidworks user but I've been playing around with cadquery recently, that installed and performs pretty nicely on Linux for me. Haven't really pushed it though.
-
Pipeline to automate the process from creating 3d objects to start a print job
I am currently developing a pipeline for creating STL files, slice them and create a print job based on it. My setup at the moment is an Ultimaker S5, which offers a simple REST-API, for example starting a job with a G-Code or UFP file. I am using the cadQuery library for creating parametrized 3d shapes and export them as a STL file. I want to use the CuraEngine CLI interface (Backend for Cura) for slicing or their library libArcus (python bindings) but there is literally no documentation or any kind of examples, except the source code. There is also the prucaSlicer, which also offers a CLI interface for creating G-Code, but no support for the Ultimaker S5.
sdf
- Sdf – Generate 3D meshes based on SDFs
-
FreeCAD User Book (2019)
I used to like OpenSCAD for its simple approach but then I discovered SDF-based modelling with Python made possible with this neat library: [1]. This is perfect if you are a programmer that doesn't know anything about CAD-Software.
1.: https://github.com/fogleman/sdf
-
CAD Sketcher, free and open-source project bringing CAD like tools to Blender3d
>these the the central core that understands BREP and implements the geometric operations.
I've seen people quote a good modern CAD kernal as a 100 man year project. It's probably not going to happen, maybe there's some avenue for government funding?
Alternatively Signed-Distance-Functions are pretty nice. They're not BREP, but they're a lot easier to implement, and it might be possible to shove them into a BREP-shaped hole.
Here's a signed-distance-function based CAD kernal written in a few thousand lines of python+numpy, that seems to be about as fast as openscad. Maybe faster. https://github.com/fogleman/sdf
-
Signed distance functions in 46 lines of Python
Excellent. You might be interested in a Python library that I wrote for generating 3D meshes (STL files) from SDFs : https://github.com/fogleman/sdf
It just uses marching cubes for triangulation but the SDFs are all numpy'd and the SDF is evaluated in batches on multiple threads so it's relatively fast.
-
Plot of triangle mesh with py5
I used the SDF repo by Michael Fogleman. Check out his website, there's a ton of useful stuff on there. He contributes a lot to the open source community and has been mentioned in r/PlotterArt before.
-
10 ways to get the best out of OpenSCAD
Try out fogleman/sdf[1]. It is like OpenSCAD in many ways but the distance field model gives you offsets and fillets more easily.
[1] https://github.com/fogleman/sdf
-
Is it possible to 3d print signed distance functions?
https://github.com/fogleman/sdf this python project can create mesh from sdf
- Curated Code CAD
-
Guerrilla guide to CNC machining, mold making, and resin casting (2015)
> https://github.com/fogleman/sdf
Holy crap, why have I not seen this before?!?!!? I was even planning to start coding something like this myself. This is awesome!
- I am planning on creating a programming language for my Informatics Bachelor Thesis. What are your ideas for such a project?
What are some alternatives?
pythonocc-core - Python package for 3D geometry CAD/BIM/CAM
trimesh - Python library for loading and using triangular meshes.
SolidPython - A python frontend for solid modelling that compiles to OpenSCAD
sdfx - A simple CAD package using signed distance functions
FreeCAD - Link branch FreeCAD
meshlab - The open source mesh processing system