Adding --surface-color in conversion settings to force the use of surface color instead of diffuse color. Issue #5075

This commit is contained in:
Cristian Ritter
2024-08-15 13:56:31 -03:00
parent 4348b9bff9
commit b5a61753a5
4 changed files with 25 additions and 5 deletions
+7
View File
@@ -331,6 +331,13 @@ namespace ifcopenshell {
static constexpr bool defaultvalue = false;
};
struct SurfaceColour : public SettingBase<SurfaceColour, bool> {
static constexpr const char* const name = "surface-colour";
static constexpr const char* const description =
"Prioritizes the surface color instead of using diffuse.";
static constexpr bool defaultvalue = false;
};
enum PiecewiseStepMethod {
MAXSTEPSIZE,
MINSTEPS };