Dual Material STL Workflow

All things related to the Rostock MAX 3D Printer, the worlds FIRST Delta kit!
Post Reply
altarke
Printmaster!
Posts: 78
Joined: Mon Jul 08, 2013 4:09 pm

Dual Material STL Workflow

Post by altarke »

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
Altarke

Rostock MAX V1 Printer
User avatar
Batteau62
Printmaster!
Posts: 389
Joined: Wed Apr 03, 2013 12:36 pm
Location: Connecticut

Re: Dual Material STL Workflow

Post by Batteau62 »

:arrow: Bump- I don't have an answer for you, but I'm very interested to see what users respond with. The only thing I could find was this Alibre Design article: http://www.britishideas.com/2013/02/14/ ... -printing/
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
User avatar
Nylocke
ULTIMATE 3D JEDI
Posts: 1418
Joined: Sun Jun 23, 2013 1:43 pm
Location: Iowa

Re: Dual Material STL Workflow

Post by Nylocke »

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...
User avatar
mhackney
ULTIMATE 3D JEDI
Posts: 5391
Joined: Mon Mar 26, 2012 4:15 pm
Location: MA, USA
Contact:

Re: Dual Material STL Workflow

Post by mhackney »

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.
StackedRods.zip
(185.25 KiB) Downloaded 357 times
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
altarke
Printmaster!
Posts: 78
Joined: Mon Jul 08, 2013 4:09 pm

Re: Dual Material STL Workflow

Post by altarke »

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
Altarke

Rostock MAX V1 Printer
User avatar
MSURunner
Printmaster!
Posts: 200
Joined: Thu Jan 03, 2013 1:28 pm

Re: Dual Material STL Workflow

Post by MSURunner »

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
User avatar
mhackney
ULTIMATE 3D JEDI
Posts: 5391
Joined: Mon Mar 26, 2012 4:15 pm
Location: MA, USA
Contact:

Re: Dual Material STL Workflow

Post by mhackney »

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
User avatar
MSURunner
Printmaster!
Posts: 200
Joined: Thu Jan 03, 2013 1:28 pm

Re: Dual Material STL Workflow

Post by MSURunner »

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...
geneb
ULTIMATE 3D JEDI
Posts: 5358
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: Dual Material STL Workflow

Post by geneb »

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 :D )

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
User avatar
MSURunner
Printmaster!
Posts: 200
Joined: Thu Jan 03, 2013 1:28 pm

Re: Dual Material STL Workflow

Post by MSURunner »

geneb wrote:It's a bad programming language masquerading as a parametric design tool - and yes, I'm a CAD snob.
There is a reason why I'm not using it in my classroom :) But innovation (particularly CAD innovation) is rarely driven by leaders in software if history is any indication. BIM based architecture modelling was made by upstarts and then bought by the larger companies to take it where it is today.
geneb wrote: AFAIK, SolidWorks and others do support the OBJ format, which is something I thought was a multi-material object format.

g.
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.
User avatar
Batteau62
Printmaster!
Posts: 389
Joined: Wed Apr 03, 2013 12:36 pm
Location: Connecticut

Re: Dual Material STL Workflow

Post by Batteau62 »

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 :roll:
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
geneb
ULTIMATE 3D JEDI
Posts: 5358
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: Dual Material STL Workflow

Post by geneb »

Maybe an OBJ->AMF converter would do the job - but the slicers have to support AMF...

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
User avatar
mhackney
ULTIMATE 3D JEDI
Posts: 5391
Joined: Mon Mar 26, 2012 4:15 pm
Location: MA, USA
Contact:

Re: Dual Material STL Workflow

Post by mhackney »

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
User avatar
MSURunner
Printmaster!
Posts: 200
Joined: Thu Jan 03, 2013 1:28 pm

Re: Dual Material STL Workflow

Post by MSURunner »

geneb wrote:Maybe an OBJ->AMF converter would do the job - but the slicers have to support AMF...

g.

Cura supports .amf
geneb
ULTIMATE 3D JEDI
Posts: 5358
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: Dual Material STL Workflow

Post by geneb »

Right, but SolidWorks doesn't. (I don't think)...

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
User avatar
626Pilot
ULTIMATE 3D JEDI
Posts: 1716
Joined: Tue May 14, 2013 12:52 pm

Re: Dual Material STL Workflow

Post by 626Pilot »

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 :roll:
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.

Until the toolchain is complete it may as well be the Flying Spaghetti Monster.
User avatar
Generic Default
Printmaster!
Posts: 554
Joined: Mon Jun 03, 2013 6:56 pm
Contact:

Re: Dual Material STL Workflow

Post by Generic Default »

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.
Check out the Tri hotend!
User avatar
626Pilot
ULTIMATE 3D JEDI
Posts: 1716
Joined: Tue May 14, 2013 12:52 pm

Re: Dual Material STL Workflow

Post by 626Pilot »

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.
bubbasnow
ULTIMATE 3D JEDI
Posts: 1061
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: Dual Material STL Workflow

Post by bubbasnow »

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.
Post Reply

Return to “Rostock MAX”