Thanks for posting this ^^^^^ShaqFoo wrote:Great post but he never asked about time measurement. The single biggest reason to display the layer height on the LCD screen is in the case of failed print so you know where to resume by LAYER #. Yes, you could do it by z height too, but visually seeing the layer number is easier to remember and find in the gCode file that S3D creates. S3D inserts the layer# and z height in the gcode for every layer printed but it puts inserts them as comments.KeyboardWarrior wrote:Since there isn't a current layer or # of layers variable, this isn't currently doable. If you're looking to do this for time-measurement reasons, I don't think that # of layers is a great indicator of speed by the way, since some layers will take much longer than others.Kyuubi wrote:I want post too the LCD "(current layer) of (layers)" on every layer change, is that possible?
For instance, a pyramids base layers will print much slower than the layers towards the tip.
After reading the post, I was really intrigued by the terminal post processing window and was able to display both the layer # and the Z height on the LCD screen during the print for every layer printed. See attached pictures.
Place the following code in the post processing window and you will get layer number printed on your LCD screen along with the z height. The replace command simply removes the comment and replaces it with the M117 command. The second line is for formatting only it is not needed but tightens things up.
{REPLACE "; layer" "M117 Layer"}
{REPLACE " Z = " " Z="}
Code: Select all
{REPLACE "; layer" "M117 Layer"}
{REPLACE ", Z =" "; Z ="}
Using this code "as is" could/will damage you model and your printer.CompoundCarl wrote:nka wrote:Can I do calculation, like something like this to raise the nozzle 10mm at the end of a print?
Just use relative mode. See below.
It's the same thing that S3D uses with their jog controlsCode: Select all
G90 ; change to relative mode G1 Z10 F3000 ; raise nozzle 10mm in Z-axis G91 ; switch back to absolute mode
Code: Select all
G91 ; relative mode
G1 Z5 E-2 F3000 ; raise nozzle 5mm and take pressure off the extruder
G90 ; absolute mode
Code: Select all
; Build Summary
; Build time: 0 hours 38 minutes
; Filament length: 2682.5 mm (2.68 m)
; Plastic volume: 6452.26 mm^3 (6.45 cc)
; Plastic weight: 8.07 g (0.02 lb)
; Material cost: 0.37
Is there already more info on this? I have the same problem.blaknite7 wrote:This is an awesome post! I did have a couple questions though:
I've been working a lot with dual head prints and I am trying the tweak in the settings... With regard to the tool change g-code and reducing temperatures of the inactive extruder, is it not possible to reference the extruder temperature variable and use it in the tool change g-code?
For example I mean this:
From:
G1 X0 Y40 F4000 ; move to wait for temperatures
{IF NEWTOOL=0}M104 S165 T1; set T1, inactive extruder to 165 C
{IF NEWTOOL=0}M109 S205 T0; Set T0, new active extruder to T0 Temperature and wait for it to reach temperature before proceeding.
{IF NEWTOOL=1}M104 S165 T0; Cool T0 to 165
{IF NEWTOOL=1}M109 S205 T1; set T1, Heat T1 to T1 Temperature
To:
G1 X0 Y40 F4000 ; move to wait for temperatures
{IF NEWTOOL=0}M104 S165 T1; set T1, inactive extruder to 165 C
{IF NEWTOOL=0}M109 S[extruder0_temperature] T0; Set T0, new active extruder to T0 Temperature and wait for it to reach temperature before proceeding.
{IF NEWTOOL=1}M104 S165 T0; Cool T0 to 165
{IF NEWTOOL=1}M109 S[extruder1_temperature] T1; set T1, Heat T1 to T1 Temperature
The reason for doing this is to have different temperatures at different layers that are controlled by the temperature tab in the settings... It didnt seem to work for me when i tried it so i was curious if there is another way to reference the temperature/layer tables defined?
Also, there seems to be a slight pause when switching tools prior to the move "G1" code in the tool change script. is there a way to minimize this/eliminate this? Normally its not so bad but if you have a small feature you are trying to print the dwell tends to screw up the finish.
thanks for the input. Hopefully someone figured this out already.
Advice for those that want to use this functionality, you may want to change the order from the original post of what tools are activated and when. if you command it to wait for temperature (M109) first and then set the inactive extruder to a lower temperature it will operate in that order. Its more often best to always command the inactive extruder to the lower temp first and then the active extruder to the target temp/stabilize. This prevents extra ooze from the soon to be inactive extruder while the new tool head is warming up.
blaknite7 wrote:This is an awesome post! I did have a couple questions though:
I've been working a lot with dual head prints and I am trying the tweak in the settings... With regard to the tool change g-code and reducing temperatures of the inactive extruder, is it not possible to reference the extruder temperature variable and use it in the tool change g-code?
For example I mean this:
From:
G1 X0 Y40 F4000 ; move to wait for temperatures
{IF NEWTOOL=0}M104 S165 T1; set T1, inactive extruder to 165 C
{IF NEWTOOL=0}M109 S205 T0; Set T0, new active extruder to T0 Temperature and wait for it to reach temperature before proceeding.
{IF NEWTOOL=1}M104 S165 T0; Cool T0 to 165
{IF NEWTOOL=1}M109 S205 T1; set T1, Heat T1 to T1 Temperature
To:
G1 X0 Y40 F4000 ; move to wait for temperatures
{IF NEWTOOL=0}M104 S165 T1; set T1, inactive extruder to 165 C
{IF NEWTOOL=0}M109 S[extruder0_temperature] T0; Set T0, new active extruder to T0 Temperature and wait for it to reach temperature before proceeding.
{IF NEWTOOL=1}M104 S165 T0; Cool T0 to 165
{IF NEWTOOL=1}M109 S[extruder1_temperature] T1; set T1, Heat T1 to T1 Temperature
The reason for doing this is to have different temperatures at different layers that are controlled by the temperature tab in the settings... It didnt seem to work for me when i tried it so i was curious if there is another way to reference the temperature/layer tables defined?
Also, there seems to be a slight pause when switching tools prior to the move "G1" code in the tool change script. is there a way to minimize this/eliminate this? Normally its not so bad but if you have a small feature you are trying to print the dwell tends to screw up the finish.
thanks for the input. Hopefully someone figured this out already.
Advice for those that want to use this functionality, you may want to change the order from the original post of what tools are activated and when. if you command it to wait for temperature (M109) first and then set the inactive extruder to a lower temperature it will operate in that order. Its more often best to always command the inactive extruder to the lower temp first and then the active extruder to the target temp/stabilize. This prevents extra ooze from the soon to be inactive extruder while the new tool head is warming up.