SaaSHub helps you find the best software and product alternatives Learn more →
Top 6 Python Opencascade Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Project mention: GitHub - CadQuery/cadquery: A python parametric CAD scripting framework based on OCCT | /r/codeCAD | 2023-07-26
Project mention: CadQuery Editor – a program for building parametric 3D CAD models using Python | news.ycombinator.com | 2023-09-02
For proper CAD in browser, you'd need something like opencascadejs. I've integrated it to Polygonjs, here is an example scene, and a video intro
I haven't tried Zoo (really, unique naming isn't THAT hard...), and afict I can't see the code so I prob never will, but I got perfect results with build123d recently. Admittedly it's python to cad, not AI text to cad, but it was a joy to use after getting over the initial learning curve. The users and devs hang out on the slack chan and are very helpful.
https://github.com/gumyr/build123d
Project mention: Dune 3D – an open source parametric 3D CAD app bassed on OCCT | news.ycombinator.com | 2023-10-23> I would love to see a successor to OpenSCAD
There is quite a few "code" CAD's around https://github.com/Irev-Dev/curated-code-cad. Cadquery has contraints but isn't really a DSL.
Project mention: Show HN: Flyde – an open-source visual programming language | news.ycombinator.com | 2024-03-07As a visual person (traditionally trained as a graphic artist), I've wanted this sort of thing for a long while, and I've been trying to use it for 3D.
Surprisingly, there are multiple specialized tools for this:
- https://www.blockscad3d.com --- an adaptation of Google's Blockly to OpenSCAD
- https://github.com/derkork/openscad-graph-editor --- wires and nodes, it has the advantage of exposing _all_ of OpenSCAD's commands (the above has a subset)
- https://github.com/Tanneguydv/Pythonocc-nodes-for-Ryven --- a module for using PythonOCC in Ryven --- when I finally succeeded, I found the language inscrutable, even when provided w/ quite nice examples (definitely a failing on my part, not that of the tool)
- https://github.com/graphscad/graphscad --- it took a long while for the source code for this to be made available, and for a while it had compatibility problems (why was "cube" redefined?) --- probably defunct for political reasons, it had some interesting ideas, in particular the ability to have custom icons for modules
- https://www.nodebox.net --- if memory serves I got hung up by not easily being able to do 3D, and when doing 2D having precision problems (or maybe that was Processing.org)
and I've been using these tools to make various things:
https://willadams.gitbook.io/design-into-3d/3d-project
(and maybe eventually I'll finish something)
The problem I've been running into is there doesn't seem to be an answer to the question:
"What does an algorithm look like?"
I recently had occasion to mention Herman Hesse's _The Glass Bead Game_ (also published as _Magister Ludi_) and I'll bring it up again --- what is a meaningful graphical representation of a program?
The Drakon folks argued that there should be one true path but that's not really communicative and I would note that if this was a simple thing it wouldn't be decades since I last saw a physical Flowcharting Template:
https://americanhistory.si.edu/collections/object-groups/flo...
(and it's pretty rare to even see a well-done electronic drawing of a flowchart since Visio made its splash and vanished into the bowels of Microsoft)
The main problem seems to be one of expressiveness not scaling up well, hence:
https://blueprintsfromhell.tumblr.com/
https://scriptsofanotherdimension.tumblr.com/
Presumably, one doesn't want to define modules/variables unnecessarily --- but the question becomes where is that boundary?
If you define too many, then you're back to the "wall of text" which one was trying to avoid (but wrapped up in nice boxes with some lines or shapes), and if one doesn't use them (well, look at the pretty/awful images in the links above).
Ideally, a well-coded visual program would have a pleasing aesthetic appearance which is expressive and communicates flow and function, and I've tried for that at:
https://willadams.gitbook.io/design-into-3d/programming
(though I wish that there was an easy way to export an SVG version of a program)
I believe that what is needed here is some graphical equivalent to Literate Programming: http://literateprogramming.com
Is there a nice GUI toolkit integration which would allow making a graphical application with this? I have an idea I want to try it which might be a good fit.
Python Opencascade related posts
- Text to CAD?
- Build123d: A Python CAD programming library
- CadQuery Editor – a program for building parametric 3D CAD models using Python
- Walkway Terraib
- What are your thoughts on build123d?
- Is there a tutorial for making a CAD tool with Three.js?
- Better OpenSCAD?
-
A note from our sponsor - SaaSHub
www.saashub.com | 24 Apr 2024
Index
What are some of the best open-source Opencascade projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | cadquery | 2,777 |
2 | CQ-editor | 679 |
3 | opencascade.js | 544 |
4 | build123d | 323 |
5 | curated-code-cad | 219 |
6 | Pythonocc-nodes-for-Ryven | 42 |
Sponsored