Skip to content
3D Printing Certification

How to Crank out Personalized G-codes in Voxelizer Software package


Stick to our guide and find out how to generate customized G-codes for vibrant prints.

Did you like our 4-colour mountain sample print? Then you really should try this neat trick with other objects as well! All you need to have to do is to get ready the product and crank out tailor made G-codes for it. Here’s a phase-by-move guideline on how to do this.

4-shade mountain 3D printed with Dual Professional toolhead

Prior to you get started

Essential observe 1: This tutorial is proposed for sophisticated end users only.

Critical see 2: To full all steps from this guideline you are going to need a 3D model you want to print in 4-hues, additive production certification software like Netfabb or Meshmixer, and Voxelizer slicer. Also, be organized to acquire some notes through the approach.

Critical recognize 3: This information describes only the G-code generation method. On how to print your object you should comply with our 4-colour mountain printing guide.

Planning your design and assigning shades

Commence with launching Netfabb or Meshmixer. Import the STL file you want to 3D print in 4 shades. It’s best to align your design at the … place of the Cartesian system.

custom g-codes
Sample design all set to be cut in Netfabb software package

Now, you require to minimize your product into components in locations that you want to end the fabrication course of action in get to switch the filament. Use the Z-axis slider to figure out the chopping peak and acquire observe of these values as you’ll need them afterwards.

How to Cut Up a STL Model for 3D Printing

We minimize our mountain into 3 areas but you can make as several cuts and filament switches as you want.

Export each individual component as a individual STL file, close Netfabb/Meshmixer and start Voxelizer.

custom g-codes
Sample model ready to be saved and utilized to crank out custom G-codes

In Voxelizer slicer software choose 3D printing certification workflow, use Import aligned styles possibility, import all STL information built in Netfabb/Meshmixer, and click on Voxelize.

custom g-codes
Aligned model in Voxelizer slicer software package

In Voxel editor open up Components toolbar and insert new products that will be later assigned to every section of the model. In our 4-color mountain sample, the bottom aspect was printed with sound colour and two other included gradients but you can modify this in accordance to your choices. Simply just alter the sort of the material from simple to gradient or intricate and set your color mix.

Remember that colours in Supplies toolbar do not depict true material colors! Environmentally friendly shade signifies the remaining extruder and the amount of filament you want to extrude from it into the blend. Blue represents the right extruder of Dual Professional toolhead.

custom g-codes
Assigning extruders and colour mixes in Voxelizer

The moment you have your colors and gradients prepared, switch to Item assortment method, right click on on every component of the design and assign the components that you developed before.

If you want to realize sleek colour transitions, then recall to start each new element of the model with the same colour that finishes the prior a single. For example, if your gradient in the bottom aspect is concluded with yellow filament, then we suggest starting the middle part with yellow way too. Usually, you’ll get hard cuts in coloration at the stop of just about every element.

custom G-codes
Substance collection in Voxelizer before making custom G-codes

Very simple way to crank out customized G-codes

Unclick Object collection method and simply click Exhibit innovative. In the Venture tab simply click Increase custom G-code and open up its settings by clicking on the gear icon.

custom g-codes
Introducing custom G-codes in Voxelizer slicer software package

Opt for On wanted y from the record and click on Insert. Initially, you need to set the peak for the initial filament change soon after printing the bottom section of your product. In Sought after y box variety in the peak of the model, you know from Netfabb. Then include the next code into the textbox under.

G1 Z? F1000 (Important: “?” desires to be changed with the height in mm on which you want to prevent the extruder)
G0 X0 F2400
M104 S0

This command will:

End the extruder and raise it to the assigned Z height.
Transfer the extruder to the situation on the X axis.
Change off the heaters.

When typing in this command, make certain that the Z worth is higher than the Wished-for y worth so the extruder does not touch the product when touring to positions.

Also, please take note that your custom made G-codes will prevent functioning at specific stages of printing. To restart the course of action you want to kind in a restart command manually. We described and discussed these commands in our 4-coloration mountain printing information.

custom g-codes
Z7 benefit on this image stands for increasing the extruder to 7 mm before going it to the place since the printed part is 6.6 mm tall

Now you will need to repeat the previously mentioned actions for the middle part of your design or any selection of pieces amongst the base and best layer of your item. The best portion does not require any additional custom G-codes simply because you will feed the essential materials before it starts printing.

Following you incorporate plenty of customized G-codes, merely click Crank out G-code and conserve it on your laptop or computer or the SD card.

4-color mountain
Blue base of the 4-colour mountain sample print

What’s up coming?

Applying this guide you managed to produce custom made G-codes for a 4-color 3D print that incorporates color gradients. You can…