How to receiveinfo of negative wxPoints

Dear All i am creating a External script that creates me a POS File withe e specific structure. New i use to get the line below t receive the centroid data of a module.

Module.GetCenter().y

But compared with the origignal POS Export some of the wxPoints should receive negative values. As far as i know, wxPoints has no informtion f a value is neagtive. How do i receive the info about negative values in the module list.

Thanks for you help

Patrick

wxPoint has normal signed integer coordinates in micrometers. It will be negative if coordinates are in corresponding quarter.

You are probably confused because in pcbnew y axis increases downwards and origin point 0,0 is at upper left corner outside of the worksheet.

Thanks for the information

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.