karthikmn commited on
Commit
9b45399
·
verified ·
1 Parent(s): 542982b

Delete utils/cnc_utils.py

Browse files
Files changed (1) hide show
  1. utils/cnc_utils.py +0 -13
utils/cnc_utils.py DELETED
@@ -1,13 +0,0 @@
1
- def generate_gcode(cad_file):
2
- """
3
- Generates G-Code from the provided CAD file.
4
- Returns the file path of the generated G-Code file.
5
- """
6
- try:
7
- # Example mock-up for G-Code generation
8
- gcode_file = "/mnt/data/generated_gcode.nc"
9
- with open(gcode_file, 'w') as f:
10
- f.write(f"G-Code for CAD file: {cad_file}")
11
- return gcode_file
12
- except Exception as e:
13
- return f"Error in G-Code generation: {e}"