Dual Material STL Workflow
Dual Material STL Workflow
There is a great deal of talk about multi extruder setups on the forum- and it involves using STL's that represent multi materials. Now I am a decent modeler (using Rhino as well as MAX) but how do I produce a multi material STL part?
Is there anyone who done it from scratch on the forum here and can either point me into some quick tutorial or just describe the process itself?
Thanks
Is there anyone who done it from scratch on the forum here and can either point me into some quick tutorial or just describe the process itself?
Thanks
Altarke
Rostock MAX V1 Printer
Rostock MAX V1 Printer
Re: Dual Material STL Workflow

I am hoping for a sea change in software and file format soon. I'm not a great 3d modeler, but I understand the process. I think this goes back to stl not being a complete file format for additive manufacturing. See this pdf: http://creativemachines.cornell.edu/sit ... iller1.pdf
Chime in all you multiple extruder pioneers

-"Simpler is better, except when complicated looks really cool."
-"As soon as you make something fool proof...along comes an idiot."
-"I have not failed. I've just found 10,000 ways that won't work." ~Thomas Edison
-"As soon as you make something fool proof...along comes an idiot."
-"I have not failed. I've just found 10,000 ways that won't work." ~Thomas Edison
Re: Dual Material STL Workflow
From how I understand it you need to separate the parts that are different materials from each other in the model and I think they need to be different files... Not sure much past that since I think its mainly slicer specific...
Re: Dual Material STL Workflow
Ok, here is a post that will get you started.
I've attached a zip with a Rhino source file with 3 solid rods stacked on top of each other and the three individual STL files for each rod.
In Rhino, you simply create one solid for each object you want printed differently. Then you convert that solid to a mesh. In this case, I have 3 solids, 1 for each of the stacked rod sections. I then simply selected each and converted it ti a mesh. Then, you save EACH piece as an STL. You do that by selecting the mesh and choose File->Export Selected. Export to an STL file - do this for each of the 3 parts and you'll end up with 3 STL files like the ones I included in the zip file.
Now, run Slic3r. And run File->Combine multi-material STL files...
This will ask you to choose each of the these 3 files so Slic3r can combine them into an AMF file. It is a pain and not a very pretty UI but that's how it's done. Of course, if you can create an AMF from your CAD app, do that and eliminate the STL step (Rhino and most CAD apps do not support AMF yet).
Now load this AMF file into Slic3r. If you have slicer configured for multiple extruders, it will assign each part of the AMF file to one of your extruders starting with extruder #1 and working up from the bottom. Since this object has 3 parts, if you have 3 extruders it will assign like this:
bottom - ext 1
middle - ext 2
top - ext 3
If you have 2 extruders, it will work like this:
bottom - ext 1
middle - ext 2
top - ext 1
Primitive huh?
You can read all about this in the Slic3r manual here. I and others have written post processors that will take your gcode file and manipulate the extruders. So for instance, I can change the order of which extruder gets assigned to which part.
This should get you started.
I've attached a zip with a Rhino source file with 3 solid rods stacked on top of each other and the three individual STL files for each rod.
In Rhino, you simply create one solid for each object you want printed differently. Then you convert that solid to a mesh. In this case, I have 3 solids, 1 for each of the stacked rod sections. I then simply selected each and converted it ti a mesh. Then, you save EACH piece as an STL. You do that by selecting the mesh and choose File->Export Selected. Export to an STL file - do this for each of the 3 parts and you'll end up with 3 STL files like the ones I included in the zip file.
Now, run Slic3r. And run File->Combine multi-material STL files...
This will ask you to choose each of the these 3 files so Slic3r can combine them into an AMF file. It is a pain and not a very pretty UI but that's how it's done. Of course, if you can create an AMF from your CAD app, do that and eliminate the STL step (Rhino and most CAD apps do not support AMF yet).
Now load this AMF file into Slic3r. If you have slicer configured for multiple extruders, it will assign each part of the AMF file to one of your extruders starting with extruder #1 and working up from the bottom. Since this object has 3 parts, if you have 3 extruders it will assign like this:
bottom - ext 1
middle - ext 2
top - ext 3
If you have 2 extruders, it will work like this:
bottom - ext 1
middle - ext 2
top - ext 1
Primitive huh?
You can read all about this in the Slic3r manual here. I and others have written post processors that will take your gcode file and manipulate the extruders. So for instance, I can change the order of which extruder gets assigned to which part.
This should get you started.
Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art
Start Here:
A Strategy for Successful (and Great) Prints
Strategies for Resolving Print Artifacts
The Eclectic Angler
Re: Dual Material STL Workflow
Thanks for your example it helped clear up the process for me. I may not have multi extruder yet but I may have a reason to opt for one.
Thanks
Thanks
Altarke
Rostock MAX V1 Printer
Rostock MAX V1 Printer
Re: Dual Material STL Workflow
Looks like you guys either targeted or spoke to the main principle, but just for sake of clarity, I'll toss this out there. The .stl file format was originally developed for stereo lithography printing (SLA printers), which are by nature single material machines. As such no multi-material provision was ever envisioned or needed. Therefore, as stated earlier, if you want to utilize multi-material objects, you need to either generate multiple .stl's or switch to a slicer/modeling platform that can take advantage of .amf files. Quite a few slicers are starting to take advantage of .amf, but the CAD/modelling world is being slightly slower to react.
FWIW, here's a decent article outlining the differences. http://www.develop3d.com/features/alpha ... rot-to-stl
FWIW, here's a decent article outlining the differences. http://www.develop3d.com/features/alpha ... rot-to-stl
Re: Dual Material STL Workflow
Exactly. But the issue is that AMF just hasn't taken off. There have been very few updates to the wiki and virtually no one (and no one notable) has adopted it. It's too bad since it is has a lot to offer. "Slightly slower to react" is an understatement!
Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art
Start Here:
A Strategy for Successful (and Great) Prints
Strategies for Resolving Print Artifacts
The Eclectic Angler
Re: Dual Material STL Workflow
I really think all it's going to take is an OpenSCAD or something of the sort to really push the big guys like Dassault and Autodesk to include AMF. If we aren't using AMF in the next two years I'd be slightly surprised...
Re: Dual Material STL Workflow
Those companies are driven by customer demand, and their customers (with probably a few exceptions) don't even know what openscad is.
(It's a bad programming language masquerading as a parametric design tool - and yes, I'm a CAD snob. If it doesn't support a mouse and a 3D pointing device from 3DConnexion, it's no better than a poorly sharpened crayon
)
AFAIK, SolidWorks and others do support the OBJ format, which is something I thought was a multi-material object format.
g.


AFAIK, SolidWorks and others do support the OBJ format, which is something I thought was a multi-material object format.
g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Re: Dual Material STL Workflow
There is a reason why I'm not using it in my classroomgeneb wrote:It's a bad programming language masquerading as a parametric design tool - and yes, I'm a CAD snob.

Haven't sat down to look too closely at it, but I believe that .obj files require .mtl material definition files in conjunction with them, correct? Again, I haven't looked too long and hard at it, but it sounds as though .amf is much more inclusive. Also, aren't .obj files defined by planar tessellation? Probably not going to make a huge difference, but .amf should provide increased modelling accuracy with spherical tessellation.geneb wrote: AFAIK, SolidWorks and others do support the OBJ format, which is something I thought was a multi-material object format.
g.
Re: Dual Material STL Workflow
I actually emailed Hod Lipson at Cornell. And he stated in an email back to me that he thinks widespread adoption "could" happen this year. I've sort of been following/researching this for some time. There are articles that show some movement in adoption/support. We just need that one big(US)player to stop dragging their feet
http://www.polygonica.com/blog/2014/02/ ... nica-v1.1/
http://www.3ders.org/articles/20140121- ... nting.html

http://www.polygonica.com/blog/2014/02/ ... nica-v1.1/
http://www.3ders.org/articles/20140121- ... nting.html
-"Simpler is better, except when complicated looks really cool."
-"As soon as you make something fool proof...along comes an idiot."
-"I have not failed. I've just found 10,000 ways that won't work." ~Thomas Edison
-"As soon as you make something fool proof...along comes an idiot."
-"I have not failed. I've just found 10,000 ways that won't work." ~Thomas Edison
Re: Dual Material STL Workflow
Maybe an OBJ->AMF converter would do the job - but the slicers have to support AMF...
g.
g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Re: Dual Material STL Workflow
Slic3r has AMF support but, sadly, I can't find any convertors from OBJ to AMF.
Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art
Start Here:
A Strategy for Successful (and Great) Prints
Strategies for Resolving Print Artifacts
The Eclectic Angler
Re: Dual Material STL Workflow
geneb wrote:Maybe an OBJ->AMF converter would do the job - but the slicers have to support AMF...
g.
Cura supports .amf
Re: Dual Material STL Workflow
Right, but SolidWorks doesn't. (I don't think)...
g.
g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Re: Dual Material STL Workflow
Seems like some slicers can already take advantage of it. If he wants to see adoption, perhaps he can put some elbow grease into getting some free exporters written for popular CAD software. There isn't one for Sketchup that I could find. If there was I would be fine with switching to the AMF format today.Batteau62 wrote:I actually emailed Hod Lipson at Cornell. And he stated in an email back to me that he thinks widespread adoption "could" happen this year. I've sort of been following/researching this for some time. There are articles that show some movement in adoption/support. We just need that one big(US)player to stop dragging their feet
Until the toolchain is complete it may as well be the Flying Spaghetti Monster.
Questions? Ask in a thread - PMs are off.
AI Calibration | Dimensional Accuracy Calibration | Hand-Tune your PID | OctoPi + Touchscreen setup | My E3D hot end mount, Z probe, fan ducts, LED ring mount, filament spool holder, etc.
AI Calibration | Dimensional Accuracy Calibration | Hand-Tune your PID | OctoPi + Touchscreen setup | My E3D hot end mount, Z probe, fan ducts, LED ring mount, filament spool holder, etc.
- Generic Default
- Printmaster!
- Posts: 554
- Joined: Mon Jun 03, 2013 6:56 pm
- Contact:
Re: Dual Material STL Workflow
Nope, I just checked and SolidWorks doesn't allow saving files in AMF format, at least in the 2013 version. I don't see .OBJ in the list of formats either. Some of the larger machines that use photoresins and multiple materials have the material options built into the slicing software.
I think we need to get multiple extruders to be standard hardware or there will be no demand for the software guys to add AMF. Right now there are only a few boards and printers that support the use of more than one extruder. There are very few filament type 3d printers that use dual extruders. Support materials seems like the most important use of a second extruder to me, because it allows more complex parts to be made. After that I think multiple materials would be a huge benefit, and multiple colors would be third priority.
I really need to get both of my extruders set up and working for dual extrusion! For me the biggest benefits would be support material and different nozzles for infill and perimeters.
I think we need to get multiple extruders to be standard hardware or there will be no demand for the software guys to add AMF. Right now there are only a few boards and printers that support the use of more than one extruder. There are very few filament type 3d printers that use dual extruders. Support materials seems like the most important use of a second extruder to me, because it allows more complex parts to be made. After that I think multiple materials would be a huge benefit, and multiple colors would be third priority.
I really need to get both of my extruders set up and working for dual extrusion! For me the biggest benefits would be support material and different nozzles for infill and perimeters.
Check out the Tri hotend!
Re: Dual Material STL Workflow
If we're one of the first communities out of the gate with a fully functional toolchain and hardware support for multiple extruders, we'll attract more interest from smart people who can help us figure out other things about the delta platform while they're here.
Questions? Ask in a thread - PMs are off.
AI Calibration | Dimensional Accuracy Calibration | Hand-Tune your PID | OctoPi + Touchscreen setup | My E3D hot end mount, Z probe, fan ducts, LED ring mount, filament spool holder, etc.
AI Calibration | Dimensional Accuracy Calibration | Hand-Tune your PID | OctoPi + Touchscreen setup | My E3D hot end mount, Z probe, fan ducts, LED ring mount, filament spool holder, etc.
Re: Dual Material STL Workflow
alrighty here is a way to assign a specific extruder to a .stl inside your multi .stl file in slic3r rc3.
once you get your .stl files combined and loaded so you can visually see it in slic3r if you look at the right side there is a button that says settings, click that and go to Materials tab. here we can assign an extruder to a specific .stl which was combined.
once you get your .stl files combined and loaded so you can visually see it in slic3r if you look at the right side there is a button that says settings, click that and go to Materials tab. here we can assign an extruder to a specific .stl which was combined.