ContourGeometry

class pyslm.geometry.ContourGeometry(mid=0, bid=0, coords=None)

Bases: pyslm.geometry.geometry.LayerGeometry

ContourGeometry represents a LayerGeometry consisting of a series of connected coordinates \([(x_0,y_0), ..., (x_{n-1},x_{n-1})]\) representing a continuous line. This allows the exposure point to efficiently follow a path without jumping, unlike HatchGeometry. Typically, the scan vectors are used for generated the boundaries of a part across a layer.

Methods Summary

numContours()

Number of contour vectors in the geometry group.

type()

Returns which type the layerGeometry is in the derived class.

Methods Documentation

numContours()

Number of contour vectors in the geometry group.

Return type:

int

type()

Returns which type the layerGeometry is in the derived class.