pyslm icon indicating copy to clipboard operation
pyslm copied to clipboard

Using the pyslm.hatching.*Hatcher with shapely object as input

Open jkur opened this issue 1 year ago • 4 comments

Hi, i'm trying to use some of the pySLM methods to do some basic hatching for robot tool path generation (there are not so many hatching implementation out there).

The idea is to create a shapely.Polygon oder shapely.LineString from a set of arbitrary points (x,y). Then i like to feed this polygon into one of the Hatchers from pySLM.

The examples use getVectorSlice() for generating input for the .hatch() method.

Can i generate the input for hatching from shapely Objects? Or would it be possible to generate input directly based on some list of points that describe a polygon?

The whole point is to generate paths for some laser cladding application, where the surface boundaries are extracted from some CAD document via FreeCAD.

jkur avatar Sep 06 '22 15:09 jkur