Hello Guest it is December 26, 2024, 12:09:24 PM

Author Topic: Scripting Help Tool Zero  (Read 12532 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
Re: Scripting Help Tool Zero
« Reply #10 on: August 16, 2008, 09:33:22 PM »
Phil, I think i understand what you want. I have sent you a Personal message.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Greolt

*
  •  956 956
Re: Scripting Help Tool Zero
« Reply #11 on: August 17, 2008, 02:42:29 AM »
Phill

I have now tested the script I suggested.

It works perfect on LPT and SmoothStepper.

So the line that I was not sure about syntax, is good.

PlateThickness = 3.0 + GetUserDRO(1151) 'Set touch plate thickness here and it will add the material thickness from the onscreen DRO

Greg

Re: Scripting Help Tool Zero
« Reply #12 on: August 17, 2008, 05:43:59 AM »
Hi Greolt,

I have just tested the script it does exactly what i want.  ;D

It seems explaining what you want is harder than the actual coding.  ::)

Thanks also to Brett "Chaoticone" for your kind offer via PM and help thus far but Greolt just beat you to it.

This came about as i am engineering rather than routing and i cannot always get my touch plate in a position to get a Touch

So i touch off on another face and either add or subtract to get me back to where my datum is.

I did not want the zero tool thickness coming into the equation "Outside Of The Script" as a mistake can have disastrous consequences IE i wanted that thickness left hard coded where it would always be correct.

I think i may change the title to reflect what i consider a usefull addition to the Auto Tool Zero Script.

Phil_H
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
Re: Scripting Help Tool Zero
« Reply #13 on: August 17, 2008, 07:25:57 AM »
Glad Greg got you sorted Phil. Thats what it is all about. Good job Greg.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!