- Posts: 6803
- Thank you received: 0
Qtlathe
6 years 3 months ago #175018
by cmorley
Ok I pushed a fix for tool_offsetview so it changes units displayed as per g20/21
I only pushed it to master so far as I like someone else to test it before I put it in 2.8
i have tested it with a imperial based machine but not a metric based machine.
Chris
I only pushed it to master so far as I like someone else to test it before I put it in 2.8
i have tested it with a imperial based machine but not a metric based machine.
Chris
Please Log in to join the conversation.
6 years 3 months ago #175198
by cmorley
Thanks for checking with metric config. I pushed it to 2.8 now too.
I will look into radius/diameter changes in tooloffsetview.
I suppose only X and X wear should change.
I probably should have an icon to show current mode.
Couple things I see on your screen:
active feed is in units per time - it should be units per revolution for lathes.
pick 'current-feedunit' in the status label (it's badly named)
There are two Icons for unhome X that display on the bottom left.
Chris
I will look into radius/diameter changes in tooloffsetview.
I suppose only X and X wear should change.
I probably should have an icon to show current mode.
Couple things I see on your screen:
active feed is in units per time - it should be units per revolution for lathes.
pick 'current-feedunit' in the status label (it's badly named)
There are two Icons for unhome X that display on the bottom left.
Chris
Please Log in to join the conversation.
6 years 3 months ago #175224
by hottabich
Thanks for the help. Should the icons at the bottom left with all homed be changed somehow? If yes what I am missing. I'm wrong about the radius. It seemed to me that in the offset tool, you can write the parameters of the new tool, and not just the offset. How can you create
new tool?
new tool?
Please Log in to join the conversation.
6 years 3 months ago #175269
by cmorley
I have added the changes for radius/diameter for X tools.
It's in 2.8 but needs to be merged up to master but there are conflicts in unrelated code. Hopefully soon.
If you press the add tool button, a tool with number -99 pops up. Just edit that tool.
I think the icons on the bottom use a path only on my computer, so don;t show on your system. I'll see about what I can do there.
Chris
It's in 2.8 but needs to be merged up to master but there are conflicts in unrelated code. Hopefully soon.
If you press the add tool button, a tool with number -99 pops up. Just edit that tool.
I think the icons on the bottom use a path only on my computer, so don;t show on your system. I'll see about what I can do there.
Chris
Please Log in to join the conversation.
6 years 3 months ago #175373
by cmorley
I just pushed some code to utilize qrc resource files.
If there is a file named qtlathe.qrc it will be compiled and imported.
You should be able to set up a resource file in qtdesigner and qtvcp will honor it for standard widgets. I'll have to test and fix custom widgets (image_switcher honors resource images now)
oh I forgot to test if putting a qrc file in a configuration folder will be used....
Chris
If there is a file named qtlathe.qrc it will be compiled and imported.
You should be able to set up a resource file in qtdesigner and qtvcp will honor it for standard widgets. I'll have to test and fix custom widgets (image_switcher honors resource images now)
oh I forgot to test if putting a qrc file in a configuration folder will be used....
Chris
Please Log in to join the conversation.
6 years 3 months ago #175389
by hottabich
Thanks for your attention. The interface folder that I download is completely self-contained. There is qtlathe. grc and imsges folder. There is an interesting change I think so. I apologize, but there xml file rus they can be changed to en. Now the question is how to write ref_x (z) _not.png to the handler so that the picture disappears when homed x (z), respectively. Moreover, the Q-orientation tool cannot the number, it can beat R, L, N.
Please Log in to join the conversation.
6 years 3 months ago #175408
by cmorley
Status image switcher will switch between images based on linuxcnc states.
Here is an example:
In the properties section notice that:
'watch axis homed' is checked
'axis letter' is set to Z
if you double click the 'image list' a dialog will show and allow you to add image paths to.
if you have one image as an icon and one image as clear then that will look like it shows and hides the icon.
selecting image paths can be done by selecting the 'pixmap' property and selecting an image.
then right click the image name and you should see 'copy path'
click 'copy path'
now double click the 'image list' so the dialog shows.
click the new button
paste the image path in the entry box
Do that again for the next image.
You can test display the images from the image list by changing the 'image number' - in this case 0 is unhomed 1 would be homed
'watch spindle' would toggle between 3 images ( stop, fwd, revs)
'watch all homed' would toggle between 2 images ( not all homed, all homed)
'watch hard limits' would toggle between 2 images or one per joint
Here is an example:
Attachment not found
In the properties section notice that:
'watch axis homed' is checked
'axis letter' is set to Z
if you double click the 'image list' a dialog will show and allow you to add image paths to.
if you have one image as an icon and one image as clear then that will look like it shows and hides the icon.
selecting image paths can be done by selecting the 'pixmap' property and selecting an image.
then right click the image name and you should see 'copy path'
click 'copy path'
now double click the 'image list' so the dialog shows.
click the new button
paste the image path in the entry box
Do that again for the next image.
You can test display the images from the image list by changing the 'image number' - in this case 0 is unhomed 1 would be homed
'watch spindle' would toggle between 3 images ( stop, fwd, revs)
'watch all homed' would toggle between 2 images ( not all homed, all homed)
'watch hard limits' would toggle between 2 images or one per joint
Please Log in to join the conversation.
Time to create page: 0.134 seconds
