Skip to content

[FEATURE] #26

@mmalaiska

Description

@mmalaiska

hi,
I could not get the start gcode to play nice with OrcaSlicer.

  1. Failed to generate G-code for invalid custom G-code.
    machine_start_gcode Parsing error at line 2: Not a variable name
    SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=extruder_temp VALUE={first_layer_temperature[initial_extruder] + extruder_temperature_offset[initial_extruder]}
    ^
    It is pointing to extruder_temperature_offset[initial_extruder].
    I removed this offset from start gcode. Onto point 2.

  2. Failed to generate G-code for invalid custom G-code.
    machine_start_gcode Parsing error at line 4: Referencing a vector variable when scalar is expected
    SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=chamber_temp VALUE={chamber_temperature}
    ^
    It is pointing at {chamber_temperature}. I removed this line. Onto point 3.

  3. Failed to generate G-code for invalid custom G-code.
    machine_start_gcode Parsing error at line 5: Not a variable name
    SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=material_color VALUE={filament_colour_int}
    ^
    Now it is pointing at {filament_colour_int}. Also removed the line. Onto point 4.

  4. Failed to generate G-code for invalid custom G-code.
    machine_start_gcode Parsing error at line 7: Not a variable name
    SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=tool_name VALUE="'{tool_name[initial_extruder]}'"
    ^
    Now it is pointing at {tool_name[initial_extruder]}.

I have zero understanding in coding macros, or coding of any sort :)
Can you provide start and other gcodes for OrcaSlicer? Can your configuration play nice with it? I have a feeling Orca does not use the above mentioned variables at all... In any case, appreciate your work, thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions