Jump to content

brims

Dormant
  • Posts

    4
  • Joined

  • Last visited

Posts posted by brims

  1. Great, thank you for that. I saw a lot of Python scripts in ~/.local/ for Cura and I was going to start experimenting with the script in there later but you saved me the trouble.

     

    2 hours ago, berndjm said:

    On linux the script should work located in

    /home/[YOUR_USERNAME]/.local/share/cura/3.3/scripts

     

     

  2. I'm running Linux, but the directories are similar, although I don't have a PostProccessingPlugin directory anywhere. I put your script into /usr/share/cura/plugins/, made it executable, then launched Cura and the script didn't show up. So I'll keep working on it to see what I can make happen. Thank you for your help.

     

    30 minutes ago, b-morgan said:

    The script should go in C:\Program Files\Ultimaker Cura 3.3\plugins\PostProcessingPlugin\scripts (if you used the defaults when you installed Cura). Note that if you just remove the .log from the filename, my script has a unique name.

     

    On my machine, I did find a script in the above directory for every script listed in the Add a script dropdown.

     

  3. Here's my start g-code:

    G21; Metric values

    G90; Absolute positioning

    M107; Fan off

    G28; Home the printer

    G92 E0; Zero the extruder

    G0 E4 F500; Extrude 4mm to prime nozzle

     

    The only time I have an outright Z1 movement is at the end, and it's in relative mode at that point. None of the g-code I looked at has a Z15 movement, other than the Pause at Height change on 2 models. So I'm at a loss.

     

    Where do I place the modified script? I ran a search and found pauseAtZ.py and tweakAtZ.py but don't see the other 6 post-processing scripts listed in Cura 3.3.1

     

    58 minutes ago, b-morgan said:

    I'd be willing to bet those initial Z height changes are coming from the start gcode for your printer. If so, then they are executed before there's anything on the print bed.

     

    The current Pause at Height post processing script, however, isn't very smart and it see's those changes in Z and will insert its gcode into the middle of your printer's start gcode.

     

    I have solved this problem by modifying the script, see below:

     

     

     

  4. Can someone please help me understand what Pause at Height is doing? I looked at code that it modifies to pause at height, I see several changes in the Z height that make no sense to me. The third command added is G1 F300 Z1, the fifth command it G1 F300 Z15, and the thirteenth command is G1 F300 Z1. If the height of my model at the time of change is tall enough, the X axis gantry will just crush my model. I tried the script on a tall model and selected a much higher layer to change and I got the same results. My searches only came up with posts about Pause at Height, nothing I saw about these odd Z height changes.

×
×
  • Create New...