That lives in the BOARD_DESIGN_SETTINGS class now.  Use
`BOARD.DesignSettings()` to get the structure.  Then you can call
`GetAuxOrigin/SetAuxOrigin`

Regards,
Seth



On Mon, Oct 10, 2022 at 12:04 PM Lev Lev <[email protected]> wrote:

> Dear developers,
>
>
> I'm trying to port my plotting python script to v6. I'm missing the
> GetAuxOrigin() method from the board class.
>
> Do you know how to get this?
>
> I need a wxpoint type for offset to the
>
> drlwriter.SetOptions( mirror, minimalHeader, offset, mergeNPTH )
>
> call.
>
> offset = bord.GetPosition()
>
> does something, but this is not what I wanted; the drill files will have
> some offset I don't want.
>
> I can set the offset manually by issuing
>
> offset = wxPointMM(100,100)
>
> but I want this to be automatically detected.
>
> Moreover, I want my XY data to be relative to the aux_axis_origin.
>
> Any help are welcome.
>
>
> Thanks,
> Lev
>
> --
> You received this message because you are subscribed to the Google Groups
> "KiCad Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/kicad.org/d/msgid/devlist/f09617c3-583f-4ff6-9032-02c315b1412dn%40kicad.org
> <https://groups.google.com/a/kicad.org/d/msgid/devlist/f09617c3-583f-4ff6-9032-02c315b1412dn%40kicad.org?utm_medium=email&utm_source=footer>
> .
>


-- 
[image: KiCad Services Corporation Logo]
Seth Hillbrand
*Lead Developer*
+1-530-302-5483‬
Long Beach, CA
www.kipro-pcb.com    [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/kicad.org/d/msgid/devlist/CAFdeG-pGRZnLtq-x9NgOnyy-Cet2sWH_%2BjAejYedszWUz2x1Pw%40mail.gmail.com.

Reply via email to