Proper handling of octagonal and square pins
Bug #699503 reported by
dkogan55
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA project |
New
|
Wishlist
|
Unassigned | ||
pcb |
New
|
Undecided
|
Unassigned |
Bug Description
Prior to this patch, the square-pin geometry functions were incomplete, and the octagonal-pin geometry functions were almost completely missing. What little there was was buggy. I'm attaching 2 patches that hopefully handle all of the possible geometrical intersection possibilities to support square and octagonal pins. I'm also attaching a .pcb file I used to evaluate the code, but more tests are desireable. To test, press 'f' to check for geometric intersections of the components. I was not 100% clear on what "bloat factors" are, so it is possible that some parts of these patches neglect those.
Changed in geda-project: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Just a minor nit, PCB / gEDA in general uses /* */ comments, not //
I think eventually the way forward to support any non-round pin type is to use arbitrary polygons for the intersections.