from svg_to_gcode.svg_parser import parse_file
from svg_to_gcode.compiler import Compiler, interfaces

# Instantiate a compiler, specifying the interface type and the speed at which the tool should move. pass_depth controls
# how far down the tool moves after every pass. Set it to 0 if your machine does not support Z axis movement.
# gcode_compiler = Compiler(interfaces.Gcode, movement_speed=1000, cutting_speed=300, pass_depth=5)

# curves = parse_file("Image/perro.svg") # Parse an svg file into geometric curves

# gcode_compiler.append_curves(curves) 
# gcode_compiler.compile_to_file("Image/drawing.gcode", passes=2)

class svg_to_gcode:
    
    def complier(self,svgFile):
        curves = parse_file(svgFile) # Parse an svg file into geometric curves

        gcode_compiler = Compiler(interfaces.Gcode, movement_speed=1000, cutting_speed=300, pass_depth=5)
        gcode_compiler.append_curves(curves) 
        gcode_compiler.compile_to_file("Image/drawing.gcode", passes=2)
1ce185f2e39856c6064162780a72e71f502fba76
<mask token>

<mask token>


class svg_to_gcode:
    <mask token>

<mask token>


class svg_to_gcode:

    def complier(self, svgFile):
        curves = parse_file(svgFile)
        gcode_compiler = Compiler(interfaces.Gcode, movement_speed=1000,
            cutting_speed=300, pass_depth=5)
        gcode_compiler.append_curves(curves)
        gcode_compiler.compile_to_file('Image/drawing.gcode', passes=2)

from svg_to_gcode.svg_parser import parse_file
from svg_to_gcode.compiler import Compiler, interfaces


class svg_to_gcode:

    def complier(self, svgFile):
        curves = parse_file(svgFile)
        gcode_compiler = Compiler(interfaces.Gcode, movement_speed=1000,
            cutting_speed=300, pass_depth=5)
        gcode_compiler.append_curves(curves)
        gcode_compiler.compile_to_file('Image/drawing.gcode', passes=2)

from svg_to_gcode.svg_parser import parse_file
from svg_to_gcode.compiler import Compiler, interfaces

# Instantiate a compiler, specifying the interface type and the speed at which the tool should move. pass_depth controls
# how far down the tool moves after every pass. Set it to 0 if your machine does not support Z axis movement.
# gcode_compiler = Compiler(interfaces.Gcode, movement_speed=1000, cutting_speed=300, pass_depth=5)

# curves = parse_file("Image/perro.svg") # Parse an svg file into geometric curves

# gcode_compiler.append_curves(curves) 
# gcode_compiler.compile_to_file("Image/drawing.gcode", passes=2)

class svg_to_gcode:
    
    def complier(self,svgFile):
        curves = parse_file(svgFile) # Parse an svg file into geometric curves

        gcode_compiler = Compiler(interfaces.Gcode, movement_speed=1000, cutting_speed=300, pass_depth=5)
        gcode_compiler.append_curves(curves) 
        gcode_compiler.compile_to_file("Image/drawing.gcode", passes=2)