Framing set origen

More
05 Nov 2021 10:20 - 05 Nov 2021 10:22 #225382 by rodw
Replied by rodw on topic Framing set origen

I don't have any interest in getting into file handling.


Fair enough. It was just an idea..
But good to see you had a crack at load last.
I tried it but it would not work for me. Nothing happened.
BUTTON_6_NAME           = Load\Last
BUTTON_6_CODE           = latest-file /home/rod/linuxcnc/nc_files/examples/plasmac


This is on my Chromebook. I left my plasma at work building master at the end of the day so will try on a real config soon.

Edit: that folder does exist. :)
Last edit: 05 Nov 2021 10:22 by rodw.

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

More
05 Nov 2021 10:34 #225383 by phillc54
Replied by phillc54 on topic Framing set origen
Bugger... did it give an error message?

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

More
05 Nov 2021 10:40 #225384 by phillc54
Replied by phillc54 on topic Framing set origen
Well silly me, I left a typo in from my error testing. 

look for this line "filess = glob.glob('{}/*.ngc'.format(dir))" and change "filess" to "files" and it should would.

I also left a debug print statement in, I will fix in the morning.
The following user(s) said Thank You: tommylight

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

More
05 Nov 2021 11:06 #225385 by rodw
Replied by rodw on topic Framing set origen
It works perfect now. Thanks Phil!
Its actually an awesome feature
The following user(s) said Thank You: tommylight

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

  • paulsao
  • paulsao's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
05 Nov 2021 14:03 #225396 by paulsao
Replied by paulsao on topic Framing set origen
Did the new framing code go back to the old one? I see there is an update on that.

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

More
05 Nov 2021 19:46 #225424 by snowgoer540
Replied by snowgoer540 on topic Framing set origen
It just tidied up the setup code for the button itself 
The following user(s) said Thank You: paulsao

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

More
06 Nov 2021 15:31 #225505 by snowgoer540
Replied by snowgoer540 on topic Framing set origen

Today I had to do a quick job and use the simple cut function and I wanted to use the laser to see where the sheet was cut and if it was straight but it seems to have the same problem that offsets, so I had to guide me by the torch :(


Finally had some time to get to looking at this on the table today. It's one of those things that is difficult to visualize on a virtual machine.

Assuming you were using the laser to align to a rotated sheet, then I do see the problem.

Currently QtPlasmaC sets the rotation, and then sets the origin. It just needs to set the origin, then set the rotation. I PR'd a fix for Phill to evaluate.

This would affect the origin placement for all rotations, so good find!
The following user(s) said Thank You: paulsao

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

  • paulsao
  • paulsao's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
06 Nov 2021 15:43 #225506 by paulsao
Replied by paulsao on topic Framing set origen
Ok , the laser is a very good very useful tool I always use it 
The following user(s) said Thank You: snowgoer540

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

More
06 Nov 2021 18:30 #225513 by rodw
Replied by rodw on topic Framing set origen
I had previously played with rotation and had some gmocappy macros that do the same thing based on some earlier examples by BigJohnT
When I did that, jogging along an axis with my pendant would follow the edge of the sheet. One thing I noticed yesterday is that qtplasmac does not do that. If you jogged with it, you got normal unrotated motion when jogging but the screen preview rotated and the motion followed the rotation when running a program.

I used G2 L10
Does QTplasmac do it differently?

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

More
06 Nov 2021 18:42 - 06 Nov 2021 18:43 #225515 by snowgoer540
Replied by snowgoer540 on topic Framing set origen
Qtplasmac just calculates the rotation based on the points chosen, and then applies the rotation with G10 L2 P0 Rxx.

I’ve not experience jogging along the rotated axis automagically, I’ve used rotations on my mill and it did not do that.  

Maybe Gmoccapy does something different, but I’m not sure I’d want it to do that honestly.  Seems like getting around the table would be really inconvenient without clearing the rotation.
Last edit: 06 Nov 2021 18:43 by snowgoer540.

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

Moderators: snowgoer540
Time to create page: 0.141 seconds
Powered by Kunena Forum