![]() |
Any G-Code CNC Experts?
I have little work project that involves turning camera X-Y data points into a 2-D CNC program in G-code.
I don't know too much about G-code, so: What instructions make the path inside vs outside the shape? What is the origin as reference, is this set on the machine? How do you indicate the cutter size? Can you modify the cutter size from actual to create an offset? i.e. to cut slightly larger or smaller? I have some rough code I was given, if that's a good starting point let me know and I will post some of it. |
Hmmm...where to start!
Ok, here are answers in order: G41 (Left) G42 (Right) tell the machine what cutter comp to use. Instead of thinking of left or right, think climb vs conventional milling. Your 'orgin' is set on the machine during program load/setup. When you load/setup your program, you will (generally) assign your tools, by size and Z (quill) offset. Sure post the code. I'll have a look at it. Let me know if you have any other questions. |
%
O001 G21 T1M06 G00G90G58X-213.075Y17.741S1000M8 G43Z20.000H1D2M3 G5P10000 G00X-213.075Y17.741Z10.000 G01X-213.075Y17.741Z0.000F200.0 G01X-212.099Y18.365Z0.000F500.0 X-211.182Y19.031 X-210.318Y19.736 X-209.504Y20.478 X-208.736Y21.253 etc.. X-216.193Y16.047 X-215.157Y16.599 X-214.104Y17.157 X-213.075Y17.741 G00X-213.075Y17.741Z20.000 G5P0 T1M6 M30 % |
All times are GMT -8. The time now is 07:54 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website