cam_align in Axis

More
18 Jan 2024 04:56 #290989 by cmorley
Replied by cmorley on topic cam_align in Axis
Fixing the not round holes - look here:
forum.linuxcnc.org/qtvcp/51151-camera-configuration?start=0
Those file changes will be in 2.9.3 release if you want to wait.

Recalling the adjustments on startup would require custom python code - a file change - to get qtvcp to save the info

MDI commands for Qtvcp go in the INI under the heading [MDI_COMMAND_LIST]
Here is a sample that also shows how to add labels

[MDI_COMMAND_LIST]
# for macro buttons
MDI_COMMAND = G0 Z25;X0 Y0;Z0, Goto\nUser\nZero
MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0,Goto\nMachn\nZero

explained here, look for ini_mdi_number option:
linuxcnc.org/docs/stable/html/gui/qtvcp-...widgets:actionbutton

Please Log in or Create an account to join the conversation.

More
18 Jan 2024 05:06 - 18 Jan 2024 05:07 #290990 by cmorley
Replied by cmorley on topic cam_align in Axis
you can adjust the camera window size shown in AXIS using a -o options in the INI.
it may help with the oval holes.

instead of:
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align

try:
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} -o size=500x500 cam_align

You can adjust the 500x500 to change the size/aspect of the window.
Last edit: 18 Jan 2024 05:07 by cmorley.

Please Log in or Create an account to join the conversation.

More
21 Jan 2024 21:50 #291286 by cmorley
Replied by cmorley on topic cam_align in Axis
When linuxcnc 2.9.3 is released, there will be a change to cam_align that will keep the image square no matter the size/resize. that should help with distortion issues.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.060 seconds
Powered by Kunena Forum