Position Relative To uses centroid, not origin

Bug #1793984 reported by PCB Wiz on 2018-09-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jeff Young

Bug Description

In testing Position Relative To, I see it works nicely, allowing a select-snap, but strangely it seems to uses part-centroid, not part-origin ? (at least in my moderately recent build)

Centroid is ok for Via, and mounting holes, and also for many simple SMD parts, centroid is == origin, but for many other parts the centroid is not-quite the part origin.

It seems a strange default choice ?

Could it be fixed to be origin, or if there was some deliberate reason for doing centroid, allow users a choice of
[] Snap using Part origin (this is the same as move, & same as manual copy/paste of XY)
[] Snap using Part centroid

related reports suggest Position Relative To is a somewhat new feature, in both footprint editor & pcbnew.



That would mean this fix should be applied to both use cases ?

Jeff Young (jeyjey) wrote :

Not intentional; just a hold-over from the previous implementation.

Changed in kicad:
status: New → Confirmed
assignee: nobody → Jeff Young (jeyjey)
importance: Undecided → High
milestone: none → 5.1.0
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision f3c6e1fb622dad5c18fa8978160114954dac380d

Changed in kicad:
status: Confirmed → Fix Committed
Franck78 (fbourdonnec) wrote :

Isn't this bug #1793888 similar ?

Jeff Young (jeyjey) wrote :

Same conceptual problem, but different code implementing it.

Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers