← Back to team overview

kicad-developers team mailing list archive

Re: Pad SHAPE, SH_RECT vs SH_SIMPLE

 

That might happen if the shape cache is dirty.  You can call
'pad->IsDirty()' to check.

One related question: if you get the SH_SIMPLE and check the coordinates,
do they form a rectangle with angle 0?

-Seth

On Sun, Sep 6, 2020 at 3:52 PM Mário Luzeiro <mrluzeiro@xxxxx> wrote:

> Hi all,
>
> I noticed that (if I looked correctly) that there are some Pads, that are
> marked as Rectangles but its shape Type is set to be SH_SIMPLE (both angles
> are 0)
> So I got some rectangles that are SH_RECT and other rectangles are
> SH_SIMPLE
>
> Could some one clarify this differences and what originate it?
>
> Mario
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>


-- 
[image: KiCad Services Corporation Logo]
Seth Hillbrand
*Lead Developer*
+1-530-302-5483‬ <+12126039372>
Davis, CA
www.kipro-pcb.com    info@xxxxxxxxxxxxx

Follow ups

References