Pythonocc-nodes-for-Ryven
curated-code-cad
Our great sponsors
Pythonocc-nodes-for-Ryven | curated-code-cad | |
---|---|---|
5 | 6 | |
42 | 219 | |
- | - | |
0.0 | 3.4 | |
12 months ago | 4 months ago | |
Python | Python | |
MIT License | 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.
Pythonocc-nodes-for-Ryven
-
Show HN: Flyde – an open-source visual programming language
As 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.
- Parametric for the win... until it isn't.
-
Ask HN: Visualizing software designs, especially of large systems (if at all)?
"What does an algorithm look like?"
I'm an intensely visual person, but have never found a visual programming system which scales well --- the problem is, past a certain level of complexity one has to use modules, which then devolves the visual representation down to just a bunch named blocks.
That said, I'm using BlockSCAD:
https://www.blockscad3d.com/community/projects/1421975
to work up designs which I'm then putting into other tools.
Looking at GraphSCAD:
http://graphscad.blogspot.com
and there's also Ryven and pythonocc which I managed to get installed:
https://ryven.org
https://github.com/Tanneguydv/Pythonocc-nodes-for-Ryven
but I'd really like to see a tool for this sort of thing which made G-code.
- Finally managed to get PythonOCC Nodes for Ryven installed (on Windows --- will have to try again for Ubuntu) --- here are my notes
- What is the one feature that would get you to try a new CAD software?
curated-code-cad
-
Dune 3D – an open source parametric 3D CAD app bassed on OCCT
> 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.
-
Antimony – computer-aided design tool from the Lisp machine parallel universe
This is a mid-point in Matt Keeter's research.
Start at:
http://mattkeeter.com/research/thesis.pdf
then see:
http://www.mattkeeter.com/projects/kokopelli/
then Antimony (see the article at: http://hackaday.com/2015/05/29/otherworldy-cad-software-hail... ), then the current effort:
https://github.com/libfive/libfive
(and also see: https://www.gitlab.com/kavalogic-inc/tovero "a binding of Libfive to Common Lisp, including a standalone REPL-based viewer"[https://github.com/Irev-Dev/curated-code-cad] can be integrated with https://www.gitlab.com/kavalogic-inc/clive
Currently I'm using OpenSCAD (w/ BlockSCAD as a front-end: https://www.blockscad3d.com because I prefer a sort of visual representation), but have been stymied by the lack of file I/O (I want to write out G-code).
Still looking for a 3D modeling tool which is:
- a node or block editor
-
What happened Tovero (libfive bindings) and Clive (scene graph and 3D GUI) from Kavalogic and previously hosted on common-lisp.net?
From 2018 through sometime 2020 there seems to have existed two projects surrounding 3D modelling in CL, Tovero as libfive bindings and Clive as some sort of scene graph with a 3D GUI as per this description from a random git commit I found:
- 3D version of MakeCode from Buildbee.com (for making 3D models for 3D printing/CNC)
-
Is there a way to make cad models using programming? Just Curious.
Checkout this resource for a whole host of different options (besides FreeCAD) https://github.com/Irev-Dev/curated-code-cad
-
To design a new mount for the Chimera 2in2out for the Ender 3, I rebuilt the carriage assembly in OpenScad and partyl QCad.
I tried using python scripting with FreeCad's 2d constraints mechanisms, which I had high hopes for but found it to be too difficult. I did a decent write up about it here: https://github.com/Irev-Dev/curated-code-cad/pull/8
What are some alternatives?
jupyter-cadquery - An extension to render cadquery objects in JupyterLab via pythreejs
cadquery - A python parametric CAD scripting framework based on OCCT
pymadcad - Simple yet powerful CAD (Computer Aided Design) library, written with Python.
jsketcher - Parametric 2D and 3D modeler written in pure javascript
spekt8 - Visualize your Kubernetes cluster in real time
FreeCAD_SheetMetal - A simple sheet metal workbench for FreeCAD
gcodepreview - OpenSCAD library for moving a tool in lines and arcs so as to model how a part would be cut using G-Code.
pythonocc-core - Python package for 3D CAD/BIM/PLM/CAM
NodeEditor - Node editor for FreeCAD with PyFLow
cqMore - More fundamental API on CadQuery.
ocp-freecad-cam - CAM for CadQuery and Build123d by leveraging FreeCAD
flowwie-freecad - Flowwie's FreeCAD ressources for everybody to learn computer aided design with the Open Source CAD software FreeCAD.