OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Filename Placeholder "initial_filament_type" not available

Open Sidirius opened this issue 2 years ago • 2 comments
trafficstars

OrcaSlicer Version

1.8.0-rc2

OS version

macOS 14.0

Additional system information

Apple Silicon M1 Pro

Printer

Voron 2.4

How to reproduce

Add the variable [initial_filament_type] or {initial_filament_type} to the "Filename format", slice a file, press print oder export gcode.

Actual results

Error Message: Variable does not exist

Expected results

Add the initial_filament_type to the filename.

Project file & Debug log uploads

OrcaCube_BugReport.3mf.zip

Archive.zip

Checklist of files to include

  • [X] Log file
  • [X] Project file

Sidirius avatar Nov 13 '23 11:11 Sidirius

I got around this with {filament_type[initial_tool]} Similarly, I was able to get my initial nozzle and bed temps into my start GCODE with NOZZLE_TEMP={first_layer_temperature[initial_tool]} BED_TEMP={first_layer_bed_temperature[initial_tool]} FILAMENT_TYPE={filament_type[initial_tool]}

kieraneglin avatar Jan 04 '24 18:01 kieraneglin

{filament_type[initial_tool]}

For the GCODE there is no prob, works like expected. What I mean is for the GCODE-Filename. I would like to have my initial filament (and tool, but that works) in the filename.

Sidirius avatar Jan 11 '24 12:01 Sidirius

@Sidirius this also works in the filename - I'm using it!

kieraneglin avatar Jan 11 '24 15:01 kieraneglin

@Sidirius this also works in the filename - I'm using it!

Can you send me your filename format, I tested it with the stub ({filament_type[initial_tool]}) and got an error when I tried to export…

Sidirius avatar Jan 11 '24 18:01 Sidirius

@Sidirius {input_filename_base}_{nozzle_diameter[0]}_{filament_type[initial_tool]}.gcode I've tested on Orca 1.8.1 and 1.9.0 and both have worked (but this has been working for me for many months) Screenshot 2024-01-11 at 10 55 09 AM

kieraneglin avatar Jan 11 '24 18:01 kieraneglin

@Sidirius {input_filename_base}_{nozzle_diameter[0]}_{filament_type[initial_tool]}.gcode I've tested on Orca 1.8.1 and 1.9.0 and both have worked (but this has been working for me for many months) Screenshot 2024-01-11 at 10 55 09 AM

Thanks mate, now it works, now it also works when I change it in my stub.... I have no clue what went wrong yesterday...

Sidirius avatar Jan 12 '24 07:01 Sidirius

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Apr 12 '24 00:04 github-actions[bot]

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Apr 19 '24 00:04 github-actions[bot]