Hi! I'm curious if there's a way to extract the ge...
# magic
m
Hi! I'm curious if there's a way to extract the geometry together with the circuit, so I can link nodes with geometry. I saw that the .ext file has position and layer:
For purposes of going back from the node name to the geometry defining the node, _(x,y)_ is the coordinate of a point inside the node, and _type_ is the layer on which this point appears
but I would have to do all the process that magic have already done to go back to the geometry
m
What's your aim?
m
I was playing around with 3d representations of the sky130 cells and some simple circuits. For some of those, like this animation of the mux2_1 using ngspice output data, I need to know which polygons are linked to which nodes/nets
👍 1
👏 1
I’ve been using KLayout extraction and .l2n files, but I wanted to know if I could also do this with magic
t
@Maximo Balestrini: Magic does some of its own 3D representations (Options->3D Display). There is also a command "extresist geometry" which I once created for this purpose, but I have not used it for a long time so I'm not certain it still works. Probably a better approach (but requiring some coding work) would be to use the 3D vectors generated for the 3D window and dump them to a file in STL format.
m
thanks Tim! I wanted to check that there wasn't a way of exporting nodes+geometry that I wasn't aware of.