Remix.run Logo
▲ WillAdams 7 hours ago

I work on what should be pretty simple things (3D models of projects for CNC machines) and based on flet.dev recently announcing 1.0 and a quick test one-shotting a convincing protototype of a drawing program description which heretofore every such system had failed at miserably, decided to proceed with it.

I got a quick prototype of a rabbet box generator:

https://studio.flet.dev/run/bicQWc3Aul/

but the geometry was all wrong and ultimately required that I describe the calculation of the position and dimensions of each element in exhaustive detail in order to get a usable DXF (the wireframe preview is still all messed up) which eventually worked to make a box:

https://community.carbide3d.com/uploads/default/original/3X/...

I was also drawing the design up in an interactive CAD/CAM program, and modeling it in BlockSCAD/OpenSCAD (and dropping into BelfrySCAD to figure out rotation):

https://www.blockscad3d.com/community/projects/2169316

(and speaking of rotation, at this time, the sliding and hinged lid options open on opposite sides in the preview...)

Since then, I've made a very simple generator which simple does a box decorated with lines, arcs, and circles on each side --- my intention is to dis-assemble that and use it to write a Domain Specific Language implementation for creating such designs and previewing them and writing out DXFs --- which is a long-winded way of saying I've been finding this tooling frustrating to use, but potentially useful to make rough drafts of programming templates which can then be used as a starting point for more traditional coding.

Eventually all of this will go into:

https://github.com/WillAdams/gcodepreview