tscircuit / builder

11 stars 7 forks source link

feat: add port ids #88

Closed imrishabh18 closed 4 months ago

imrishabh18 commented 4 months ago

Closes - https://github.com/tscircuit/tscircuit/issues/291

Screenshot 2024-07-29 at 7 04 28 PM

imrishabh18 commented 4 months ago

So, only the first and last endpoint will be having start_pcb_port_id and no end_pcb_port_id, while the other will be having both, right?

seveibar commented 4 months ago

No the others will have undefined. It's kind of confusing and likely to change but you should only have an idea if the x y position represents the port

imrishabh18 commented 4 months ago

This is what you mean't, that the first one is having it's port_id as the starting point and similarly the last one is having it's port_id as the starting point (bi-directional)