DWG/DXF material color settings in web import

This is continuing some thoughts from this post:

When using the direct file import the dwg/dxf settings use the default Rhino import settings. For us this always leads to a grey speckle object without colors.

I would propose to enable the “set material to layer color” option to preserve the color information in most DWGs. Obviously this overwrites some of the material information. But since most of that info is lost on the way to speckle i think it would lead to better results in most cases.

I am not deep enough into the dwg eco system to know if there are cases that would break due to the setting.
I’ve made a small PR to accommodate this:

But i think it is less of a technical issue than a conceptual question if this setting breaks any edge cases.

1 Like

Good suggestion. Also can’t think off the top of my head possible edge cases but we’ll add an investigation ticket.

1 Like

Hi @Witt

You’re PR has been merged and is now deployed to app.speckle.systems

Thank you for your contributions! :tada:

1 Like