Skip to content

Commit 85b9901

Browse files
authored
Merge pull request #81 from amccaugh/dev
PHIDL 1.4.2
2 parents 19ed1cd + 8c8baea commit 85b9901

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Changelog
22

3-
## 1.4.1 (Oct 10, 2020)
3+
## 1.4.2 (Oct 7, 2020)
4+
5+
Bugfix release
6+
7+
### Bugfixes
8+
- Fix for Device xmin/xmax/ymin/ymax property assignment (e.g. `D.xmin = 30`) causing incorrect movement of references and labels
9+
10+
11+
## 1.4.1 (Oct 6, 2020)
412

513
### New features
614
- Added font support to `pg.text()` - Now you can use built-in fonts or specify a .TTF/.OTF font, including full unicode support (thanks to Sebastian Pauka @spauka). See the [geometry reference library here](https://phidl.readthedocs.io/en/latest/geometry_reference.html#Text)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GDS scripting that's intuitive, fast, and powerful. For Python 2 and 3.
66
- [**Installation / requirements**](#installation--requirements)
77
- [**Tutorial + examples**](https://phidl.readthedocs.io/en/latest/tutorials.html) (or [try an interactive notebook](https://mybinder.org/v2/gh/amccaugh/phidl/master?filepath=phidl_tutorial_example.ipynb))
88
- [**Geometry library + function documentation**](https://phidl.readthedocs.io/)
9-
- [Changelog](https://github.com/amccaugh/phidl/blob/master/CHANGELOG.md) (latest update 1.4.1 (Oct 6, 2020))
9+
- [Changelog](https://github.com/amccaugh/phidl/blob/master/CHANGELOG.md) (latest update 1.4.2 (Oct 7, 2020))
1010
- Added font support to `pg.text()` [more info here](https://phidl.readthedocs.io/en/latest/geometry_reference.html#Text)
1111
- Added waypoint-based pathing `pp.smooth()` [more info here](https://phidl.readthedocs.io/en/latest/tutorials/waveguides.html#Waypoint-based-path-creation)
1212
- You can now easily [`Group` objects together](https://phidl.readthedocs.io/en/latest/tutorials/group.html)

phidl/device_layout.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
import gdspy.library
5454
gdspy.library.use_current_library = False
5555

56-
__version__ = '1.4.1'
56+
__version__ = '1.4.2'
5757

5858

5959
#==============================================================================
@@ -1611,9 +1611,9 @@ def move(self, origin = (0,0), destination = None, axis = None):
16111611
for e in self.polygons:
16121612
e.translate(dx,dy)
16131613
for e in self.references:
1614-
e.move(destination = destination, origin = origin)
1614+
e.move((dx,dy))
16151615
for e in self.labels:
1616-
e.move(destination = destination, origin = origin)
1616+
e.move((dx,dy))
16171617
for p in self.ports.values():
16181618
p.midpoint = np.array(p.midpoint) + np.array((dx,dy))
16191619

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
setup(name='phidl',
21-
version='1.4.1',
21+
version='1.4.2',
2222
description='PHIDL',
2323
long_description = long_description,
2424
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)