mm / inch

Post anything you want to discuss with others about the software.

mm / inch

Postby CADdy » Wed May 11, 2022 3:07 pm

Hi all,

are G20 /G21 not in UCCNC implemented?

Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm

Re: mm / inch

Postby ger21 » Wed May 11, 2022 4:37 pm

No.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: mm / inch

Postby CADdy » Wed May 11, 2022 7:14 pm

Well, then I could work with the scale factor after all. I have a G-code file that contains inch values. If I use a factor of 25.4, it should work. Am I correct there?

UCCNC-scale.png


Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm

Re: mm / inch

Postby ger21 » Wed May 11, 2022 9:58 pm

I think so, but the feedrate will be very slow.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: mm / inch

Postby CADdy » Thu May 12, 2022 5:05 am

Hi Gerry,

you are right, the feedrate should be corrected with an editor bevore milling. I'll test it.

Thanks
Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm

Re: mm / inch

Postby CADdy » Tue May 17, 2022 9:58 pm

It only works to a limited extent. The dimensions are okay, but as Gerry already said, the speeds in the G-code have to be adjusted by hand. In addition, neither the tool change point nor the position for the tool measurement are correct due to the factor. You can still work reasonably well with a single tool. But as soon as a tool change is due, you can forget the process. If I didn't have limit switches, the machine would have gone fully into the mechanical stops. It is a pity that G20/G21 are not implemented. Maybe this will still be tackled.

Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm

Re: mm / inch

Postby ger21 » Wed May 18, 2022 2:02 am

The simple workaround is to create two profiles, one for inches, and one for mm's. Shouldn't take more than 10 minutes to set up the second one from a copy of the first.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: mm / inch

Postby CADdy » Wed May 18, 2022 5:00 am

Well, this is a good idea. Thank you Gerry, I'll do it.

Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm

Re: mm / inch

Postby CADdy » Wed May 18, 2022 9:49 am

I've made a copy from my actual profile and renamed it. But how to change a mm-profile to a inch-profile?
I'm a little stumped at the moment.

Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm

Re: mm / inch

Postby eabrust » Wed May 18, 2022 11:13 am

You'll update every setting related to movement in your settings for all axes, update position settings for the offsets/softlimits/et. Just converting everthing by the mm to inch conversion.

speeds/velocities: divide by 25.4
steps per unit: multiply by 25.4 (multiplying because the units is in denominator...)
accel rates: divide by 25.4.

etc, etc, all axes, all settings related.



Attached may help, start you off.
Convert mm to inch settings-SCraft.xlsx
(10.95 KiB) Downloaded 265 times


The attached may not be all encompassing of your machine, if you have tool changer positions, etc, you'll have to convert them all as well.

regards
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Next

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: Bing [Bot] and 19 guests

cron