Simple/Manual Centre Finder
- Waldemar
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 10
01 Sep 2025 23:06 #334246
by Waldemar
Replied by Waldemar on topic Simple/Manual Centre Finder
Just been perusing some of the threads on Flex - really interesting. I'll definitely have a closer look..!
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23527
- Thank you received: 5005
04 Sep 2025 22:36 - 04 Sep 2025 23:15 #334448
by andypugh
Replied by andypugh on topic Simple/Manual Centre Finder
This captured my interest, so I made one.
Drop the two attached files into the same folder as your INI file.
Then, in the [DISPLAY] section of the INI file add:Be careful with the buttons, they are not tested on real hardware.Set Zero - should set the coordinate system zero to be the centre of the probed circle (considers G54 etc but not G92 at the moment)GotoZero does a Z-hop of (currently) 20mm then G0 X0 Y0.The diameter measured has 6mm subtracted from it to allow for probe diameter.The Z-hop and probe diameter are constants defined near the top of the python file. Feel free to edit to suit.This uses GladeVCP. As has been suggested elsewhere, there are other VCP frameworks, but Glade works well enough with Axis.
Drop the two attached files into the same folder as your INI file.
Then, in the [DISPLAY] section of the INI file add:
EMBED_TAB_NAME=Centre Finder
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x {XID} -u ./CentreFinder.py ./CentreFinder.ui
Last edit: 04 Sep 2025 23:15 by andypugh.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23527
- Thank you received: 5005
04 Sep 2025 22:39 - 04 Sep 2025 23:11 #334450
by andypugh
I have just realised that my thingy requires you to type in the values. That's not as ergonomic as one might hope. Give me a few minutes.
Files updated
Replied by andypugh on topic Simple/Manual Centre Finder
Files updated
Last edit: 04 Sep 2025 23:11 by andypugh.
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds