Add mirror to custom pad shape transform

Bug #1793601 reported by Evan Shultz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

When creating custom pad primitives, I've used the transform feature several times. Being able to replicate a custom pad shape and offset and rotate it is very helpful. But I've also wanted to mirror them several times and that feature is unavailable.

For example, see the footprint at https://www.coilcraft.com/pdfs/lps4018.pdf. In this case, if I could make a rectangle for the leftmost edge (0.87x2.79mm), then construct the top half, and finally mirror the top half along the X-axis to make the bottom half I'd be done. But there is no way to mirror in the GUI.

Application: kicad
Version: (5.0.0), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
eelik (eelik) wrote :

Nice coincident that I just made a feature request for mirroring: https://bugs.launchpad.net/kicad/+bug/1793493. Would that work for you?

Revision history for this message
Evan Shultz (evan-shultz) wrote :

Thanks for the note.

This is not exactly what I was mentioning, but it might share code under the hood. I'm asking to be able to mirror a custom pad shape primitive (about the custom pad origin). There are other transformations present now (copying orthogonally with repeat, re-sizing, etc.) but not mirroring.

Jeff Young (jeyjey)
Changed in kicad:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Stefan Hamminga (stefanhamminga) wrote :

As a comment and work-around:

Selecting 'Mirror' from the right-click menu does nothing (not even an error).

But it can be done manually for simple shapes (a polygon) by:
1. Right-click the pad and select 'Explode Pad to Graphics Shapes'
2. Box-select the polygon and pad
3. Right-click and select 'Mirror', this time the action completes
4. Right-click and select 'Create Pad from Selected Shapes'

Maybe these steps can be the default action for 'Mirror' on a custom pad?

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2245

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Wishlist → Unknown
status: Expired → Fix Released
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.