Welcome! Log In Create A New Profile

Advanced

7.2 Slic3r but I just get junk after the first layer

Posted by stephenwinter 
7.2 Slic3r but I just get junk after the first layer
May 01, 2012 09:28PM
I have a Shaper Cube and I want to move from Skeinforge. When I try to get G code from Slic3r to work, I get a good first layer and then just junk. I am not sure how to choose which type or flavor of G code to use. I believe Slic3r has four options. I get good prints on Pronterface with Skeinforge slices. What are my options?
Re: 7.2 Slic3r but I just get junk after the first layer
May 01, 2012 09:42PM
Re: 7.2 Slic3r but I just get junk after the first layer
May 01, 2012 09:58PM
I have tried all but "no extrusion". I guess MakerBot works best for the first layer. After the first layer it just scrambles globs over the part.
What do you think?
Re: 7.2 Slic3r but I just get junk after the first layer
May 01, 2012 10:04PM
Whoops... Excuse me I think I am using Sprinterworks if that is a help.
Re: 7.2 Slic3r but I just get junk after the first layer
May 01, 2012 10:12PM
If you are using Sprinter then you would want "RepRap Marlin/Sprinter" selected from the Gcode flavour menu.

What do you mean by "junk"? Can you provide a picture?

Is it just that you are going to fast for your printer and the first layer turns out because it is going slower?


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: 7.2 Slic3r but I just get junk after the first layer
May 01, 2012 11:34PM
Ok, with the Slic3r RepRap Marlin/Sprinter I get G code that looks like this and doesn't work at all. Pronterface gets to line 17 as shown on the bottom of the window and goes no further.

; generated by Slic3r 0.7.2b on 2012-05-01 at 22:56:22

; layer_height = 0.4
; perimeters = 3
; solid_layers = 3
; fill_density = 0.4
; nozzle_diameter = 0.5
; filament_diameter = 3
; extrusion_multiplier = 1
; perimeter_speed = 30
; infill_speed = 60
; travel_speed = 130
; extrusion_width_ratio = 0
; scale = 1
; single wall width = 0.53mm

M190 S110 ; set bed temperature
M104 S250 ; set temperature
G28 ; home all axes
M109 S250 ; wait for temperature to be reached
G90 ; use absolute coordinates
G21 ; set units to millimeters
G92 E0 ; reset extrusion distance
M82 ; use absolute distances for extrusion
G1 Z0.400 F7800.000
G1 X68.337 Y84.745
G1 F1800.000 E1.00000
G1 X68.517 Y84.565 F540.000 E1.00749
G1 X68.897 Y84.225 E1.02248
G1 X69.517 Y83.785 E1.04483
G1 X69.737 Y83.655 E1.05235
G1 X70.197 Y83.425 E1.06747
G1 X70.667 Y83.235 E1.08238
G1 X71.157 Y83.085 E1.09745
G1 X71.407 Y83.025 E1.10501
G1 X72.157 Y82.915 E1.12730
G1 X72.667 Y82.895 E1.14231
G1 X127.837 Y82.915 E2.76460
G1 X128.587 Y83.025 E2.78689


But with the Skein-forge that works well I get G code that looks like this and works pretty good.

M80
G21
G90
T0
M106 S255
G92 E0
G1 X-250.0 F1500
G92 X0
G1 Y-250.0 F1500
G92 Y0
G1 X120.0 Y0.0 F1500.0
M140 S120
M116
G1 Z-200.0 F70
G92 Z0
G92 E0
G1 F1500.0
G1 Z1.0 F70
M109 S255.0
G1 F4500.0
G92 E0
G21
M106
M113 S1.0
M108 S44.0
G1 X59.03 Y99.37 Z0.1 F1800.0
G1 F1200.0
G1 E0.3
G1 F1800.0
G92 E0
M101
G1 X59.35 Y102.75 Z0.1 F2640.0 E0.086
G1 X60.3 Y106.13 Z0.1 F2640.0 E0.175
G1 X61.38 Y108.41 Z0.1 F2640.0 E0.239
G1 X63.77 Y111.77 Z0.1 F2640.0 E0.344
G1 X65.91 Y113.82 Z0.1 F2640.0 E0.419
G1 X68.73 Y115.72 Z0.1 F2640.0 E0.506
G1 X71.56 Y116.97 Z0.1 F2640.0 E0.584
G1 X74.93 Y117.81 Z0.1 F2640.0 E0.673
G1 X77.76 Y118.02 Z0.1 F2640.0 E0.745
G1 X121.44 Y118.0 Z0.1 F2640.0 E1.854
G1 X123.73 Y117.96 Z0.1 F2640.0 E1.912
G1 X126.55 Y117.53 Z0.1 F2640.0 E1.984
G1 X129.93 Y116.39 Z0.1 F2640.0 E2.075
G1 X133.05 Y114.61 Z0.1 F2640.0 E2.166
G1 X135.13 Y112.9 Z0.1 F264

Is there a way in Slic3r to correct this? Or do I need to change the firmware. When I use the first G code the Pronter face hangs up on Line 17 it says at the bottom.
I am not sure how the lines are counted. I do not know if blank lines are counted or descriptive lines.
So, What do you think?

Steve
Re: 7.2 Slic3r but I just get junk after the first layer
May 01, 2012 11:46PM
I need to clarify. With the G code flavor "RepRap Marlin/Sprinter" nothing happens. I just get to line 17 and nothing goes further.
With the MakerBot flavor, I got some of the first layer and then it went south quickly and I just got some globs here and there.

I hope this helps and I do appreciate the help

Steve
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 01:16AM
Ok I just did some googling to see which firmware and electronics and it looks like you have a Ramps board (1.2?) and the firmware [wiki.shapercube.com] is a fork of RepRap 5D which is designed to work with the RepRap java Host. Skeinforge has some mods that allow it to work.

I also found this [github.com] which is a fork of Tonokip firmware (old, it is what Sprinter is derived from and Marlin is derived from Sprinter) and pretty much depreciated.

So if you are using the first one (5D derived) I would say you are out of luck. Maybe check with the shapercube people. Or maybe someone else will correct me.

I would try and get Marlin working on it as it will improve your prints dramatically and make the machine so much quieter. It will also work with slic3r perfectly. It should just require changing your steps per mm to match the ones in the Shapercube firmware. You may also need to look at the endstop settings. Leave the rest of the stuff like PID and the advanced settings until you are comfortable with them.


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 03:36PM
I didn't get much luck with Marlin. I am a bit unsure about the firmware settings, all I got was errors concerning the extruder temperature. I have a firmware that works with Skeinforge that I tried to copy the settings on but some did not seem to transcribe. I think some insider knowledge is needed. I plan to contact ShaperCube to help me out. I truly
like the printer and get excellent prints with Skeinforge but Slic3r is definitely the way to go. I will let you know how my tech support goes. I attached files for the firmware that works.
I don't suppose that there is someway that I can add some script in Slic3r to correct the G code is there?

Thanks
Steve
Attachments:
open | download - SprinterWorksMetalGear.pde (53 KB)
open | download - Configuration.h (7.9 KB)
open | download - FatStructs.h (16.1 KB)
open | download - pins.h (13.8 KB)
open | download - Sd2Card.h (8.8 KB)
open | download - Sd2PinMap.h (12 KB)
open | download - SdFat.h (21.3 KB)
open | download - SdFatmainpage.h (7.8 KB)
open | download - SdInfo.h (6.9 KB)
open | download - Sprinter.h (782 bytes)
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 03:54PM
Can you post the warning you got about extruder temperature. It may just be the standard warning that you get when it is not warm and you try and extrude. Or it may be that you have the thermistor and heater on the wrong circuit (can't tell without the config from marlin).

After looking through what you posted I would have to say Marlin should work once you get the config file correct. You could try just setting the board to ramps 1.3 and try uploading it with all the default settings. This would at least tell you if it is something you did or not. If it works with the default settings you can then try and change the steps per mm to match the config you have from shapercube.

One last thing, you will have to do the math for the steps per mm and enter the final number in Marlin and not the 10*microstepping/2 you find in the shapercube config (answer is 80 for this one).


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 04:20PM
"Board to ramps 1.3" This is a setting under configuration in Marlin? Or maybe somewhere else? Any other changes?

Steve
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 05:06PM
Ok I found it and here is a screen shot. It seems the default exceeds the safe temperature.
Attachments:
open | download - PronterScreen.tiff (270.2 KB)
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 05:37PM
Just had a thought. I think marlin comes with the temperature sensor set to use a thermocouple and you will need to change it to use a thermistor. It is near the top of the config file.

//// Temperature sensor settings:
// -2 is thermocouple with MAX6675 (only for sensor 0)
// -1 is thermocouple with AD595
// 0 is not used
// 1 is 100k thermistor
// 2 is 200k thermistor
// 3 is mendel-parts thermistor
// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
// 5 is ParCan supplied 104GT-2 100K
// 6 is EPCOS 100k
// 7 is 100k Honeywell thermistor 135-104LAG-J01

#define TEMP_SENSOR_0 1 <--- this needs to be set to a 1 (was -1 for AD595)
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 0


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 06:01PM
An improvement!
The bed heats but not the hot end or the extruder. Also the motor controls do not seem to work, It will not home x or y. But it is not inert.

Steve
Attachments:
open | download - Slic3r HotEnd Cold.tiff (355.4 KB)
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 06:06PM
Good we are getting somewhere.

The bed will also need the thermistor defined as 1

#define TEMP_SENSOR_BED 1

That should fix the bed temp issue.

Odds are the reason it won't move has to do with the endstop settings. You should be able to change them to match your old config. Note: the inverting is set by one flag in your old firmware (sprinter) but are seperated in Marlin. Just set them all the same as in your old config.
Quote

// Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
//#define DISABLE_MAX_ENDSTOPS

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define E_ENABLE_ON 0 // For all extruders


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 06:57PM
I just re-read your last post and realized that your bed is heating while the hotend is supposed to be. This seems like shapercube may wire the hotend/bed backwards of normal (bed connected to hotend location on the board and hotend connected to the bed location) or it was just a typo on your part.


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: 7.2 Slic3r but I just get junk after the first layer
May 02, 2012 09:11PM
No typo, I guess it is reversed. You would think that both would still get hot though. Also it seems that the temperature is shown with a @ in Pronterface. What do you think is blocking the motors from moving in Pronterface when I try to home them?
Do you think that maybe Marline won't work?
Steve
Re: 7.2 Slic3r but I just get junk after the first layer
May 03, 2012 01:39AM
Re: 7.2 Slic3r but I just get junk after the first layer
May 03, 2012 11:21AM
Hey, I think I got it. I think so anyway. I started comparing G code with prints that work and those that don't and found some contradictions. I have added G code in Slic3r to go in the front and I have two good prints sliced by Slic3r. I now have only one problem, depending upon me getting a few more good prints, and that is getting rid of Slic3r putting "M82 ; use absolute distances for extrusion" in the code going to Pronterface. As it stands now I just use some code I figured out in the Slic3r Custom G-Code/Start Code and then open it up in a text file and delete the M82. The Start Code won't eliminate the M82. I think I might start a thread to see if someone out there knows how to do this.
I would particularly like to thank you for your help. On this planet you are certainly part of the solution and I appreciate your interest and attention to me.
Thanks
Steve
Re: 7.2 Slic3r but I just get junk after the first layer
May 03, 2012 02:45PM
I did not want to mess up your other thread with questions so I will ask them here.

Did you get Marlin working or did you find a way to get the original firmware to work with slic3r?

If it is the original and you have found the issue you could use slic3r's ability to run post scripts that allow you to modify the gcode automatically. (remove the m82's)

But after looking through SprinterworksM.......pde I would say it should not be giving you any problems. It has the exact same structure and commands as Marlin for M82.

If it is Marlin you have working the M82 should not be causing any issues.


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: 7.2 Slic3r but I just get junk after the first layer
May 03, 2012 08:02PM
I have not gotten Marlin working but I plan to get back to it. It sounds like superior firmware. I do appreciate your help.
Steve
Re: 7.2 Slic3r but I just get junk after the first layer
May 05, 2012 12:27PM
@Sublime, thank you for helping in these forums. smiling smiley
Sorry, only registered users may post in this forum.

Click here to login