Welcome! Log In Create A New Profile

Advanced

Web interface and its reporting of layers

Posted by Fiddler 
Web interface and its reporting of layers
June 01, 2014 06:04AM
I have 59d Firmware and 0.8 web

I am playing around trying to produce Lithophanes.

So far success with 6mm high, 30 layers (ie 30 layers of "grey") at 0.2mm. But that seems a little high/thick for me. So I am experimenting trying to reduce down to 2mm high.

I am trying to print at 2mm high with 20 layers at 0.1mm

I am printing a file that has been produced in Netfabb at 2mm high; sliced in SLic3r using layers at 0.1mm layer height. the online Gcode viewer we all seem to use tells me it has 19 layers but the Web Interface v0.8 is telling me it is printing x of 11 layers?

I also notice in the Web interface>Settings>Parameters; a layer height in mm. I have tried this at 0.2mm and 0.1mm but it does not seem to have any effect.

Could anyone advise me if I am trying to print at too fine a layer height and also what the Web interface>Settings>Parameters>Layer height does.

Thanks
Tim



Firmware: 059d, Web Interface: 0.8
75mm Diameter Extruder Drive
100mm test model
Filament spool holder and rotating dispenser
Re: Web interface and its reporting of layers
June 01, 2014 08:50AM
The layer height parameter should do what you need, but I haven't tested it recently. The version I am working on gets the layer height from the comment that slic3r puts at the start of the file.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Web interface and its reporting of layers
June 01, 2014 09:48AM
Hi DC

Here is the start of my gcode:

---------------------------------
; generated by Slic3r 1.1.2 on 2014-05-31 at 17:55:05

; perimeters extrusion width = 0.30mm
; infill extrusion width = 0.30mm
; solid infill extrusion width = 0.30mm
; top infill extrusion width = 0.30mm

G21 ; set units to millimeters
M107
M190 S57 ; wait for bed temperature to be reached
M104 S185 ; set temperature
G21 ; set units to millimeters
G90 ; use absolute coordinates
M83 ; use relative distances for extrusion
G1 Z5 F200 ; lift nozzle
G1 X100 Y105 F2000; Go to wait for warm position
M116; Wait for all temperatures
T0; Select extruder
M109 S185 ; wait for temperature to be reached
G90 ; use absolute coordinates
M83 ; use relative distances for extrusion
------------------------------------------------------------------------------


No comments about layer height?
The first Z value is: G1 Z0.100 F6000.000
followed a good few lines down by: G1 Z0.200 F6000.000

So the gcode is correct?? at 0.1mm layer height.
I also had the Web interface>Settings>Parameters>Layer height set to 0.1mm
but the Web interface just reported on progress for 11 layers.
Could it be the printer is printing 19 layers correctly but the web interface is only reporting progress on every other layer?
Also
Does the Web interface>Settings>Parameters>Layer height over-ride what is in the Slic3r file?

Tim



Firmware: 059d, Web Interface: 0.8
75mm Diameter Extruder Drive
100mm test model
Filament spool holder and rotating dispenser
Re: Web interface and its reporting of layers
June 01, 2014 01:11PM
I think the number of layers calculation is currently based solely on the browser setting, not on any info from the file. So that has to be set to match what you sliced the file at.

Now comes the second bit of confusion when you change the setting and apply it then it saves it out to its settings store but it doesn't change the internal value. So if it was 0.24 and you change it to 0.1 that won't be used unless you close the browser tab and reconnect and then it will read the correct value. A small change to reprap.js can correct this behaviour.

Edit: Round about line 404, if you insert

layerHeight = parseFloat($('div#settings input#layerHeight').val());

immediately after
storage.set('settings.layerHeight', parseFloat($('div#settings input#layerHeight').val()));

then the change should be reflected on the next calculation.

Edited 1 time(s). Last edit at 06/01/2014 01:44PM by bobtidey.
Re: Web interface and its reporting of layers
June 01, 2014 01:48PM
Bob, thanks for that, I'll make a similar change in my next release.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Web interface and its reporting of layers
June 01, 2014 04:19PM
I believe this is fixed in web interface 0.81, which I am about to release.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Web interface and its reporting of layers
June 01, 2014 04:34PM
So if I understand you guys correctly:

I can set the layer height in Slic3r as 0.1mm and produce a gcode file.
Load the g file into the Web interface with the The Web interface>Settings>Parameters>Layer height set to 0.2mm
And this will then print with 0.2mm layers; not the 0.1mm layers I sliced it with?

So the web interface has somehow combined; in this case, every other layer?

Or am I completely misunderstanding this?

Also what does the "Use Half Z movements" do

Tim

Edited 1 time(s). Last edit at 06/01/2014 04:36PM by Fiddler.



Firmware: 059d, Web Interface: 0.8
75mm Diameter Extruder Drive
100mm test model
Filament spool holder and rotating dispenser
Re: Web interface and its reporting of layers
June 01, 2014 04:40PM
Quote
Fiddler
I can set the layer height in Slic3r as 0.1mm and produce a gcode file.
Load the g file into the Web interface with the The Web interface>Settings>Parameters>Layer height set to 0.2mm
And this will then print with 0.2mm layers; not the 0.1mm layers I sliced it with?

No. However, the web interface will display the layer progress as if the layer height is 0.2mm. So when the machine is printing layer 6, the web interface will say it is printing layer 3.

Quote

Also what does the "Use Half Z movements" do

It changes the z-axis buttons on the Control tab from 100/10/1/0.1mm to 50/5/0.5/0.05mm.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Web interface and its reporting of layers
June 01, 2014 05:00PM
Ah. Got you

So the Web interface>Settings>Parameters>Layer height value just effects the number of "layers" which are reported on the Print Status tab?

so I had 20 layers of 0.1mm
If I had the Web interface>Settings>Parameters>Layer height set to 0.2mm
The print status page would report on every other layer showing x of 10 layers.

or if I had the Web interface>Settings>Parameters>Layer height set to 0.4mm
The print status page would report on every fourth layer showing x of 5 layers.

Tim



Firmware: 059d, Web Interface: 0.8
75mm Diameter Extruder Drive
100mm test model
Filament spool holder and rotating dispenser
Sorry, only registered users may post in this forum.

Click here to login