How is that possible in lcnc

More
4 years 10 months ago #229274 by Mike_Eitel
Hi
I just saw this : "CNC Surface Mapping... ON EARTH!" on YouTube


How could I do this in lcnc?

Thx in advance
Mike

Please Log in to join the conversation.

More
4 years 10 months ago #229325 by Michael
I saw that too. Someone would need to make a pyvcp panel for the inputs and have it activate a subroutine. Not sure the correct sequence but basically the subroutine would map the surface and apply z offsets to the appropriate g code.

Please Log in to join the conversation.

More
4 years 10 months ago #229331 by itsme

Please Log in to join the conversation.

More
4 years 10 months ago #229333 by billykid
www.scorchworks.com/Gcoderipper/gcoderipper.html#samples

this does something like this, it converts gcode for the curved surface

Please Log in to join the conversation.

More
4 years 10 months ago #229359 by cmorley
Linuxcnc almost has this capability (done the way they did) but would need work.
(My hunch based on not even looking at the code )

linuxcnc does leadscrew compensation very similarly.
Leadscrew comp only adjusts the axis it is comparing: ie. looks at axis X adjusts axis X
I don't see why you couldn't add the ability to look at axis X and Y adjust axis Z.
Just need to find an interested developer :)
adding an official request might help marginally.

Please Log in to join the conversation.

More
4 years 10 months ago #229361 by rodw
Replied by rodw on topic How is that possible in lcnc
I'd like to see a version that uses an Intel depth camera. The camera would take a photo and create a depth map, With the help of the image, touch off somewhere (which may not even need a physical touch) and set the reference plane.. Then as the tool traverses the job, use the depth data for the pixel being traversed to drive a  z axis external offset. Would be cool and a lot faster than probing.

Please Log in to join the conversation.

More
4 years 10 months ago #229392 by Henk
Replied by Henk on topic How is that possible in lcnc
I think external offset on the z would be the way to go to get this done. 

 

Please Log in to join the conversation.

More
4 years 10 months ago #229404 by Aciera
Replied by Aciera on topic How is that possible in lcnc
Maybe this could be a starting point?
github.com/scottalford75/LinuxCNC-3D-Pri.../master/compensation

Uses Python2 though.

Please Log in to join the conversation.

More
4 years 10 months ago #229444 by cmorley
The nice thing about using the deeper layer of linuxcnc is it gives you axis geometry error compensation as a bonus.

External offsets is a great way to hack in new behaviour to try out ideas.
Unfortunately the adage 'Don't let perfection get in the way of good enough' can be extended too far.

endlessly stacking external offsets hacks makes setting up linuxcnc much harder.

Please Log in to join the conversation.

More
4 years 8 months ago #233993 by blue-v
Replied by blue-v on topic How is that possible in lcnc
Well it's also not possible with Mach4 :-)

I do not know how Tony did it, but on my setup it's a complete fail and I never got it to work.

One year or so ago I tried it for the first time.
The wizard did not generate any usable map file at all.
I edited a map file by hand then - just to see it work.
Loaded it into Mach4, but the software completely ignored it.
Asked the support, but they could not find the problem.

As I saw Tony's video I tried it again.
New Mach4 version this time.
The wizard also failed. I got a lot of "no touch points" even though the probe indicated a correct touch at every probe point and the machine stopped z-feed.
Ok. Again I corrected the point file by hand and this time it worked: The z-axis followed the touched surface.
I contacted the support about the broken wizard and they sent me a new one.
Same result: Lots of "no touch points".
I did debugging and tests together with the support.
Result: They marked the ticket as "Resolved" without any comment or solution. Nice!

So the surface-following function works in Mach4 if you manage to get a map file in some way.
Btw: G-Code Ripper also fails in combination with Mach4 (it works fine with Mach3!). The results of the "probe-only" runs are as faulty as the ones of the Mach4 wizard. It's Mach4 that has a problem - not G-Code Ripper! Love that piece of software!

There are lots of other serious problems with Mach4 and I tended to switch to linuxcnc for quite a while. Now I think the time has come to roll up my sleeves and start over using linuxcnc.

Lothar

Please Log in to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum