mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Adding --surface-color in conversion settings to force the use of surface color instead of diffuse color. Issue #5075
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user