# Handy library get all lines coordinates of a shape possible?

**URL:** https://discourse.processing.org/t/handy-library-get-all-lines-coordinates-of-a-shape-possible/30497
**Category:** Libraries
**Created:** [June 4, 2021, 6:55pm UTC](https://discourse.processing.org/t/handy-library-get-all-lines-coordinates-of-a-shape-possible/30497 "2021-06-04T18:55:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dimpapadop](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@dimpapadop](https://discourse.processing.org/u/dimpapadop)
#### Post date: [June 4, 2021, 6:55pm UTC](https://discourse.processing.org/t/handy-library-get-all-lines-coordinates-of-a-shape-possible/30497/1 "2021-06-04T18:55:20Z")

</div>

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.

```auto
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);
}

```
