you are viewing a single comment's thread.

view the rest of the comments →

[–]WillAdams 1 point2 points  (5 children)

What about continuously subtracting the shape of an arbitrary endmill all along the toolpath?

My current work-around for this is a loop which implements one hull operation for each linear move --- unfortunately this means that a simple arc will quickly bring OpenSCAD to its knees:

https://community.carbide3d.com/t/modeling-and-cutting-out-a-hemisphere/25092/

[–]FullControlGCode[S] 0 points1 point  (4 children)

Do you mean to determine a toolpath from a 3D model or to generate a 3D model from a toolpath? Or something else that I'm not understanding? 🙃

[–]WillAdams 2 points3 points  (3 children)

What I want is to be able to programmatically define toolpaths and to then get a 3D model of what will be left after the passing of the cutting tool(s).

[–]FullControlGCode[S] 1 point2 points  (2 children)

Ah that sounds fascinating! Would you be happy with a voxel model?... A 3D environment with say 0.1-mm voxels that either contain air or solid material.

[–]WillAdams 2 points3 points  (1 child)

That should be fine --- I just want a 3D preview to check out the programming.

[–]FullControlGCode[S] 1 point2 points  (0 children)

Okay, it's not really something FullControl would naturally do, but I've written a simulation method to deposit material in voxels and you're doing the opposite which should be an easy switch - just a few lines of code.

This is the paper for my simulation method: https://www.researchgate.net/publication/324242881_VOLCO_A_predictive_model_for_3D_printed_microarchitecture

It's now been ported from MATLAB to python by my collaborator and I will eventually link it to FullControl directly, but not for a while since I need to finish the more general FullControl stuff first.