Exporting Colors via 3MF Files

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Exporting Colors via 3MF Files

DonGar
I'm wondering if it's possible to preserve color information from the original model in a file exported in 3MF format (which supports color information). Colors are normally lost during rendering, so probably not.

Assuming that can be done, does anyone happen to know if Simplify 3D can use model color information to select which print head to use?

This would give me a much simpler (and less error prone) workflow for multicolor prints.

--
Don

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

drxenocide
IDK.

I dont think so - at least I have never seen an option for that. Based on the tutorial that S3D has for multi-color(https://www.simplify3d.com/support/articles/printing-with-multiple-extruders/) I doubt it. You should ask them this question though - they are very responsive, and it would make 3D printing multi-material suck a lot less.

Oh yeah.

(respectively)

On Mon, Feb 10, 2020 at 11:44 PM Don Garrett <[hidden email]> wrote:
I'm wondering if it's possible to preserve color information from the original model in a file exported in 3MF format (which supports color information). Colors are normally lost during rendering, so probably not.

Assuming that can be done, does anyone happen to know if Simplify 3D can use model color information to select which print head to use?

This would give me a much simpler (and less error prone) workflow for multicolor prints.

--
Don
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

DonGar
Is it possibly to preserve colors added to a model when exporting to 3MF?

On Wed, Feb 12, 2020 at 12:36 PM Ari Diacou <[hidden email]> wrote:
IDK.

I dont think so - at least I have never seen an option for that. Based on the tutorial that S3D has for multi-color(https://www.simplify3d.com/support/articles/printing-with-multiple-extruders/) I doubt it. You should ask them this question though - they are very responsive, and it would make 3D printing multi-material suck a lot less.

Oh yeah.

(respectively)

On Mon, Feb 10, 2020 at 11:44 PM Don Garrett <[hidden email]> wrote:
I'm wondering if it's possible to preserve color information from the original model in a file exported in 3MF format (which supports color information). Colors are normally lost during rendering, so probably not.

Assuming that can be done, does anyone happen to know if Simplify 3D can use model color information to select which print head to use?

This would give me a much simpler (and less error prone) workflow for multicolor prints.

--
Don
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


--
Don

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

acwest
As I recall from the last time this came up, it is rather unclear what to do when volumes of different colours are unioned together

On Wed, 12 Feb 2020, 16:48 Don Garrett, <[hidden email]> wrote:
Is it possibly to preserve colors added to a model when exporting to 3MF?

On Wed, Feb 12, 2020 at 12:36 PM Ari Diacou <[hidden email]> wrote:
IDK.

I dont think so - at least I have never seen an option for that. Based on the tutorial that S3D has for multi-color(https://www.simplify3d.com/support/articles/printing-with-multiple-extruders/) I doubt it. You should ask them this question though - they are very responsive, and it would make 3D printing multi-material suck a lot less.

Oh yeah.

(respectively)

On Mon, Feb 10, 2020 at 11:44 PM Don Garrett <[hidden email]> wrote:
I'm wondering if it's possible to preserve color information from the original model in a file exported in 3MF format (which supports color information). Colors are normally lost during rendering, so probably not.

Assuming that can be done, does anyone happen to know if Simplify 3D can use model color information to select which print head to use?

This would give me a much simpler (and less error prone) workflow for multicolor prints.

--
Don
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


--
Don
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

nophead
Also in preview you can have different coloured faces on the same volume, which doesn't really fit in with most types of 3D printing.

On Wed, 12 Feb 2020 at 21:58, A. Craig West <[hidden email]> wrote:
As I recall from the last time this came up, it is rather unclear what to do when volumes of different colours are unioned together

On Wed, 12 Feb 2020, 16:48 Don Garrett, <[hidden email]> wrote:
Is it possibly to preserve colors added to a model when exporting to 3MF?

On Wed, Feb 12, 2020 at 12:36 PM Ari Diacou <[hidden email]> wrote:
IDK.

I dont think so - at least I have never seen an option for that. Based on the tutorial that S3D has for multi-color(https://www.simplify3d.com/support/articles/printing-with-multiple-extruders/) I doubt it. You should ask them this question though - they are very responsive, and it would make 3D printing multi-material suck a lot less.

Oh yeah.

(respectively)

On Mon, Feb 10, 2020 at 11:44 PM Don Garrett <[hidden email]> wrote:
I'm wondering if it's possible to preserve color information from the original model in a file exported in 3MF format (which supports color information). Colors are normally lost during rendering, so probably not.

Assuming that can be done, does anyone happen to know if Simplify 3D can use model color information to select which print head to use?

This would give me a much simpler (and less error prone) workflow for multicolor prints.

--
Don
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


--
Don
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

DonGar
In reply to this post by acwest
That's an excellent point. Preview seems to handle this, but the behavior probably gets weird in cases I just haven't noticed yet.

On Wed, Feb 12, 2020 at 1:58 PM A. Craig West <[hidden email]> wrote:
As I recall from the last time this came up, it is rather unclear what to do when volumes of different colours are unioned together

On Wed, 12 Feb 2020, 16:48 Don Garrett, <[hidden email]> wrote:
Is it possibly to preserve colors added to a model when exporting to 3MF?

On Wed, Feb 12, 2020 at 12:36 PM Ari Diacou <[hidden email]> wrote:
IDK.

I dont think so - at least I have never seen an option for that. Based on the tutorial that S3D has for multi-color(https://www.simplify3d.com/support/articles/printing-with-multiple-extruders/) I doubt it. You should ask them this question though - they are very responsive, and it would make 3D printing multi-material suck a lot less.

Oh yeah.

(respectively)

On Mon, Feb 10, 2020 at 11:44 PM Don Garrett <[hidden email]> wrote:
I'm wondering if it's possible to preserve color information from the original model in a file exported in 3MF format (which supports color information). Colors are normally lost during rendering, so probably not.

Assuming that can be done, does anyone happen to know if Simplify 3D can use model color information to select which print head to use?

This would give me a much simpler (and less error prone) workflow for multicolor prints.

--
Don
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


--
Don
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


--
Don

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

jschobben
Some time ago I made a script to help with exporting OpenSCAD models as
colored AMF. Perhaps that can be a starting point for colored 3MF export.

Basically, the script analyses your model to figure out which colors it
uses, and then makes OpenSCAD do a separate render for each color, with only
the geometry in that color. Finally all outputs are combined into one model,
with added color info.

It uses the oystrich approach to deal with weird geometry issues, so it's
probably best to avoid overlapping colors and such in your model...

Yep, AMF is not quite the same as 3MF, but the general approach should work
too hopefully :)
Maybe I can sneak in a proper lib3mf-based merge step, will have a look
later this week.

Incidentally, I made that script to produce an AMF for browser display
(using three.js). I have a hard time finding any regular tool that will
display the colored AMF files properly, let alone any slicer... :(

Script can be found here: https://github.com/jschobben/colorscad

- Jesse



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

DonGar
Very cool! I'll try and take a look at your script later tonight.

On Wed, Feb 12, 2020 at 6:50 PM jschobben <[hidden email]> wrote:
Some time ago I made a script to help with exporting OpenSCAD models as
colored AMF. Perhaps that can be a starting point for colored 3MF export.

Basically, the script analyses your model to figure out which colors it
uses, and then makes OpenSCAD do a separate render for each color, with only
the geometry in that color. Finally all outputs are combined into one model,
with added color info.

It uses the oystrich approach to deal with weird geometry issues, so it's
probably best to avoid overlapping colors and such in your model...

Yep, AMF is not quite the same as 3MF, but the general approach should work
too hopefully :)
Maybe I can sneak in a proper lib3mf-based merge step, will have a look
later this week.

Incidentally, I made that script to produce an AMF for browser display
(using three.js). I have a hard time finding any regular tool that will
display the colored AMF files properly, let alone any slicer... :(

Script can be found here: https://github.com/jschobben/colorscad

- Jesse



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


--
Don

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

jschobben
Short update: the ColorSCAD script now supports 3MF as well!

It cheats a bit though, by using a c++ implementation to do the merging step (based on Lib3MF). As a result, some compilation is needed to get 3MF working, and it requires 2019.05 as well.

It's still here: https://github.com/jschobben/colorscad

- Jesse

On 13-2-2020 17:05, Don Garrett wrote:
Very cool! I'll try and take a look at your script later tonight.

On Wed, Feb 12, 2020 at 6:50 PM jschobben <[hidden email]> wrote:
Some time ago I made a script to help with exporting OpenSCAD models as
colored AMF. Perhaps that can be a starting point for colored 3MF export.

Basically, the script analyses your model to figure out which colors it
uses, and then makes OpenSCAD do a separate render for each color, with only
the geometry in that color. Finally all outputs are combined into one model,
with added color info.

It uses the oystrich approach to deal with weird geometry issues, so it's
probably best to avoid overlapping colors and such in your model...

Yep, AMF is not quite the same as 3MF, but the general approach should work
too hopefully :)
Maybe I can sneak in a proper lib3mf-based merge step, will have a look
later this week.

Incidentally, I made that script to produce an AMF for browser display
(using three.js). I have a hard time finding any regular tool that will
display the colored AMF files properly, let alone any slicer... :(

Script can be found here: https://github.com/jschobben/colorscad

- Jesse



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


--
Don

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Exporting Colors via 3MF Files

Troberg
In reply to this post by nophead
nophead wrote
> Also in preview you can have different coloured faces on the same volume,
> which doesn't really fit in with most types of 3D printing.

True, but a warning message would be sufficient there.

Remember, everything isn't 3D-printing.



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org