Background:

Langmuir Systems builds CNC equipment including the MR-1 CNC gantry mill. MR-1 uses a modified version of GRBL firmware for processing and executing G code. Currently, GRBL does not support wear compensation. Machines that have wear compensation functionality can slightly adjust the actual tool path if the machine is producing parts that are too large or too small. A machinist might add .001" of wear compensation to a program if a hole they are interpolating is supposed to be 1.0" diameter, but instead actually measures .999". Similarly, if the outside edges of the part measure 1.001", a .001" wear comp input should have the desired effect of making the outside 1.000" in diameter.

If any MR-1 user encounters either undersize or oversize cutting, their only option is to go back to their CAM software, modify parameters, and then repost a brand new G code file. This is time consuming and inefficient.

Objective:

The goal of this project is to develop a script (software program) that can parse a G-code program (.txt,.nc, etc) designed for CNC milling operations which includes G41/42 cutter compensation. Once the user inputs the desired compensation value (i.e. .001” as in the example above) the script should output a new G-code file where all tool paths have been adjusted. Additionally the G41/G42 compensation codes should be removed so that CutControl can read the file without errors.

While not the end goal of this scope, the long term goal is to insert functionality into CutControl (i.e a button or wizard) that allows the user to instantly compensate their program on the fly.

An example G-code file containing G41 wear compensation will be provided as part of the project materials. The successful candidate will use this file to develop and test the script.

Required Skills and Experience:

Programming Languages: Proficiency in Python or a similar programming language known for text processing and computational geometry.
Understanding of CNC Machining: Familiarity with CNC milling operations, G-code syntax, and the practical implications of tool path adjustments.
Computational Geometry: Ability to perform geometric calculations necessary for adjusting tool paths based on tool radius changes.
Problem-Solving: Strong analytical and problem-solving skills to address the complexities of tool path adjustments and ensure the output matches the desired machining result.
Communication: Excellent communication skills to clarify requirements, provide updates, and discuss potential challenges.
Deliverables:

Script Source Code: Fully commented and documented source code of the script.
User Guide: A concise user guide detailing how to use the script, including how to input the original G-code file and specify the new tool diameter.
Example Outputs: Example outputs using the provided G-code file, demonstrating the script’s effectiveness.

Hourly Range: $20.00-$45.00

Posted On: March 02, 2024 03:24 UTC
Category: Scripting & Automation
Skills:Automation, JavaScript, Python, CNC Programming

Country: United States

click to apply

Powered by WPeMatico