./cad/py-gds, Python module for creating GDSII stream files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.6, Package name: py37-gds-1.6, Maintainer: pkgsrc-users

Gdspy is a Python module for creating GDSII stream files, usually CAD
layouts. It includes a layout viewer for the geometries created, and
it can also be used to import and merge GDSII files.


Required to run:
[devel/py-setuptools] [math/py-numpy] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: b4343bf2d33da16ae9277a99ced2a0f3d6a3c531
RMD160: 64b9f1d6c20a8edfbf0ff80816aaa3b2a903c22d
Filesize: 12273.699 KB

Version history: (Expand)


CVS history: (Expand)


   2020-09-04 18:05:20 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
(cad/py-gds) Updated 1.5.2 to 1.6

### Version 1.6 (Aug 12, 2020)
* Added support for element properties.
* Added transformation support to `Cell.copy`.
* Layer/datatype filtering in `get_polygons` for `Cell`, `CellReference` and \ 
`CellArray`.
* Layer/datatype filtering in `LayoutViewer`.
* Removed global cache `_bounding_boxes`.  Only cells cache their bounding boxes.
* Bug fixes (thanks Daniel Hwang for the contributions).
* Bug fix in `Cell.copy` where the whole dependency tree would be copied on a \ 
deep copy creation.
   2020-05-31 22:49:34 by Joerg Sonnenberger | Files touched by this commit (14)
Log message:
Explicitly read files as unicode for Python 3. The content is converted
using the system locale with Python 3.6 otherwise, falling back to
ASCII.
   2020-04-27 20:50:26 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-gds: updated to 1.5.2

Version 1.5.2 (Feb 01, 2020)
Added support for importing GDSII files containing BOX elements.
Bug fix in GdsLibrary.extract (thanks collineps for finding the problem).

Version 1.5 (Dec 20, 2019)
New Cell.write_svg function to export an SVG image of the cell.
New GdsLibrary.new_cell function to quickly create and add cells to a library.
GdsLibrary.add can update references when a cell is overwritten.
Added GdsLibrary.remove to allow cells to be properly removed from libraries.
Added GdsLibrary.rename_cell to rename cells in libraries.
Added GdsLibrary.replace_references to easily replace referenced cells in libraries.
GdsLibrary.add can add dependencies recursively.
Iterating over GdsLibrary objects yields all its cells.
Iterating over Cell objects yield all its polygons, paths, labels and references.
Breaking change to *.to_gds functions in order to improve write efficiency (this \ 
should not be a problem for most users, since gdspy.write_gds and Cell.write_gds \ 
remain the same).
Breaking change: renamed GdsLibrary.cell_dict to GdsLibrary.cells.
Deprecated: gdspy.current_library, gdspy.write_gds, gdspy.fast_boolen, \ 
GdsLibrary.extract.
Bug fixes and better tests for FlexPath and RobustPath.

Version 1.4.3 (Nov 11, 2019)
Bug fix for FlexPath and RobustPath references.

Version 1.4.2 (Oct 01, 2019)
Bug fix in FlexPath.

Version 1.4.1 (Sep 20, 2019)
Bug fixes (thanks to DerekK88 and Sequencer for the patches).

Version 1.4 (May 18, 2019)
Revised documentation.
New FlexPath and RobustPath classes: more efficient path generation when using \ 
the original GDSII path specification.
New Curve class: SVG-like polygon creation.
Added PolygonSet.mirror (thanks to Daan Waardenburg for the contribution).
Added Path.bezier to create paths based on B├ęzier curves.
Added Path.smooth to create paths based on smooth interpolating curves.
Added get_gds_units to get units used in a GDSII file without loading.
Added get_binary_cells to load only the binary GDSII representation of cell from \ 
a file.
Added argument tolerance to Round, Path.arc, Path.turn, and Path.parametric to \ 
automatically control the number of points in the final polygons.
Added argument binary_cells to GDSII writing functions to support get_binary_cells.
Added argument rename_template to GdsLibrary.read_gds for flexible cell renaming \ 
(thanks to @yoshi74ls181 for the contribution).
Changed return value of slice to avoid creating empty PolygonSet.
Added argument timestamp to GDSII writing functions.
Improved Round to support creating ellipses.
Added support for unlimited number of points per polygon.
Added support for BGNEXTN and ENDEXTN when reading a GDSII file.
Polygon creation warnings are now controlled by poly_warnings.
Incorrect anchor in Label now raises an error, instead of emitting a warning.
Added correct support for radius in PolygonSet.fillet on a per-vertex basis.
Speed improvements in GDSII file generation (thanks to @fbeutel for the \ 
contribution) and geometry creation.
Font rendering example using matplotlib (thanks Hernan Pastoriza for the \ 
contribution).
Expanded test suite.

Version 1.3.2 (Mar 14, 2019)
Small fix for building on Mac OS X Mojave.
   2019-06-08 13:04:30 by Roland Illig | Files touched by this commit (43)
Log message:
cad/*: let pkglint fix indentation, variable alignment, and LOCALBASE

pkglint -Wall -r -F cad

Manually fixed the indentation in cad/ghdl/Makefile because SITES.* was
(by the current definition) not long enough to count as an outlier line,
and because of this, all other lines were aligned to that line.
   2018-07-07 14:04:00 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated cad/py-gds from 1.2.1 to 1.3.1

### Version 1.3.1 (Jun 29, 2018)
* `PolygonSet` becomes the base class for all polygons, in particular `Polygon` \ 
and `Rectangle`.
* Added `Cell.remove_polygons` and `Cell.remove_labels` functions to allow \ 
filtering a cell contents based, for example, on each element's layer.
* Added `PolygonSet.scale` utility method.
* Added `PolygonSet.get_bounding_box` utility method.
* Added argument `timestamp` to `Cell.to_gds`, `GdsLibrary.write_gds` and \ 
`GdsWriter`.
* Added `unit` and `precision` arguments to `GdsLibrary` initialization and \ 
removed from its `write_gds` method.
* Changed the meaning of argument `unit` in `GdsLibrary.read_gds`.
* Improved `slice` to avoid errors when slicing in multiple positions at once.
* Improved `PolygonSet.fracture` to reduce number of function calls.
* Removed incorrect absolute flags for magnification and rotation in \ 
`CellReference` and `CellArray`.
* Minor bug fixes.
* Documentation fixes.
* Removed deprecated classes and functions.
   2018-01-12 13:55:51 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated cad/py-gds to 1.2.1

### Version 1.2.1 (Dec 5, 2017)
* `GdsLibrary` can be created directly from a GDSII file
* Added return value to `GdsLibrary.read_gds`
* Fix return value of `GdsLibrary.add`

### Version 1.2 (Oct 21, 2017)
* Added new `gdsii_hash` function.
* Added `precision` parameter to `_chop`, `Polygon.fracture`,
  `Polygon.fillet`, `PolygonSet.fracture`, `PolygonSet.fillet`, and
  `slice`.
* Included labels in flatten operations (added `get_labels` to `Cell`,
  `CellReference`, and `CellArray`).
* Fixed bug in the bounding box cache of reference copies.
* Fixed bug in `_chop` that affected `Polygon.fracture`,
  `PolygonSet.fracture`, and `slice`.
* Other minor bug fixes.
   2017-04-08 14:44:49 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
Updated cad/py-gds to 1.1.2
---------------------------
### Version 1.1.2 (Mar 19, 2017)
* Update clipper library to 6.4.2 to fix bugs introduced in the last update.
* License change to Boost Software License v1.0.

(pkgsrc changes)
 - LICENSE converted to boost-license as noted above
   2017-01-29 00:28:26 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated cad/py-gds to 1.1.1
---------------------------
### Version 1.1.1 (Jan 27, 2017)
* Patch to fix installation issue (missing README file in zip).