Add preference for whether Flip flips across X or Y axis

Bug #1836267 reported by Jeff Young
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Wishlist
Jeff Young

Bug Description

We currently flip across X (like a flip-chart).

I'd like it to flip across Y (like pages of a book).

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

Would keep me from hitting "F" + "R" + "R" for each part. So, it affects me too.

+1

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

Could this be a option set in prefs or would it be best to 'hardcode' it?

Revision history for this message
Nick Østergaard (nickoe) wrote :

Flipping PCB's like a book? That is a strange way to flip a PCB :D.

It reminds me of
https://www.youtube.com/watch?v=pQHX-SjgQvQ

tags: added: feature.request pcbnew
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Nick, that's hysterical! I image the transition from scrolls to books was confusing ;)

Revision history for this message
Jeff Young (jeyjey) wrote :

I found this interesting bit of code in the Eagle importer:

double orientation = e.rot->degrees + 180.0;
m->SetOrientation( orientation * 10 );
m->Flip( m->GetPosition() );

Evidently Eagle flips left/right.

Jeff Young (jeyjey)
Changed in kicad:
status: Triaged → In Progress
milestone: none → 6.0.0-rc1
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 37af3adffb0e4dc8643f40f644c982c1c44fe2be
https://git.launchpad.net/kicad/patch/?id=37af3adffb0e4dc8643f40f644c982c1c44fe2be

Changed in kicad:
status: In Progress → Fix Committed
Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

@Jeff

I just tried to find the option to 'flip like a book' in 20190721 Nightly. Where would I go about looking for that option?

Thanks!

```
Application: KiCad
Version: (5.1.0-1341-g0d8ab12ad), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.6.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```

Revision history for this message
Jeff Young (jeyjey) wrote :

@ocb-hd-ccb, Preferences > Pcbnew > Editing Options > Flip board items L/R

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

Thanks I will keep an eye out for that since I don't see it in the current nightly.

https://imgur.com/a/HSXZX4J

Revision history for this message
Jeff Young (jeyjey) wrote :

Actually, that's the best news I've heard all day. It means the 'e' bug is also fixed and that the builds just aren't up-to-date. :)

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

Whats odd about that is the “grid origin” bug is fixed in the newest nightly. That was committed 5 days after this one...

I will continue testing the nightlies for the bug fixes...

Would be nice to have commit hashes on the macOS builds that make sense.

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

@Jeff haha I am blind. If you look at the above screenshot the option is there! but the 'e' bug is still present...

Revision history for this message
Ian McInerney (imcinerney) wrote :

Is https://bugs.launchpad.net/kicad/+bug/1780318 a duplicate of this report?

Revision history for this message
Jeff Young (jeyjey) wrote :

No. Imagine you were trying to draw a heatsink in a footprint. It's probably symmetric across at least one (if not two) axes, so you could draw just a quarter of it and then copy/mirror twice.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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