Thread: How to 'crop' a g-code
Hybrid View
-
25-11-2016 #1You think that's too expensive? You're not a Model Engineer are you? :D
-
25-11-2016 #2
if you remember, here is why it is so time consuming... Now I have to generate separate toolpath for each triangle separately. I already have the toolpath for a surface big enough to include every shape I need, but now I need to eliminate the unnecessary movement.
-
25-11-2016 #3
Yes, I guessed that it was related but generating the toolpath for a full surface then chopping up that toolpath simply isn't done, you chop up the surface then generate toolpaths for the parts or you cut the full surface then chop out the parts.
If your CAD/CAM isn't capable of the above you might need to cut two or more copies of your full surface to be able to machine out your parts
I don't think you realise just how complex a mathematical problem what you're asking for constitutes, it would need to
1 Recognise which paths needed to be truncated and where
and
2 Calculate which truncated paths then need linking
and
3 Would need access to the surface data in order to know how to link them without gouging your part
and
4 Generate the paths to link paths
and
5 Insert the links into the modified truncated code
The reason no one writes software to edit complex 3D toolpaths generated in another package within a boundary like this is because if they can do that they can write a CAM package that does the job properly in the first case and sell that to a mass market.
Simply buy a CAM package that can do what you need, or provide enough information about what you're trying to achieve so the guys can analyse the full problem, not just the problem as you see it after reaching your own dead end.You think that's too expensive? You're not a Model Engineer are you? :D
-
25-11-2016 #4
I do not see where it is the complexity. My g-code is a list of points defined by XYZ. I need to look at the the XY coord. of every line and compare with my shape. If the point is inside the shape keep the line, if it is outside delete it. That simple.
To get an idea of what I'm doing, I have the shapes already cutout and I'm applying a surface texture on them. I need to eliminate the extra movement, cutting out air, around the shape.Last edited by paulus.v; 25-11-2016 at 03:24 PM.
-
25-11-2016 #5
-
25-11-2016 #6
-
25-11-2016 #7
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
A little bit of G code help please!
By njhussey in forum Programmers CornerReplies: 19Last Post: 16-11-2015, 03:36 PM -
Anyone got some 2.5D G-code please ?
By dudz in forum Programmers CornerReplies: 5Last Post: 22-06-2013, 11:21 PM -
Cambium Code Web Tools – Parametric G-code Generation
By CambiumMachines in forum Manufacturer NewsReplies: 0Last Post: 09-01-2013, 04:56 AM -
G Code help
By moose007 in forum Programmers CornerReplies: 4Last Post: 22-05-2009, 11:39 AM
Bookmarks