Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
heitzmann committed Sep 11, 2016
1 parent d586ca5 commit b14584f
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 24 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MANIFEST
test.sh
compile_extensions.sh
debug.py
winbuild*
*.gds
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ Help support Gdspy development by [donating via PayPal](https://www.paypal.com/c

## History of changes

### Version 1.0 (Sep 11, 2016)
* Changed to "new style" classes (thanks to Adam McCaughan for the contribution).
* Added a per-point radius specification for `Polygon.fillet` (thanks to Adam McCaughan for the contribution).
* Added `inside` fucntion to perform point-in-polygon tests (thanks to @okianus for the contribution).
* Moved from distutils to setuptools for better Windows support.

### Version 0.9 (Jul 17, 2016)
* Added option to join polygons before applying an `offset`.
* Added a `translate` method to geometric entities (thanks John Bell for the commit).
Expand Down
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../../gdspy'))

# -- General configuration ------------------------------------------------
Expand All @@ -33,7 +32,7 @@
# ones.
extensions = [
'sphinx.ext.autodoc',
'myfactory',
'numpydoc',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
17 changes: 14 additions & 3 deletions docs/construction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ fast_boolean
.. autofunction:: gdspy.fast_boolean


boolean
-------

.. autofunction:: gdspy.boolean

offset
------

Expand All @@ -138,8 +143,14 @@ slice
.. autofunction:: gdspy.slice


boolean
-------
inside
------

.. autofunction:: gdspy.boolean
.. autofunction:: gdspy.inside


copy
----

.. autofunction:: gdspy.copy

15 changes: 0 additions & 15 deletions docs/myfactory.py

This file was deleted.

4 changes: 2 additions & 2 deletions examples/tutorial.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def dspiral_dt(t):
## POLYGON OPERATIONS
## ------------------------------------------------------------------ ##


## Boolean operations can be executed with either gdspy polygons or
## point lists). The operations are union, intersection, subtraction,
## symmetric subtracion (respectively 'or', 'and', 'not', 'xor').
Expand Down Expand Up @@ -285,6 +286,7 @@ def dspiral_dt(t):
## Translation
## ------------------------------------------------------------------ ##


trans_cell = gdspy.Cell('TRANS')

## Any geometric object can be translated by providing the distance to
Expand All @@ -307,7 +309,6 @@ def dspiral_dt(t):
trans_cell.add(ref2)



## Same goes for Labels & Text
text1 = gdspy.Text('Created with gsdpy ' + gdspy.__version__, 7,
(-7, -35), layer=6)
Expand All @@ -321,7 +322,6 @@ def dspiral_dt(t):
trans_cell.add(label2)



## ------------------------------------------------------------------ ##
## OUTPUT
## ------------------------------------------------------------------ ##
Expand Down
2 changes: 1 addition & 1 deletion gdspy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
from gdspy import clipper
from gdspy.viewer import LayoutViewer

__version__ = '0.9'
__version__ = '1.0'

_halfpi = 0.5 * numpy.pi

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name = 'gdspy',
version = '0.9',
version = '1.0',
author = 'Lucas Heitzmann Gabrielli',
author_email = '[email protected]',
license = 'GNU General Public License v3 (GPLv3)',
Expand Down

0 comments on commit b14584f

Please sign in to comment.