Skip to content

Incorporating TSV element as layer_changing element #73

Answered by qpavsmi
Qvadi asked this question in Q&A
Discussion options

You must be logged in to vote

Here is what I managed to get working using the "Standard TSV element". In defaults.py enable the element to be selected in the GUI "Edit node" tool by adding 'TsvStandard' to both node_editor_valid_elements and node_editor_layer_changing_elements. Then in elements/tsvs/tsv_standard.py add the following lines at the end of the build function:

        self.add_port("{}_port".format(self.face_ids[0]), pya.DPoint(0, 0))
        self.add_port("{}_port".format(self.face_ids[1]), pya.DPoint(0, 0))

I get something like this:

A literal hole in the wire, so maybe not something that we want to fabricate.

You might want to create an element of your own into a new file (use FlipChipConnectorRf as a…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@qpavsmi
Comment options

Answer selected by Qvadi
@Qvadi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants