Proper handling of octagonal and square pins

Bug #699503 reported by dkogan55
6
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.

Revision history for this message
dkogan55 (dkogan55) wrote :
Revision history for this message
dkogan55 (dkogan55) wrote :
Revision history for this message
dkogan55 (dkogan55) wrote :
Revision history for this message
Peter Clifton (pcjc2) wrote :

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.

Traumflug (mah-jump-ing)
Changed in geda-project:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.