A python wrapper for the Skill objects in virtuoso
Project description
Canvas Backend to Cadence Rod Objects
from skillbridge import Workspace
from geometry import Rect, Group
from rodlayout import Canvas, Layer
Workspace.open().make_current()
r = Rect[0:2, 0:4, Layer('M1', 'drawing')]
c = Canvas()
c.append(r)
(db_id, rod_id), = c.draw()
print(rod_id) # <remote rodObj@...>
r2 = Rect[0:4, 0:2, Layer('M2', 'drawing')]
c = Canvas()
c.append(Group([r, r2]))
(db_id, rod_id), = c.draw()
print(db_id) # <remote figGroup@...>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rodlayout-0.1.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for rodlayout-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3db4ebaf20270491f826ecd8e5ed0ab8519829d44d83b04ea750127841d5b5ec |
|
MD5 | abd02c9400e48ee347a5ec955b35d263 |
|
BLAKE2b-256 | 3868b27e8e2beed94c7ca0ce0440ba8e92749779a18fc77f877165d0a58d942b |