Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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.
-
gcodepreview
OpenSCAD library for moving a tool in lines and arcs so as to model how a part would be cut using G-Code.
The link [0] literally says:
> #pov2mesh A Set of Macros in POV-Ray Language to Convert a POV-Ray to a Triangle Mesh
I never said it was a mesh editor or CAD tool or anything else except that it would need an internal representation of volumes and surfaces in a scene, and that the OP linked to a tool that generated a triangle mesh from this info.
[0] https://github.com/cyborg5/pov2mesh
DieselCAD = DSLCAD = the very subject of this disussion. :)
https://github.com/DSchroer/dslcad
E.g. Rhai[2] or Lua or whatever.
And I guess if their tech is solid enough, someone will do that eventually and open a PR or fork the project. They do not use an existing geomtry kernel but do everything from scratch which makes this a very interesting endeavour.
There also seems to be a goal overlap between Fornjot and DieselCAD
[1] https://github.com/hannobraun/Fornjot
[2] https://rhai.rs/
> No editor included I see, that tripped me up for a second but it's IMO better than wasting your time on including one [...]
It's using egui for the UI so adding an editor (w. syntax highlighting for the custom language) should be very easy[1].
[1] https://github.com/emilk/egui/blob/530e9f667c0969b09edb68f77...
If you haven't seen it you may want to check out https://github.com/zalo/CascadeStudio
From what I see, it is exposing the OpenCascade base commands directly, versus your completely new DSL, but you might be interested in a way to implement your DSL on top of such an interface such as this which takes out a lot of the extra work of having a rendering interface, exports, etc, maybe.
there should be a support group. "Show me where OpenSCAD hurt you".
I wrote this: https://github.com/sbambach/MarksEnclosureHelper
I share your pain
Would writing out text files be an option?
I've been trying to do this from OpenSCAD (now using RapCAD) and while I sort of have it working:
https://github.com/WillAdams/gcodepreview
I'm not so far along that I wouldn't try something else.