Print The Porto

A collection of tips about 3d printing.

How to pause printing to switch filament

In order to do multi color print with one extruder. You can pause the printer at a specific height. Just insert the following after the layer height call in the gcode file. For example search for "; layer 5" and add the following after it:

;Pause Code
G91 ;Set Relative Mode
G1 E-5.000000 F500 ;Retract 5mm
G1 Z15 F300 ;move Z up 15mm
G90 ;Set Absolute Mode
G1 X20 Y20 F9000 ;Move to hold position
G91 ;Set Relative Mode
G1 E-40 F500 ;Retract 40mm, this can be commented out if you just want to pause to insert magnets or something.
M300 ;Beep (marlin)
M0 ;Idle Hold
G90 ;Set Absolute Mode
G1 F5000 ;Set speed limits, depending on slicer this can be set to your initial mm/min speed or it can be used for the following move only then the next layer will set the speed
G28 X0 Y0 ;Home X Y
M82 ;Set extruder to Absolute Mode
G92 E0 ;Set Extruder to 0

There is also the G4: Dwell command

Example: G4 P200

In this case sit still doing nothing for 200 milliseconds. During delays the state of the machine (for example the temperatures of its extruders) will still be preserved and controlled.

Categories: gcode, tips

Tags: tips, gcode

Comments: No comments yet


Making your printrbot metal simple a bit quieter

I've actually done this after a month after owning my PSM. It works and is very noticable. Make sure you check which board you have before making changes. Copied from:

Below is a copy for an easier read, but its for the Rev F version of the printrboard.

The guide for Rev B through D is located here.

Image 1/2: Note: Commands are case sensitive.

Step 2

Stepper motor current is adjusted by sending commands to the printer.

Note: Commands are case sensitive.


M907: Sets motor current as a percentage of the full-scale adjustment (ex: M907 X30 Y30 Z30 E30 sets all motor current levels to 30% of the full-scale reference value).

M909: Reads the present motor current setpoints (similar to M501).

M910: Saves motor current setpoints (similar to M500).

Image 2/2: Commands:

2 Step 3

Use the M907 command to set a mid-level value (50 is a good starting point). For example: M907 X50 Y50 Z50 E50.

Use manual movement commands (larger values work best) to move the motors.

Incrementally adjust individual axis down 10 points at a time until they stop moving. Example: M907 X40, and then M907 X30.

When the motor stops moving reliably (skipping steps), move it back up 10 points, and move to the next axis.

Step 4

Run M910 to save the new values.

Step 5

Run M909 to verify that the values were saved.

Categories: tips, gcode, printrbot simple metal

Tags: tip, gcode

Comments: No comments yet


Simplify 3D note

If you ever have an issue with the way simplify3d is slicing try to do the following which was recommended on reddit:

The way to fix this is to add 0.001mm to the primary layer height. i.e if you are using 0.2000mm, change it to 0.2001 and so on.

S3D has some weird bug where it can't always detect vertices properly, or something like that. I believe that the official line from the devs is that the model has problems, but that is BS.

Categories: tips, Calibration

Tags: tips, Calibration

Comments: No comments yet