Board Rotation

72 views
Skip to first unread message

Thomas Gondek

unread,
Nov 9, 2025, 1:53:13 PM (12 days ago) Nov 9
to OpenPnP
Relatively new to OpenPNP, been running for about 6 months and all good!.  Quick "New Be" question.   i have to mount a board rotated 90 degree (space reasons on the build plate)  I tried rotating the board 90 in the setup tab, but when i run a fiducial check, open pnp check for the like the board is still mounted "normally".  what am I missing?  Obviously I am not telling openpnp what it needs to know :-)  Any Guidance would be appreciated

interesting thing - when I click on the "eye" for the board, it does show the board rotated.

Thanks in advance for any tips

Tom


 

vespaman

unread,
Nov 9, 2025, 2:59:53 PM (12 days ago) Nov 9
to OpenPnP
Hi Tom,

What do you mean by "the setup tab"?  What does the rotation on job panel say?

Skärmbild_20251109_205652.png



  - Micael

Thomas Gondek

unread,
Nov 9, 2025, 3:03:01 PM (12 days ago) Nov 9
to ope...@googlegroups.com
Under “job” I have the board listed (only board). Under “rot” for the board I entered 90.  

Tom


--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/openpnp/bdd703d8-6371-487d-be94-2d0ca00ac2d5n%40googlegroups.com.

tonyl...@gmail.com

unread,
Nov 9, 2025, 6:03:17 PM (12 days ago) Nov 9
to OpenPnP
Did you also update the X and Y values as well? They probably need to change if you are rotating the board - unless you happen to be pivoting it around its origin (0, 0) point.

Thomas Gondek

unread,
Nov 10, 2025, 9:30:58 AM (11 days ago) Nov 10
to OpenPnP
I did pivot around the origin.  Thats why I am so confused :-)    I know this is user error, I am missing something!  Just so dam frustrating cause I know that I am not getting / understanding it and overlooking something that is prob so simple!

tonyl...@gmail.com

unread,
Nov 10, 2025, 1:50:19 PM (11 days ago) Nov 10
to OpenPnP
> I did pivot around the origin.

Are you absolutely certain of that? That would seem like an unusual way to orient the board on your machine. What you are describing is this:

BoardRotation1.png

But could you really be doing this?

BoardRotation2.png

Prior to running the fiducial check, what happens when you click the "Position the camera at the board's location" button.

Thomas Gondek

unread,
Nov 10, 2025, 2:11:11 PM (11 days ago) Nov 10
to OpenPnP
Thanks, I figured it out.  I did pivot the board correctly, and I did set the camera to the correct corner.....  after all of this, I notice that the board origin wasnt at "0,0" in fusion 360, it was at about 20mm in x and 30mm in y.  Soon as fixed that, everything worked just fine!  Perfect example of garbage in garbage out!

THANKS FOR ALL THE HELP!

Tom

bert shivaan

unread,
Nov 14, 2025, 7:59:53 AM (7 days ago) Nov 14
to ope...@googlegroups.com
It seems to me, it should have worked anyway? Maybe it is not set up this way, but here is what I assume:
None rotated board
board file is loaded giving all locations relative to some origin which we may not know. 
First fiducial is found to be 20mm right of expected, openPNP notes internally all coordinates are shifted 20mm
second fiducial ifs found, it is 20mm as expected but als 1 mm down.
Internal shift stuff now knows there is a rotation and a shift. 
So the transform matrix is set, all things will be moved according tio this.

Now if the board is rotated because we want it to be, wouldn't the transform be rotated as well, and all above would still happen as expected to the rotated board?


tonyl...@gmail.com

unread,
Nov 16, 2025, 10:25:46 PM (5 days ago) Nov 16
to OpenPnP
> It seems to me, it should have worked anyway?

No, the operator has to give OpenPnP an initial location and orientation of the board (that is, where the board's origin is located and oriented relative to the machine) that is roughly correct in order for OpenPnP to be able to even know where to start looking for fiducials. The initial location and orientation don't need to be exact, but they need to be fairly close.

Reply all
Reply to author
Forward
0 new messages