INFO and DEBUG messages

More
17 Sep 2020 00:50 #182488 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
There is horizontal spacer added to push all the other widgets to the left.
If you add to the right of it , it's pushed to the right.

try:

self.w.horizontalLayout.insertWidget(5,self.w.rotate_degrees)

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

More
17 Sep 2020 01:08 #182491 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
Perfect!

I saw the horizontal spacer in the ui file but it appeared to be on a different level.

Attached is my end result, many thanks...
Attachments:

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

More
17 Sep 2020 03:13 #182495 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
Oh hey that's great - maybe I should incorporate this behavior in the stock panel.

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

More
17 Sep 2020 03:16 #182497 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
It is handy for fine tuning...

One thing I did notice is that I use the angle from the camera-rotation pin in a G10 L2 P0 R#<_hal[camera.cam-rotation]> command to set the coordinate sytem XY rotation then it is reversed to what it should be. I changed the line in the NextFrame function to:
        self.pin_.set(360 - self.w.camview.rotation)

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

More
17 Sep 2020 03:18 #182498 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
That seems a good idea.
Maybe I should wait till you improve it some more! :)

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

More
17 Sep 2020 03:23 #182499 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
I think it is where I like it now, looking good. I'll finish testing on the plasma table after lunch.

The PlasmaC config doesn't require any Z motion which is why I hid the Z dro label. It embeds into Axis really well. I'll post any other changes here if I make any.
The following user(s) said Thank You: cmorley

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

More
17 Sep 2020 04:57 #182502 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
This is my end result which works well for me.

Basically the same as before but I hijacked the mouseDoubleClick function to allow resetting the scale and circle diameter.

I made a couple of changes to to camview_widget.py and cam_align.ui as well.

Thanks again for pointing me in the right direction.
Attachments:

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

More
18 Sep 2020 05:30 #182610 by cmorley
Replied by cmorley on topic INFO and DEBUG messages
When I get a chance I will see about incorporating these changes in to linuxcnc.

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

More
18 Sep 2020 05:47 #182612 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
I am working on another...

A button labelled "Mark Edge":
move crosshair to a point on an edge that intersects the material origin
press button, label changes to "Mark X0 Y0"
move crosshair to the material origin
press button, label changes to "Mark Edge"
crosshairs rotate if thes actions caused a rotation
press original SET Origin to set the origin etc. etc.

It works in a sim, just confirming it on my machine.
The following user(s) said Thank You: rodw

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

More
18 Sep 2020 09:06 #182624 by phillc54
Replied by phillc54 on topic INFO and DEBUG messages
Attached is the latest incarnation.

Attachments:
The following user(s) said Thank You: tommylight

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

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