Archive:Foam cutter

From The Munich Maker Lab's Wiki
Revision as of 14:05, 28 October 2017 by Demotape (talk | contribs) (dxf2gcode)
Jump to navigation Jump to search
 
Foam Cutter

Release status: experimental [box doku]

Description t.b.d.
Author(s)  Tobi

Description and article content (t.b.d.)

ssh -Y mk@IP_OF_FOAMCUTTER

./launch_linuxcnc

In dxf2gcode Optionen-- Nullpunkt verschieben, Auf Auto klicken verschiebt den Nullpunkt auf die "beste untere linke Ecke" Dann Export- Pfad optimieren und exportieren, um die Gcode-Datei zu erhalten. Wer möchte kann es mit Optionen -- Alles Skalieren größer oder kleiner machen.

Dann die gcode datei öffnen und handisch editeren: Kopfzeile und G0 Z Befehl entfernen T1, S6000 Befehl entfernen M3 Befehl entfernen G0 Z Befehl entfernen F150 Befehl entfernen. G1 Z auch entferenn M9 M5 entfernen.

Danach in LinuxCNC öffnen. Die CNC mit den roten Knöpfen oben links öffnen.

Dann nach Home (Nullpunkt fahren): Auf Antasten klicken. Das ist der Nullpunkt für das Werkobjekt relativ zur Maschine. Für beide Achsen durchführen.

DXF2GCode

  1. Load a DXF file with a closed border
  2. if it is necessary scale the drawing (Options)
  3. Move the work piece zero offset (Options)
  4. Export-> Export and optimize and export the shapes


DXF2GCode Postprocessor configuration

# Configuration file for styrofoam cutter output:
# * no movement in Z-Axis
# * 
# by Robert Lichtenberger, 2014

#  Section and variable names must be valid Python identifiers
#      do not use whitespace in names

# do not edit the following section name:
[Version]
    
    # do not edit the following value:
    config_version = 6

[General]
    output_format = .ngc
    output_text = styrofoam cutting G-CODE for LinuxCNC
    output_type = g-code
    
    abs_export = True
    cancel_cc_for_depth = True
    cc_outside_the_piece = False
    export_ccw_arcs_only = False
    max_arc_radius = 10000.0
    
    code_begin_units_mm = G21 (Units in millimeters)
    code_begin_units_in = G20 (Units in inches)
    code_begin = G90 (Absolute programming) G64 (Default cutting) G17 (XY plane) G40 (Cancel radius comp.) G49 (Cancel length comp.) M3 M8 M0 (turn on heat then pause)
    code_end = M9 M5 (turn off heat) M2 (Program end)
    code_begin_prog_abs = G90 (Absolute programming)
    code_begin_prog_inc = G91 (Incremental programming)

[Number_Format]
    pre_decimals = 4
    post_decimals = 3
    decimal_seperator = .
    pre_decimal_zero_padding = False
    post_decimal_zero_padding = True
    signed_values = False
    decimal_separator = .

[Line_Numbers]
    use_line_nrs = False
    line_nrs_begin = 10
    line_nrs_step = 10

[Program]
    tool_change = T%tool_nr M6%nlS%speed
    feed_change = F%feed%nl
    rap_pos_plane = G0 X%XE Y%YE%nl
    rap_pos_depth = ""
    lin_mov_plane = G1 X%XE Y%YE%nl
    lin_mov_depth = ""
    arc_int_cw = G2 X%XE Y%YE I%I J%J%nl
    arc_int_ccw = G3 X%XE Y%YE I%I J%J%nl
    cutter_comp_off = G40%nl
    cutter_comp_left = G41%nl
    cutter_comp_right = G42%nl
    pre_shape_cut = ""
    post_shape_cut = ""
    comment = %nl(%comment)%nl

Youtube

https://youtu.be/MVM_DZ3CdO0