This thread is a branch from a discussion that started under the General Discussion "Why I Still Care About Nodebox". This first post is a recap of the initial conversation:
Posted by willadams on Jan 28, 2022 @ 07:32 AM
I'd like to use Nodebox, or something like to it --- the thing is, I want to do 3D though.
Right now I'm limping along doing modeling in BlockSCAD and then exporting to OpenSCAD --- the problem is the latter won't write out text files, and what one can capture as a DXF or SVG from it is limited (and STLs won't work for my purposes, since I can't find any CAM tools which will use the tooling which I wish to use efficiently enough).
So, could we connect Nodebox to the kind of 3D modeling which OpenSCAD does?
Once we've done so, could we allow writing out a text file?
Posted by john on Jan 28, 2022 @ 02:53 PM
Hi Willadams,
I assume you can already create 2D shapes in Nodebox and import them as SVGs into OpenSCAD for extrusion, but I gather you want to do more than this.
It's certainly possible to create Nodebox nodes which would draw 2D perspectives of simple 3D objects, but recreating OpenSCAD would be a heavy lift.
What kind of text files do you want to export? Some kind of XML file to drive CAM tools of some sort? I'm not clear what your end goal is and what your proposed workflow would look like.
Nodebox can create drawings and export them as text files. It can certainly be part of an overall workflow. But I'm skeptical that you could stretch it into a usable and efficient one-stop CADCAM tool just by adding nodes. Even if you could do it there would probably be easier ways to accomplish what you want.
Nevertheless I am always happy to explore ideas. If you can describe exactly what kind of text files you want to export maybe Nodebox could help. Feel free to start a separate thread if you'd like to have a conversation about this.
John
Posted by willadams on Jan 30, 2022 @ 06:29 AM
I would like to write out G-Code:
https://en.wikipedia.org/wiki/G-code
but I want to do it in the context of 3D modeling, and using a Node/block editor --- as noted, I'm currently using BlockSCAD:
https://willadams.gitbook.io/design-into-3d/3d-project
and I just find that the most workable way for me to do design work. I suspect I'll have to write my own tool --- we'll see.