discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

multi-material designs and OpenSCAD

J
jon
Fri, Nov 10, 2023 5:50 PM

I have a Prusa XL on its way to me, and I watched some videos about how
to design for multiple materials.  Basically, you create separate
objects (which touch) and export the whole design as a 3MF.  Prusa
Slicer is able to see the separate objects and you can assign them to
different extruders.

Does anyone have experience doing this kind of design with OpenSCAD? 
Any pointers or gotchas?

Thanks!

Jon

I have a Prusa XL on its way to me, and I watched some videos about how to design for multiple materials.  Basically, you create separate objects (which touch) and export the whole design as a 3MF.  Prusa Slicer is able to see the separate objects and you can assign them to different extruders. Does anyone have experience doing this kind of design with OpenSCAD?  Any pointers or gotchas? Thanks! Jon
MM
Michael Möller
Fri, Nov 10, 2023 8:51 PM

For a different slicer, I created the two objects as STL, and the slicer
did the "merging" (well, each object had its seperate nozzle, it simply
interleaved the layers)

Michael

fre. 10. nov. 2023 21.51 skrev jon via Discuss discuss@lists.openscad.org:

I have a Prusa XL on its way to me, and I watched some videos about how
to design for multiple materials.  Basically, you create separate
objects (which touch) and export the whole design as a 3MF.  Prusa
Slicer is able to see the separate objects and you can assign them to
different extruders.

Does anyone have experience doing this kind of design with OpenSCAD?
Any pointers or gotchas?

Thanks!

Jon


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

For a different slicer, I created the two objects as STL, and the slicer did the "merging" (well, each object had its seperate nozzle, it simply interleaved the layers) Michael fre. 10. nov. 2023 21.51 skrev jon via Discuss <discuss@lists.openscad.org>: > I have a Prusa XL on its way to me, and I watched some videos about how > to design for multiple materials. Basically, you create separate > objects (which touch) and export the whole design as a 3MF. Prusa > Slicer is able to see the separate objects and you can assign them to > different extruders. > > Does anyone have experience doing this kind of design with OpenSCAD? > Any pointers or gotchas? > > Thanks! > > Jon > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
MM
Michael Möller
Fri, Nov 10, 2023 9:03 PM

(... pressed Send too early)

creating the two objects in OpenScad was  done with a conditional or two,
and basically having object A to one STL, and then object B-object A to the
other

Michael

lør. 11. nov. 2023 00.51 skrev Michael Möller private2michael@gmail.com:

For a different slicer, I created the two objects as STL, and the slicer
did the "merging" (well, each object had its seperate nozzle, it simply
interleaved the layers)

Michael

fre. 10. nov. 2023 21.51 skrev jon via Discuss <discuss@lists.openscad.org

:

I have a Prusa XL on its way to me, and I watched some videos about how
to design for multiple materials.  Basically, you create separate
objects (which touch) and export the whole design as a 3MF.  Prusa
Slicer is able to see the separate objects and you can assign them to
different extruders.

Does anyone have experience doing this kind of design with OpenSCAD?
Any pointers or gotchas?

Thanks!

Jon


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

(... pressed Send too early) creating the two objects in OpenScad was done with a conditional or two, and basically having object A to one STL, and then object B-object A to the other Michael lør. 11. nov. 2023 00.51 skrev Michael Möller <private2michael@gmail.com>: > For a different slicer, I created the two objects as STL, and the slicer > did the "merging" (well, each object had its seperate nozzle, it simply > interleaved the layers) > > Michael > > fre. 10. nov. 2023 21.51 skrev jon via Discuss <discuss@lists.openscad.org > >: > >> I have a Prusa XL on its way to me, and I watched some videos about how >> to design for multiple materials. Basically, you create separate >> objects (which touch) and export the whole design as a 3MF. Prusa >> Slicer is able to see the separate objects and you can assign them to >> different extruders. >> >> Does anyone have experience doing this kind of design with OpenSCAD? >> Any pointers or gotchas? >> >> Thanks! >> >> Jon >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
J
jon
Fri, Nov 10, 2023 9:03 PM

Michael:

Thanks!

How did you ensure that the two objects were placed correctly with
respect to each other?  You created two OpenSCAD models which were
located correctly with respect to each other, exported each of them as
separate STL files, and then loaded them into the slicer?  My slicers do
not respect the absolute positions of the objects that are loaded,
although they do respect their orientation.  I wonder if exporting the
two as a single 3MF would have worked, perhaps better

Jon

On 11/10/2023 3:51 PM, Michael Möller wrote:

For a different slicer, I created the two objects as STL, and the
slicer did the "merging" (well, each object had its seperate nozzle,
it simply interleaved the layers)

Michael

fre. 10. nov. 2023 21.51 skrev jon via Discuss
discuss@lists.openscad.org:

 I have a Prusa XL on its way to me, and I watched some videos
 about how
 to design for multiple materials.  Basically, you create separate
 objects (which touch) and export the whole design as a 3MF. Prusa
 Slicer is able to see the separate objects and you can assign them to
 different extruders.

 Does anyone have experience doing this kind of design with OpenSCAD?
 Any pointers or gotchas?

 Thanks!

 Jon
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org
Michael: Thanks! How did you ensure that the two objects were placed correctly with respect to each other?  You created two OpenSCAD models which were located correctly with respect to each other, exported each of them as separate STL files, and then loaded them into the slicer?  My slicers do not respect the absolute positions of the objects that are loaded, although they do respect their orientation.  I wonder if exporting the two as a single 3MF would have worked, perhaps better Jon On 11/10/2023 3:51 PM, Michael Möller wrote: > For a different slicer, I created the two objects as STL, and the > slicer did the "merging" (well, each object had its seperate nozzle, > it simply interleaved the layers) > > Michael > > fre. 10. nov. 2023 21.51 skrev jon via Discuss > <discuss@lists.openscad.org>: > > I have a Prusa XL on its way to me, and I watched some videos > about how > to design for multiple materials.  Basically, you create separate > objects (which touch) and export the whole design as a 3MF. Prusa > Slicer is able to see the separate objects and you can assign them to > different extruders. > > Does anyone have experience doing this kind of design with OpenSCAD? > Any pointers or gotchas? > > Thanks! > > Jon > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
MM
Michael Möller
Fri, Nov 10, 2023 9:09 PM

This slicer (KissSlicer) respected that the two objects shared the same
coordinates - but it had a "load-two-colour" mode for that. If I loaded
them as two models, I got two pieces suitably distributed on the plate

Michael

lør. 11. nov. 2023 01.03 skrev jon jon@jonbondy.com:

Michael:

Thanks!

How did you ensure that the two objects were placed correctly with respect
to each other?  You created two OpenSCAD models which were located
correctly with respect to each other, exported each of them as separate STL
files, and then loaded them into the slicer?  My slicers do not respect the
absolute positions of the objects that are loaded, although they do respect
their orientation.  I wonder if exporting the two as a single 3MF would
have worked, perhaps better

Jon

On 11/10/2023 3:51 PM, Michael Möller wrote:

For a different slicer, I created the two objects as STL, and the slicer
did the "merging" (well, each object had its seperate nozzle, it simply
interleaved the layers)

Michael

fre. 10. nov. 2023 21.51 skrev jon via Discuss <discuss@lists.openscad.org

:

I have a Prusa XL on its way to me, and I watched some videos about how
to design for multiple materials.  Basically, you create separate
objects (which touch) and export the whole design as a 3MF.  Prusa
Slicer is able to see the separate objects and you can assign them to
different extruders.

Does anyone have experience doing this kind of design with OpenSCAD?
Any pointers or gotchas?

Thanks!

Jon


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

This slicer (KissSlicer) respected that the two objects shared the same coordinates - but it had a "load-two-colour" mode for that. If I loaded them as two models, I got two pieces suitably distributed on the plate Michael lør. 11. nov. 2023 01.03 skrev jon <jon@jonbondy.com>: > Michael: > > Thanks! > > How did you ensure that the two objects were placed correctly with respect > to each other? You created two OpenSCAD models which were located > correctly with respect to each other, exported each of them as separate STL > files, and then loaded them into the slicer? My slicers do not respect the > absolute positions of the objects that are loaded, although they do respect > their orientation. I wonder if exporting the two as a single 3MF would > have worked, perhaps better > > Jon > > > On 11/10/2023 3:51 PM, Michael Möller wrote: > > For a different slicer, I created the two objects as STL, and the slicer > did the "merging" (well, each object had its seperate nozzle, it simply > interleaved the layers) > > Michael > > fre. 10. nov. 2023 21.51 skrev jon via Discuss <discuss@lists.openscad.org > >: > >> I have a Prusa XL on its way to me, and I watched some videos about how >> to design for multiple materials. Basically, you create separate >> objects (which touch) and export the whole design as a 3MF. Prusa >> Slicer is able to see the separate objects and you can assign them to >> different extruders. >> >> Does anyone have experience doing this kind of design with OpenSCAD? >> Any pointers or gotchas? >> >> Thanks! >> >> Jon >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
J
jon
Fri, Nov 10, 2023 10:24 PM

The following code creates a sphere with a partial spherical divot cut
out of it, and it also creates the sphere that fits in the divot.  If I
export this code as a 3MF and then load it into PrusaSlicer, with
PrusaSlicer set up to support a multi-material XL printer, then the two
objects (partial sphere and smaller full sphere) appear as two separate
objects to be printed using two separate extruders.  So, this works
immediately and well. If there were additional objects, then I imagine
they would be assigned to different extruders, until we ran out of
extruders at 5.  Then one would have to assign objects to extruders
manually.

So, it seems to be working as well as one could hope

Jon

difference() {
    sphere(10);
    translate([5, 5, 5])
        sphere(5);
    }

translate([5, 5, 5])
    sphere(5);

On 11/10/2023 4:09 PM, Michael Möller wrote:

This slicer (KissSlicer) respected that the two objects shared the
same coordinates - but it had a "load-two-colour" mode for that. If I
loaded them as two models, I got two pieces suitably distributed on
the plate

Michael

lør. 11. nov. 2023 01.03 skrev jon jon@jonbondy.com:

 Michael:

 Thanks!

 How did you ensure that the two objects were placed correctly with
 respect to each other?  You created two OpenSCAD models which were
 located correctly with respect to each other, exported each of
 them as separate STL files, and then loaded them into the slicer? 
 My slicers do not respect the absolute positions of the objects
 that are loaded, although they do respect their orientation.  I
 wonder if exporting the two as a single 3MF would have worked,
 perhaps better

 Jon


 On 11/10/2023 3:51 PM, Michael Möller wrote:
 For a different slicer, I created the two objects as STL, and the
 slicer did the "merging" (well, each object had its seperate
 nozzle, it simply interleaved the layers)

 Michael

 fre. 10. nov. 2023 21.51 skrev jon via Discuss
 <discuss@lists.openscad.org>:

     I have a Prusa XL on its way to me, and I watched some videos
     about how
     to design for multiple materials.  Basically, you create
     separate
     objects (which touch) and export the whole design as a 3MF. 
     Prusa
     Slicer is able to see the separate objects and you can assign
     them to
     different extruders.

     Does anyone have experience doing this kind of design with
     OpenSCAD?
     Any pointers or gotchas?

     Thanks!

     Jon
     _______________________________________________
     OpenSCAD mailing list
     To unsubscribe send an email to discuss-leave@lists.openscad.org
The following code creates a sphere with a partial spherical divot cut out of it, and it also creates the sphere that fits in the divot.  If I export this code as a 3MF and then load it into PrusaSlicer, with PrusaSlicer set up to support a multi-material XL printer, then the two objects (partial sphere and smaller full sphere) appear as two separate objects to be printed using two separate extruders.  So, this works immediately and well. If there were additional objects, then I imagine they would be assigned to different extruders, until we ran out of extruders at 5.  Then one would have to assign objects to extruders manually. So, it seems to be working as well as one could hope Jon difference() {     sphere(10);     translate([5, 5, 5])         sphere(5);     } translate([5, 5, 5])     sphere(5); On 11/10/2023 4:09 PM, Michael Möller wrote: > This slicer (KissSlicer) respected that the two objects shared the > same coordinates - but it had a "load-two-colour" mode for that. If I > loaded them as two models, I got two pieces suitably distributed on > the plate > > Michael > > lør. 11. nov. 2023 01.03 skrev jon <jon@jonbondy.com>: > > Michael: > > Thanks! > > How did you ensure that the two objects were placed correctly with > respect to each other?  You created two OpenSCAD models which were > located correctly with respect to each other, exported each of > them as separate STL files, and then loaded them into the slicer?  > My slicers do not respect the absolute positions of the objects > that are loaded, although they do respect their orientation.  I > wonder if exporting the two as a single 3MF would have worked, > perhaps better > > Jon > > > On 11/10/2023 3:51 PM, Michael Möller wrote: >> For a different slicer, I created the two objects as STL, and the >> slicer did the "merging" (well, each object had its seperate >> nozzle, it simply interleaved the layers) >> >> Michael >> >> fre. 10. nov. 2023 21.51 skrev jon via Discuss >> <discuss@lists.openscad.org>: >> >> I have a Prusa XL on its way to me, and I watched some videos >> about how >> to design for multiple materials.  Basically, you create >> separate >> objects (which touch) and export the whole design as a 3MF.  >> Prusa >> Slicer is able to see the separate objects and you can assign >> them to >> different extruders. >> >> Does anyone have experience doing this kind of design with >> OpenSCAD? >> Any pointers or gotchas? >> >> Thanks! >> >> Jon >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >>
TP
Torsten Paul
Fri, Nov 10, 2023 10:51 PM

On 10.11.23 23:24, jon via Discuss wrote:

So, it seems to be working as well as one could hope

I fear that's just a side effect of the experimental feature
"lazy-union" discussed a while ago.

So it's more working well by chance, real support for that
needs to be added in a better defined way.

ciao,
Torsten.

On 10.11.23 23:24, jon via Discuss wrote: > So, it seems to be working as well as one could hope I fear that's just a side effect of the experimental feature "lazy-union" discussed a while ago. So it's more working well by chance, real support for that needs to be added in a better defined way. ciao, Torsten.