Skip to content

Commit

Permalink
Grid snapping and defaults fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bsnyder committed Sep 13, 2022
1 parent ef25d3d commit df950ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gdsfactory/components/bend_circular.py
Expand Up @@ -12,7 +12,7 @@ def bend_circular(
angle: float = 90.0,
npoints: int = 720,
with_bbox: bool = True,
cross_section: CrossSectionSpec = strip,
cross_section: CrossSectionSpec = "strip",
**kwargs
) -> Component:
"""Returns a radial arc.
Expand Down
1 change: 1 addition & 0 deletions gdsfactory/read/from_picwriter.py
Expand Up @@ -79,6 +79,7 @@ def from_picwriter(
datatypes = poly.datatypes

for polygon, layer, datatype in zip(polygons, layers, datatypes):
polygon = gf.snap.snap_to_grid(polygon)
c.add_polygon(polygon, layer=(layer, datatype))

c2 = gf.Component()
Expand Down

0 comments on commit df950ad

Please sign in to comment.