Cura Plugin - Swap At Z

Plugin for Cura

3D printer parts and enhancements

Creative Commons Attribution Share Alike

Commercial use is allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

Learn more or download attribution tags

Description

*****Please note that this plugin is for the older Cura versions (14.07 to 15) and doesn't work with the Cura 2 and Cura 3 versions.

Swap At Z is a plugin for Cura that let you mix 2 gcode with different parameters together.

All parameters can be changed between the two gcode like infill, layer height, speed, combing or spiralize.

Different objects can also be used but make sure you validate the gcode result prior to printing to avoid waste of time :)

------------------------------------------------------------------

Install:

Save the swapAtZ.py file in your Cura plugin directory (ex: C:\Program Files (x86)\Cura_<version>\plugins).

SwapAtZ started in Cura 14.07 version. Older versions have not been tested.

------------------------------------------------------------------

How to use:

- First you need to prepare a gcode in Cura without using the plugin with a set of parameters and save the gcode file. This is the gcode that will be used in the plugin.

- Now you can change the needed parameters.

- Add the plugin

- Set the path to the previously saved gcode. The path need to be complete and must contain the path, filename and extension (ex: C:\Users\Pierre-Marc\Documents\Prints\test.gcode)

- Set the height at which you desire to start the swap. Height is in mm. This is where the swap between the current slice and the one part of the specified gcode will occur. You can leave this value at 0 if you which to replace the beginning of the slice

- Optionally include the swap end height if you which to return to the current slice. Swap end value must be higher then swap start value.

------------------------------------------------------------------

Validate:

When mixing 2 gcode its always important to validate before printing. To validate the result of swapAtZ you can view it in Layer View. Its important to check the layers at which the swap occur and the following one to make sure no issue occurred. If you have changed the layer height you will see issues in the layer view of the current object.

To see the REAL result of the mix you can save the gcode and open it in Cura. This way the layer view will load every layer and display properly even with layer height changes.


Revisions:

Version 1.1: Initial version released on Youmagine

Version 1.2: Support for Spiralize and other modes where no G0 codes are present at the begining of the layer.

Documents

  • Placeholder
    Swap At Z 1.1
    PY  –  13 kb
    Version 1 - Feb 08, 2015
  • Placeholder
    Swap At Z 1.2
    PY  –  14 kb
    Version 1 - Mar 01, 2015

Issues

Issues are used to track todos, bugs or requests. To get started, you could create an issue.

Comments

Mini img 1638pmdude commented ago

Hi Matthew. The plugin was made for the older Cura version before the Cura 2 and Cura 3 rewrites. I've updated the description.

94fb3ccf4fcebc7652a846ed4b3e2a3a?default=blank&size=40Matthew Roberts commented ago

for the life of me i cannot get this plugin to show up in the toolbox in cura 3.4

i've extracted it, and put it in the folder, and trying to browse and find it to install, nothing

i also don't see where i can access it. any tips would be awesome!

726ee765f32ba3a6969dfbb50f66e6b8?default=blank&size=40Christoph Drescher commented ago

hi, how can I start the plugin? I pasted the .py file in the plugins folder of cura like in the Description. the only difference is that my cura is installed in the ordinary c folder. not the (x86).

and shall I use the 1.1 or the 1.2 file?

where can I start the plugin in cura. it is neither in the post processing option, nor in the plugins settings.

I use cura 3.0.4

Thank you

Mini 1Dubai Bunnies added this to the Print collection ago
Mini img 1638pmdude commented ago

Unfortunately it doesn't. The new cura handle plugins differently so it would need to be redone (at least partially).

2c85e7b0ab0beb99c2aec3a5543f9575?default=blank&size=40cyclone commented ago

Does this work with the new 2.1+ versions of Cura?

Mini online avatar 2014Stefan Nicolin added this to the UM2 collection ago
Mini img 1638pmdude published this design ago