I noticed that rendering preserved the colours specified, and wondered
if any of the export formats would also show colours.
So I tried making a 2 colour object and started exporting different
formats. STL did not, of course, but neither did OBJ, OFF, and WRL.
The intereesting one was AMF. That produced this:
DEPRECATED: AMF export is deprecated. Please use 3md instead.
AMF export finished:
/media/larry/Modata/make/3d/OpenSCAD/test/tst/num_keytag.amf
The AMF did not carry the colour info, but I was a little surprised at
the suggestion to use 3MD, since there is no 3MD format available under
Export.
Now for the reason I wanted to export colour info. I picked up a Bambu
Lab P1S last March. It does not have an AMS, so I don't do multi-colour
prints, except for full layer filament changes. I do find myself
wanting to supply multi-colour files to people though.
Does anyone know how difficult it would be to provide an export file
format that would preserve colour info from a render, as well as being
compatible with the Bambu Lab slicer. The only format I know of that
fits those requirements is STEP.
Would it be a huge task to provide a STEP file containing the geometry
of the STL, but with colour information. I realize that a STEP file may
have more functionality over and above geometry and colour, but I only
want the geometry and colour
.
Hi Larry,
I think 3MD is clearly a typo and meant to be " 3MF"
3MF can also carry color information.
Yes, adding color information to STEP export is a very interesting idea.
A Step file is basically a hierarchical tree with a defined structure which
is written as many little entities to the file.
I think it would be rather easy to export the colors , too. Just PM me and
we could probably work that out together.
On Fri, Apr 4, 2025 at 7:33 AM larry via Discuss discuss@lists.openscad.org
wrote:
I noticed that rendering preserved the colours specified, and wondered
if any of the export formats would also show colours.
So I tried making a 2 colour object and started exporting different
formats. STL did not, of course, but neither did OBJ, OFF, and WRL.
The intereesting one was AMF. That produced this:
DEPRECATED: AMF export is deprecated. Please use 3md instead.
AMF export finished:
/media/larry/Modata/make/3d/OpenSCAD/test/tst/num_keytag.amf
The AMF did not carry the colour info, but I was a little surprised at
the suggestion to use 3MD, since there is no 3MD format available under
Export.
Now for the reason I wanted to export colour info. I picked up a Bambu
Lab P1S last March. It does not have an AMS, so I don't do multi-colour
prints, except for full layer filament changes. I do find myself
wanting to supply multi-colour files to people though.
Does anyone know how difficult it would be to provide an export file
format that would preserve colour info from a render, as well as being
compatible with the Bambu Lab slicer. The only format I know of that
fits those requirements is STEP.
Would it be a huge task to provide a STEP file containing the geometry
of the STL, but with colour information. I realize that a STEP file may
have more functionality over and above geometry and colour, but I only
want the geometry and colour
.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On 4/4/25 07:33, larry via Discuss wrote:
The AMF did not carry the colour info, but I was a little surprised at
the suggestion to use 3MD, since there is no 3MD format available under
Export.
That typo was fixed half a year ago, I suggest grabbing the latest
dev snapshot as there are huge 3MF improvements that were integrated
after that time.
Now for the reason I wanted to export colour info. I picked up a Bambu
Lab P1S last March. It does not have an AMS, so I don't do multi-colour
prints, except for full layer filament changes. I do find myself
wanting to supply multi-colour files to people though.
Color in 3MF is NOT relevant for slicing in BambuStudio. What is
picked up are separate objects in the 3MF file.
Right now that can be achieved by enabling "lazy-union" but that's
only a temporary workaround. A full stable solution is still
pending.
Example file:
https://www.printables.com/model/1020666-openscad-color-3mf-test
Note how the 3D Viewer at Printables shows the 3MF colors but
those will not be picked up in the Slicer. The objects are still
separated and can be assigned to different extruders.
ciao,
Torsten.
One of my printers is an IDEX printer. What I do is to model one
section in one color, one section in another. These generally tend to
be separate objects. Suitable IF statements allow creating two models
one with one set and the other with the other set of colors. The slicer
allows combining models on the build plate, and assigning one file to
each extruder. The IDEX printer produces a composite model. One
example is an led baffle (black) with a translucent one piece diffuser.
Harvey
On 4/4/2025 1:33 AM, larry via Discuss wrote:
I noticed that rendering preserved the colours specified, and wondered
if any of the export formats would also show colours.
So I tried making a 2 colour object and started exporting different
formats. STL did not, of course, but neither did OBJ, OFF, and WRL.
The intereesting one was AMF. That produced this:
DEPRECATED: AMF export is deprecated. Please use 3md instead.
AMF export finished:
/media/larry/Modata/make/3d/OpenSCAD/test/tst/num_keytag.amf
The AMF did not carry the colour info, but I was a little surprised at
the suggestion to use 3MD, since there is no 3MD format available under
Export.
Now for the reason I wanted to export colour info. I picked up a Bambu
Lab P1S last March. It does not have an AMS, so I don't do multi-colour
prints, except for full layer filament changes. I do find myself
wanting to supply multi-colour files to people though.
Does anyone know how difficult it would be to provide an export file
format that would preserve colour info from a render, as well as being
compatible with the Bambu Lab slicer. The only format I know of that
fits those requirements is STEP.
Would it be a huge task to provide a STEP file containing the geometry
of the STL, but with colour information. I realize that a STEP file may
have more functionality over and above geometry and colour, but I only
want the geometry and colour
.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On Fri, 2025-04-04 at 08:25 +0200, Guenther Sohler via Discuss wrote:
Hi Larry,
I think 3MD is clearly a typo and meant to be " 3MF"
3MF can also carry color information.
Wondered if that might be the case.
Yes, adding color information to STEP export is a very interesting
idea.
A Step file is basically a hierarchical tree with a defined structure
which is written as many little entities to the file.
I think it would be rather easy to export the colors , too. Just PM
me and we could probably work that out together.
Not sure I can be much help. What did you have in mind for a
collaboration?
On Fri, Apr 4, 2025 at 7:33 AM larry via Discuss
discuss@lists.openscad.org wrote:
I noticed that rendering preserved the colours specified, and
wondered
if any of the export formats would also show colours.
So I tried making a 2 colour object and started exporting different
formats. STL did not, of course, but neither did OBJ, OFF, and WRL.
The intereesting one was AMF. That produced this:
DEPRECATED: AMF export is deprecated. Please use 3md instead.
AMF export finished:
/media/larry/Modata/make/3d/OpenSCAD/test/tst/num_keytag.amf
The AMF did not carry the colour info, but I was a little surprised
at
the suggestion to use 3MD, since there is no 3MD format available
under
Export.
Now for the reason I wanted to export colour info. I picked up a
Bambu
Lab P1S last March. It does not have an AMS, so I don't do multi-
colour
prints, except for full layer filament changes. I do find myself
wanting to supply multi-colour files to people though.
Does anyone know how difficult it would be to provide an export
file
format that would preserve colour info from a render, as well as
being
compatible with the Bambu Lab slicer. The only format I know of
that
fits those requirements is STEP.
Would it be a huge task to provide a STEP file containing the
geometry
of the STL, but with colour information. I realize that a STEP file
may
have more functionality over and above geometry and colour, but I
only
want the geometry and colour
.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On Fri, 2025-04-04 at 15:15 +0200, Torsten Paul via Discuss wrote:
On 4/4/25 07:33, larry via Discuss wrote:
The AMF did not carry the colour info, but I was a little surprised at
the suggestion to use 3MD, since there is no 3MD format available under
Export.
That typo was fixed half a year ago, I suggest grabbing the latest
dev snapshot as there are huge 3MF improvements that were integrated
after that time.
Will do.
Now for the reason I wanted to export colour info. I picked up a Bambu
Lab P1S last March. It does not have an AMS, so I don't do multi-colour
prints, except for full layer filament changes. I do find myself
wanting to supply multi-colour files to people though.
Color in 3MF is NOT relevant for slicing in BambuStudio. What is
picked up are separate objects in the 3MF file.
Right, but how does the colour info get into a Bambu Lab version of a
3MF file?
Right now that can be achieved by enabling "lazy-union" but that's
only a temporary workaround. A full stable solution is still
pending.
Ahh. Do I understand you are working on this?
Example file:
https://www.printables.com/model/1020666-openscad-color-3mf-test
Note how the 3D Viewer at Printables shows the 3MF colors but
those will not be picked up in the Slicer. The objects are still
separated and can be assigned to different extruders.
Right.
I see that 3MF is suitable for the Bambu Lab slicer. Extracting the
contents, I also see that colour information is present.
On Fri, 2025-04-04 at 11:12 -0400, Harvey white via Discuss wrote:
One of my printers is an IDEX printer. What I do is to model one
section in one color, one section in another. These generally tend to
be separate objects. Suitable IF statements allow creating two models
one with one set and the other with the other set of colors. The slicer
allows combining models on the build plate, and assigning one file to
each extruder. The IDEX printer produces a composite model. One
example is an led baffle (black) with a translucent one piece diffuser.
I have tried to use Bambu Studio in that manner, but unfortunately BBL
has see fit to prevent me from assigning a different colour filament to
an object, presumably because I don't have an AMS. I am less than
impressed with their funky restrictions.
On 4/4/2025 1:33 AM, larry via Discuss wrote:
I noticed that rendering preserved the colours specified, and wondered
if any of the export formats would also show colours.
So I tried making a 2 colour object and started exporting different
formats. STL did not, of course, but neither did OBJ, OFF, and WRL.
The intereesting one was AMF. That produced this:
DEPRECATED: AMF export is deprecated. Please use 3md instead.
AMF export finished:
/media/larry/Modata/make/3d/OpenSCAD/test/tst/num_keytag.amf
The AMF did not carry the colour info, but I was a little surprised at
the suggestion to use 3MD, since there is no 3MD format available under
Export.
Now for the reason I wanted to export colour info. I picked up a Bambu
Lab P1S last March. It does not have an AMS, so I don't do multi-colour
prints, except for full layer filament changes. I do find myself
wanting to supply multi-colour files to people though.
Does anyone know how difficult it would be to provide an export file
format that would preserve colour info from a render, as well as being
compatible with the Bambu Lab slicer. The only format I know of that
fits those requirements is STEP.
Would it be a huge task to provide a STEP file containing the geometry
of the STL, but with colour information. I realize that a STEP file may
have more functionality over and above geometry and colour, but I only
want the geometry and colour
.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On 4/4/25 18:55, larry via Discuss wrote:
Color in 3MF is NOT relevant for slicing in BambuStudio. What is
picked up are separate objects in the 3MF file.
Right, but how does the colour info get into a Bambu Lab version of a
3MF file?
Both Bambu Studio and Prusa Slicer have their own proprietary
way of storing their idea of color in addition of the official
color/material definition in 3MF.
I believe the way Bambu Studio does it, even violates the 3MF
specification.
Both of those definitions are impossible to read via the
official 3MF library, so OpenSCAD can not read or write those.
Right now that can be achieved by enabling "lazy-union" but that's
only a temporary workaround. A full stable solution is still
pending.
Ahh. Do I understand you are working on this?
No, not that I'm aware of. It needs to be done, but to my
knowledge nobody is actively working on that.
ciao,
Torsten.
I needed this also, and ended up taking an in-script route, producing a
library that allows you to part out sections of a model to be exported
independently of each other. openscad_annotations 1 uses a modification
of BOSL2's Attachables [2] to delineate parts, like a bolt and a nut, and
then isolate them at render time. Works with the most recent GA version
2021.10, with any export method (STL, 3MF, whatever).
[2]: actually it uses a customized _show_ghost() and attach() to make it
work, but it's all attachables at that level
On Fri, Apr 4, 2025 at 10:51 AM Torsten Paul via Discuss <
discuss@lists.openscad.org> wrote:
On 4/4/25 18:55, larry via Discuss wrote:
Color in 3MF is NOT relevant for slicing in BambuStudio. What is
picked up are separate objects in the 3MF file.
Right, but how does the colour info get into a Bambu Lab version of a
3MF file?
Both Bambu Studio and Prusa Slicer have their own proprietary
way of storing their idea of color in addition of the official
color/material definition in 3MF.
I believe the way Bambu Studio does it, even violates the 3MF
specification.
Both of those definitions are impossible to read via the
official 3MF library, so OpenSCAD can not read or write those.
Right now that can be achieved by enabling "lazy-union" but that's
only a temporary workaround. A full stable solution is still
pending.
Ahh. Do I understand you are working on this?
No, not that I'm aware of. It needs to be done, but to my
knowledge nobody is actively working on that.
ciao,
Torsten.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
--
Slightly OT in respect of Export but given that STEP is a common format for 3D files. I looked into STEP conversion tools and got stuck at building OCCU, so the project is stalled pro tem. Can anyone suggest a STEP conversion process please?
Many thanks
Roger. Sent from my iPhone 6
On 4 Apr 2025, at 07:25, Guenther Sohler <guenther.sohler@gmail.com> wrote:
Hi Larry,
I think 3MD is clearly a typo and meant to be " 3MF"
3MF can also carry color information.
Yes, adding color information to STEP export is a very interesting idea.
A Step file is basically a hierarchical tree with a defined structure which is written as many little entities to the file.
I think it would be rather easy to export the colors , too. Just PM me and we could probably work that out together.
On Fri, Apr 4, 2025 at 7:33 AM larry via Discuss <discuss@lists.openscad.org> wrote:
I noticed that rendering preserved the colours specified, and wondered
if any of the export formats would also show colours.So I tried making a 2 colour object and started exporting different
formats. STL did not, of course, but neither did OBJ, OFF, and WRL.The intereesting one was AMF. That produced this:
DEPRECATED: AMF export is deprecated. Please use 3md instead.
AMF export finished:
/media/larry/Modata/make/3d/OpenSCAD/test/tst/num_keytag.amfThe AMF did not carry the colour info, but I was a little surprised at
the suggestion to use 3MD, since there is no 3MD format available under
Export.Now for the reason I wanted to export colour info. I picked up a Bambu
Lab P1S last March. It does not have an AMS, so I don't do multi-colour
prints, except for full layer filament changes. I do find myself
wanting to supply multi-colour files to people though.Does anyone know how difficult it would be to provide an export file
format that would preserve colour info from a render, as well as being
compatible with the Bambu Lab slicer. The only format I know of that
fits those requirements is STEP.Would it be a huge task to provide a STEP file containing the geometry
of the STL, but with colour information. I realize that a STEP file may
have more functionality over and above geometry and colour, but I only
want the geometry and colour
._______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org