Lathe Macros

More
4 years 3 months ago - 4 years 3 months ago #247221 by arvidb
Replied by arvidb on topic Lathe Macros
Okay. I've never used (or even seen) the keyboard so I don't really know what I'm talking about.

I took a quick look at the code and the keyboard seems to be laid out with glade (loaded with a GtkBuilder from a .ui file)? Adding a '+' key to get division to act "the way it always does" (and get support for addition besides!) seems like a big improvement IMO. Obviously it's your time so please ignore my opinion as you wish. :) The macros should be very useful either way.
Last edit: 4 years 3 months ago by arvidb. Reason: Spelling...

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

More
4 years 3 months ago - 4 years 3 months ago #248103 by TurnCNCde
Replied by TurnCNCde on topic Lathe Macros
(SORTED OUT)
I DID simply copy the SIM.gmoccapy.lathe_config
and changed the DISPLAY to AXIS  and in a second copy to touchy
that did the trick
##############

Hi i'am new to Touchy and Gladevcp
i tryed ti get the ZIP file from page 2 to run
with no success
i installed from the 2.8.2 iso and updated to 2.9 pre 7123 today
no way to get this py file to a work
please can you provide the newest touchy and axis files as a ZIP
the 2.9 contains a SIM as of gmoccapy Working 

Thank You
Last edit: 4 years 3 months ago by TurnCNCde. Reason: it workes as simple as

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

More
4 years 3 months ago - 4 years 3 months ago #248123 by arvidb
Replied by arvidb on topic Lathe Macros

I have re-vamped the lathe macros for use with GTK3.It now uses features only usable in Python 3.7 , so Buster is fine, but nothing much before that.

Rather than attach a zip file, I think it makes sense to grab the up-to-date version from the LinuxCNC repository.

You will need these files:
boring.ngc
chamfer.ngc
drilling.ngc
facing.ngc
grooving.ngc
lathehandler.py
LatheMacro.svg
lathemacro.ui
radius.ngc
threading.ngc
turning.ngc

To be clear, these are the ones hiding under configs/sim/gmoccapy/lathe_configs/ , right? Not the ones under nc_files/macros/lathe/?

Are the latter unrelated or old duplicates? If the latter perhaps better remove them to avoid confusion...
Last edit: 4 years 3 months ago by arvidb. Reason: Added link

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

More
4 years 3 months ago #248176 by TurnCNCde
Replied by TurnCNCde on topic Future Macros
Is there a plan for more macros to be
I make lots of v-shaped grooves
 

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

More
4 years 3 months ago - 4 years 3 months ago #248181 by andypugh
Replied by andypugh on topic Lathe Macros

To be clear, these are the ones hiding under configs/sim/gmoccapy/lathe_configs/ , right? Not the ones under nc_files/macros/lathe/?

Yes.

Are the latter unrelated or old duplicates?


These appear to be versions modified to work with the QTCVP macros tab:

linuxcnc.org/docs/stable/html/gui/qtvcp_...tml#_macrotab_widget

I don't know if they are currently working.
Last edit: 4 years 3 months ago by andypugh.
The following user(s) said Thank You: arvidb

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

More
4 years 3 months ago #248182 by andypugh
Replied by andypugh on topic Future Macros

Is there a plan for more macros to be
I make lots of v-shaped grooves

 
The README has some info on how to add your own routines. You need to add a layer to the SVG and create a new tab in the UI file using Glade:
github.com/LinuxCNC/linuxcnc/blob/master...e_configs/README#L35

 

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

Time to create page: 0.450 seconds
Powered by Kunena Forum