Hallo guys.
Is there any way to get all the hatching lines coordinates from a shape?
for example in the following sketch get all the hatching lines of the triangle and the ellipse.
I need the coordinates to export as gcode.
thank you.
import org.gicentre.handy.*;
HandyRenderer h;
void setup()
{
size(300,200);
h = new HandyRenderer(this);
noLoop();
}
void draw()
{
background(234,215,182);
fill(206,76,52);
strokeWeight(1);
h.setFillGap(5);
h.triangle(30,60,100,80,200,200);
strokeWeight(0.5);
fill(19,39,28);
h.ellipse(220,100,100,80);
}