Does Linuxcnc have the capability for 2D edge digitising.

More
26 Apr 2020 22:22 #165710 by beefy
I've searched on the forum for this but surprisingly I could not find one result.

Can Linuxcnc automatically probe the outer (and inner for that matter), edges of an object, i.e. Z is fixed in height position and only XY axis move to "trace" the edges of a part, and create a 2D point file.

Mach3 has a plugin called "Probe It" which I believe does this.

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

More
27 Apr 2020 10:50 #165784 by rodw
Hmm, fancy finding you having a walk on the dark side Keith!

I think its been done but I could not find anything. I'm sure I've seen someone doing a 3D probing exercise.

You can certainly save probe coordinates to a text file within the gcode probing routine easily. I have done that for a single surface on a straight line and some people probe the whole surface before doing a circuit board or similar to adjust machining depth based on x,y coordinates... Docs for V 2.7 (current release) are here
linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g38

So once you have your probe data, it would not be hard to process the file to do whatever you want.

Also note that our probing may be a bit different to what you are used to. We can probe towards an object and then probe away more slowly until contact breaks for greater accuracy. That's how we do our plasma touchoffs.

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

More
28 Apr 2020 22:28 #166020 by beefy
Hi Rod,

thanks for the reply. Sorry in the delay getting back to you.

This video shows what I'm after (@ 2:47 it starts):


My interest in Lcnc was the low cost of hardware & software and I thought something like this would be old news for Lcnc. Could have been just what I needed to be turned to the dark side LOL.

Ah well, can't win em all.

Keith

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

More
28 Apr 2020 22:40 #166022 by tommylight
Here you go:
www.google.com/search?client=firefox-b-e...+site%3Alinuxcnc.org
Plenty of info there but i have not used it, so i can not help much.

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

More
28 Apr 2020 23:36 #166035 by beefy
Thanks very much Tommy, I'll check it out.

Keith.
The following user(s) said Thank You: tommylight

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

More
29 Apr 2020 00:00 #166039 by tommylight

Thanks very much Tommy, I'll check it out.

Keith.

You are very welcomed, always.

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

More
24 Feb 2022 15:08 #235705 by robertspark
sorry to restart this thread but I just stumbled across this which could be what you were looking for (I know it was what I was looking for in a similar application):


;probe a profile
;the routine will initially probe in negative Y and will walk around the profile clockwise
;but can follow a re-entrant shape

#1 = 0 (explore angle)
#2 = #5420 (start positions)
#3 = #5421
#4 = 3 (step size)
#5 = 0.5 (retract on sucessful probe)
(AXIS,stop)
(LOGOPEN,profile.txt)
O100 WHILE [1]
    G38.3 F100 X[#2 + #4 * COS[#1 - 90]] Y[#3 + #4 * SIN[#1 - 90]]
    O101 IF [#5070 EQ 1]
        G38.5 F20 X#2 Y#3 (slow probe away, store point)

        (LOG, #5061, #5062)

        #2 = [#5061 + #5 * COS[#1 + 90]] 
        #3 = [#5062 + #5 * SIN[#1 + 90]]
        G0 X#2 Y#3 (1mm back along probe track)
        O102 DO
            G38.5 F500 X#2 Y#3
            G38.3 F500 X[#2 + #4 * COS[#1]] Y[#3 + #4 * SIN[#1]]
            O103 IF [#5070 EQ 1]
                #1 = [#1 + 15]
            O103 ENDIF
        O102 WHILE [#5070 EQ 1]
        #2 = #5420
        #3 = #5421
    O101 ELSE
        (missed, so now start a clockwise polygon looking for the edge)
        #1 = [#1 - 15]
    O101 ENDIF
O100 ENDWHILE
(LOGCLOSE)
M2

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

More
17 Mar 2022 10:53 #237527 by myval
Hi guys,
is there any digitising how to for dummies? This is exactly a function I would love to use at the moment but can not figure out how to get it implemented. I am using 2.9.0 with qtdragon-hd.
I have tried to install bigJohns position logger but will not install. Is there any other simple way to get this up an running?
thanks
Josef

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

More
17 Mar 2022 17:10 #237542 by andypugh
Watch the video? I hope it explains most of it.
If not, ask (it's my video)

It's a pity that I didn't spot this thread when it started.

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

More
28 Mar 2022 13:19 #238521 by pkali
Dear Andy and all visitors,
I would like to share with you my addaption of Andy's 2D profile digitizing to 3D scanner. All I have done is probing in XZ plane and then do a step in Y and go back untill we reache written limit in X or Y. I am using a DIY probe and due to vibrations it is better to have input debounced in .hal file. I have added probe G38.2 down 20mm, because sometimes the program was "lost in space". You may experiment with speeds, due to your probe and machine. Import the file in Meshlab or other soft - that is not the part of this post.
Andy thanks for this sin a cos routine, its smart.

Regards
Petr
Attachments:

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

Time to create page: 0.109 seconds
Powered by Kunena Forum