Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managing Wire Intersection in Electronics Circuits #4863

Open
1 task done
MrCodYrohit opened this issue Mar 30, 2024 · 0 comments
Open
1 task done

Managing Wire Intersection in Electronics Circuits #4863

MrCodYrohit opened this issue Mar 30, 2024 · 0 comments

Comments

@MrCodYrohit
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

In electronics, when two wires intersect or overlap, there is a convention to handle this situation by creating a reverse "U" shape with one of the wires at the point of intersection. This practice helps to prevent electrical short circuits and ensures proper signal flow within the circuit.

Screenshot 2024-03-30 125402

Steps To Reproduce

Define Wire Objects: Create objects or data structures to represent wires in the circuit. Each wire object should contain information such as its starting point, ending point, and any intermediate points where it intersects with other wires.

Check for Intersection: Implement algorithms to detect intersections between wires during the routing process. This may involve iterating through the list of wires and checking for overlapping segments or points.

Resolve Intersection: When an intersection is detected, apply logic to resolve it by adjusting the routing of one or both wires. This could include rerouting wires to avoid direct overlap or implementing a "U-shaped" bend at the intersection point.

Expected Behavior

It should look like this:

Screenshot 2024-03-30 130006

Screenshots

Screenshot 2024-03-30 125402

Device Information [optional]

- OS:
- Browser:
- version:

Additional context

No response

Are you working on this issue?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant