discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Now in color!

B
bobc
Sat, Aug 1, 2015 12:51 PM

Test example from RepRapPro

  • rendered in color
  • output to 3 STL files, one for each color

http://forum.openscad.org/file/n13392/screen4.png

If you want to try this build you will need to build from source
https://github.com/bobc/openscad/tree/carve_csg. I have only built linux
version so far, I will look at building a windows version later. Bear in
mind this is work in progress, not even really an alpha version.

Several things have been lost in the Carve implementation, notably 3D hull
and minkowski, as well as output to OFF, PLY. Other things that depend on
unique features of CGAL will have stopped working too. The triangulation is
buggy too, I need to implement a better triangulator.

--
View this message in context: http://forum.openscad.org/Now-in-color-tp13392.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Test example from RepRapPro - rendered in color - output to 3 STL files, one for each color <http://forum.openscad.org/file/n13392/screen4.png> If you want to try this build you will need to build from source https://github.com/bobc/openscad/tree/carve_csg. I have only built linux version so far, I will look at building a windows version later. Bear in mind this is work in progress, not even really an alpha version. Several things have been lost in the Carve implementation, notably 3D hull and minkowski, as well as output to OFF, PLY. Other things that depend on unique features of CGAL will have stopped working too. The triangulation is buggy too, I need to implement a better triangulator. -- View this message in context: http://forum.openscad.org/Now-in-color-tp13392.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Sun, Aug 2, 2015 6:38 AM

Nice.

You may need a method to ignore the separate colours and just do one STL,
for when color() is used for display/documentary reasons rather than
multi-material.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Now-in-color-tp13392p13399.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Nice. You may need a method to ignore the separate colours and just do one STL, for when color() is used for display/documentary reasons rather than multi-material. ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Now-in-color-tp13392p13399.html Sent from the OpenSCAD mailing list archive at Nabble.com.
BC
Bob Cousins
Sun, Aug 2, 2015 8:20 AM

On 2 August 2015 at 07:38, MichaelAtOz oz.at.michael@gmail.com wrote:

Nice.

You may need a method to ignore the separate colours and just do one STL,
for when color() is used for display/documentary reasons rather than
multi-material.

Yes, I would like a settings dialog somewhere to select options for the
export. There are a number of ways to output to AMF for example, I picked
the method that is compatible with slic3r. As a consequence, color is a
proxy for material id, but it would be possible to have the same material
in different colors.

For a particular model, it might be useful to select which parts to export,
perhaps in an extended Export... dialog.

I would like to add a material property to the language, there is some
discussion about how this should be done. It would be good to have
something that is reasonably flexible and extensible which could also be
used for things like DXF layers.

At this point, there are a number of bugs, loose ends, and missing features
that I will work on. However, if there are any features people would like
to see relating to color, materials etc, now is a good time to let me know.

On 2 August 2015 at 07:38, MichaelAtOz <oz.at.michael@gmail.com> wrote: > Nice. > > You may need a method to ignore the separate colours and just do one STL, > for when color() is used for display/documentary reasons rather than > multi-material. > Yes, I would like a settings dialog somewhere to select options for the export. There are a number of ways to output to AMF for example, I picked the method that is compatible with slic3r. As a consequence, color is a proxy for material id, but it would be possible to have the same material in different colors. For a particular model, it might be useful to select which parts to export, perhaps in an extended Export... dialog. I would like to add a material property to the language, there is some discussion about how this should be done. It would be good to have something that is reasonably flexible and extensible which could also be used for things like DXF layers. At this point, there are a number of bugs, loose ends, and missing features that I will work on. However, if there are any features people would like to see relating to color, materials etc, now is a good time to let me know.