Comments (6)
I am not sure I understand what you want from this? The bounding box? c.bbox(layer_index)
or c.bbox()
or in um c.dbbox()
and c.dbbox(layer_index)
from kfactory.
yes, it's similar to bbox but more convenient, as it allows you to easily get
nc
north-centersw
south-west- ....
from kfactory.
I mean a lot of it is there:
box.left, box.right, box.bottom, box.top, box.p1, box.p2, box.center(), box.height(), box.width()
from kfactory.
best thing: this does not only apply to cells and instances but all geometrical objects. all of them have a .bbox()
from kfactory.
@joamatab do you still think we need this?
from kfactory.
We can close it
from kfactory.
Related Issues (20)
- support decorator in cells HOT 1
- 'UMKCell' object has no attribute 'x'
- Add clear to KCLayout HOT 1
- All-Angle Bundle Router HOT 4
- support gdsfactory grid
- get_route fails for waveguides close to each other HOT 3
- move polar copy
- recommended way of snapping non manhattan components HOT 1
- support adding `info`, and `post_process` to @kf.cell decorator
- support gdsfactory backend HOT 1
- PDK Cells lose any info and settings
- Create protocols for routing functions and other places where necessary
- Use `Annotated` to support propagating units to metadata HOT 3
- support KCell.min, KCell.min , Instance.xmin, INstance.ymin ... in um HOT 8
- Kf.VInstance.rotate HOT 1
- kf.show() HOT 2
- addd route_loopack inside flag
- segfault after flattening
- Route smart doesn't consider the bounding box always HOT 1
- Improve `route_bundle` to allow sorting ports by flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kfactory.