Thanks Thanks:  8
Likes Likes:  5
Dislikes Dislikes:  0
Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29
  1. #21
    Super Moderator
    Join Date
    Nov 2016
    Posts
    2,021
    Post Thanks / Like
    E3 is optional (trio) as is E2 (Duo). left E1, mid E2, right E3

  2. #22
    Regular 3D Printer
    Join Date
    May 2019
    Location
    Earth.
    Posts
    39
    Post Thanks / Like
    Thank you for the update.

    I've got some sort of issue with a specific temperature (or possibly gcode specific). I am still trying to track it down.

  3. #23
    Super Moderator
    Join Date
    Nov 2016
    Posts
    2,021
    Post Thanks / Like
    I noticed when I opened an ABS CUBE3 print the material automatically went to the CP-ABS (#250) when looking at the BFB file.
    This is in the second build you posted.

    I also noticed that when you use the "hard" value, it is posting the max temp regardless of value.

  4. #24
    Regular 3D Printer
    Join Date
    May 2019
    Location
    Earth.
    Posts
    39
    Post Thanks / Like
    Thanks!

    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.

  5. #25
    Super Moderator
    Join Date
    Nov 2016
    Posts
    2,021
    Post Thanks / Like
    Just use the current set value in the print file as the original program did. If the user changes it, then rewrite it.

    I figured that is what hard was but it always returned 265 no matter what.

  6. #26
    Regular 3D Printer
    Join Date
    May 2019
    Location
    Earth.
    Posts
    39
    Post Thanks / Like
    Okay, so let's rename these a bit:

    Percentage -- no change
    Hard --> Replace
    Value --> Additive

    New versions
    Zip File -- https://drive.google.com/open?id=1Z1...zS-kR5bIoYmOCF
    MSI Installer -- https://drive.google.com/open?id=1cz...VWZhf987stHXEJ

    - - - - - - - - - -



    Cube3Editor Scripting Idea:


    SET [FIRMWARE|MINFIRMWARE|MODEL|E1|E2|E3] "value"
    FIRMWARE: sets ^Firmware: to "value"
    example: set FIRMWARE "V1.14B"

    MINFIRMWARE: sets ^Minfirmware: to "value"
    example: set FIRMWARE "V1.14B"

    MODEL: sets ^PrinterModel: to "value"
    example: set MODEL "CUBE3"

    E1: sets ^MaterialCodeE1: to "value"
    example: set E1 "82"

    E2: sets ^MaterialCodeE2: to "value"
    example: set E2 "82"

    E3: sets ^MaterialCodeE3: to "value"
    example: set E3 "82"


    MODIFY TEMPERATURE [LEFT | RIGHT | MID] <XXXX> BY [PERCENTAGE [+/-]<YYYY> | ADD [+/-]<YYYY> | REPLACE <YYYY>]
    This modifies all existing occurances of XXXX by one of the following methods:
    PERCENTAGE [+/-]<YYYY>: adjusts XXXX by percentage. Increase can be specified by specifying a positive value for YYYY. Decrease can be specified by specifying a negative value for YYYY.

    ADD [+/-]<YYYY>: adjust XXXX by YYYY. Increase XXXX by specifying a positive value for YYYY. Decrease YYYY by specifying a negative value.

    REPLACE <YYYY>: Replace each occurance of XXXX with YYYY.

    • 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.


    MODIFY RETRACTSTART <XXXX> BY [PERCENTAGE [+/-]<YYYY> | ADD [+/-]<YYYY> | REPLACE <YYYY>]
    This sets the P/S values of M227 command by percentage, addition or replacing the exising value with a new value.
    PERCENTAGE [+/-]<YYYY>: adjusts XXXX by percentage. Increase can be specified
    by specifying a positive value for YYYY. Decrease can be specified by
    specifying a negative value for YYYY.

    ADD [+/-]<YYYY>: adjust XXXX by YYYY. Increase XXXX by specifying a
    positive value for YYYY. Decrease YYYY by specifying a negative value.

    REPLACE <YYYY>: Replace each occurance of XXXX with YYYY.
    If <YYYY> is calculated to be less than 0, then the value stored will be 0.

    MODIFY RETRACTSTOP <XXXX> BY [PERCENTAGE [+/-]<YYYY> | ADD [+/-]<YYYY> | REPLACE<YYYY> ]
    This sets the S values of M228 command by percentage, addition or replacing the existing value with a new value.
    PERCENTAGE [+/-]<YYYY>: adjusts XXXX by percentage. Increase can be specified by specifying a positive value for YYYY. Decrease can be specified by specifying a negative value for YYYY.

    ADD [+/-]<YYYY>: adjust XXXX by YYYY. Increase XXXX by specifying a positive value for YYYY. Decrease YYYY by specifying a negative value.

    REPLACE <YYYY>: Replace each occurance of XXXX with YYYY.
    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.
    Last edited by buddybu; 06-12-2019 at 02:58 AM.

  7. Likes TommyDee, bolsoncerrado liked this post
  8. #27
    Super Moderator
    Join Date
    Nov 2016
    Posts
    2,021
    Post Thanks / Like
    Love the script concept. Indeed, this is a nice beginning of a library.

  9. #28
    Administrator bolsoncerrado's Avatar
    Join Date
    Nov 2014
    Posts
    3,211
    Post Thanks / Like
    You may want to start a new thread with the tool and instructions on the first post?

  10. Thanks buddybu thanked for this post
    Likes buddybu liked this post
  11. #29
    Regular 3D Printer
    Join Date
    May 2019
    Location
    Earth.
    Posts
    39
    Post Thanks / Like

  12. Thanks bolsoncerrado thanked for this post
 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •