For the Modifier:
Percentage -- specify the percentage change (positive or negative) to the current value.
Hard -- specify a +/- value to adjust the temperature
Value -- specify a new temperature value.

In all cases, the maximum calculated value is 265 and the minimum calculated value is 0.

For the material code #250. I added a type CubePro specific type (CP_ABS or CP_PLA). There may be a better way of doing this, but this keeps the controls to a minimum. I can look at changing the code to use the Printer Model field for CUBE3 or CUBEPRO to determine the type/color of the filament.

I have corrected the temperature errors. Let me look at the color adjustment to remove the CP_PLA/CP_ABS types.

Maximum temperature is 265. If any adjustment results in a larger value, it will be set back to 265.

Minimum temperature is 0. If any adjust results in a negative value, it will be set back to 0.

If LEFT is specified, then only the left extruder is modified. If RIGHT is specified, then only the right extruder is modified. if MID is specified, then only the mid extruder is modified. If none of these are specified, then the temperature adjustment affects all entries that match the given <XXXX> temperature.

If <YYYY> is calculated to be less than 0, then the value stored will be 0.

EXECUTE

EXECUTE causes the file indicated by the command line to be

Loaded Encrypted file

Decrypt

Header Stripped (if present)

Image Stripped (if present)

Commands in Script run

Encrypted

Original file backed up.

Saved Encryped file.

=====EXAMPLE=====
An example script may look like:

Code:

set FIRMWARE V1.14B
set MINFIRMWARE V1.14B
set MODEL CUBE3
set E1 82
set E2 -1
set E3 -1
set TEMPERATURE LEFT 210 BY REPLACE 195
set TEMPERATURE LEFT 265 BY REPLACE 215
set TEMPERATURE LEFT 250 BY REPLACE 210
set TEMPERATURE LEFT 240 BY ADD -35
set RETRACTSTART 450 BY PERCENTAGE -50
set RETRACTSTOP 450 BY PERCENTAGE -50
EXECUTE

and the command line may look like:

cube3editor example.cube3 example.scr

this would result in an updated example cube3 that has the updates specified in the script. If for any reason one of the lines in the script is badly formed, no changes will occur to the cube3 file.

as part of the Cube file utility suite I created, I have an extractor which extracts the contents of a .CUBE3 file (and I think CubePro from v1.87) into set of files. One thing that is part of the CUBE3 file are two .MRL files. I have not been able to figure out the format of these files, although their purpose is for the display on the CUBE that slowly gets colored in while printing. Does anyone have any idea of the format of these files that we can create a converter to/from the format?

I have attached a zip archive to this message that is an extracted CUBE3 file.

TommyDee thought these might be alpha channels. I am not a graphics expert, so his guess is probably much better than mine.