github heitzmann/gdstk v0.7.0
Release v0.7.0

latest releases: v0.9.57, v0.9.56, v0.9.55...
3 years ago

This version includes some breaking changes to the API. Most notably, the change in the gdstk.inside function and the addition of the dedicated short-circuit versions gdstk.all_inside and gdstk.any_inside, plus methods Polygon.contain, Polygon.contain_all, and Polygon.contain_any.

This version also introduces the new function gdstk.contour for the parametric generation of geometries similarly to contour plots.

Added

  • contour function
  • Polygon.transform to apply a general transformation to the polygon vertices
  • Polygon.contain tests whether single points are inside the polygon
  • Polygon.contain_all and Polygon.contain_any test multiple points with short circuit
  • all_inside and any_inside test multiple points against multiple polygons with short circuit
  • Alternative function interfaces in the C++ API

Fixed

  • Holes in boolean results could lead to incorrect geometry in specific cases
  • Bug in boolean operations resulting in self-intersecting polygons
  • Bug in boolean operations with clockwise-oriented polygons
  • Unsupported reccords found when loading a library generate a warning, not an error.

Changed

  • inside has changed to use the better interfaces: grouping has been removed, scaling is not necessary, and short-circuit is implemented in all_inside and any_inside

Don't miss a new gdstk release

NewReleases is sending notifications on new releases.