mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Lookup styles on (arbitrarily) more taxonomy kinds
This commit is contained in:
@@ -49,7 +49,7 @@ namespace geometry {
|
|||||||
try {
|
try {
|
||||||
if (inst->as<IfcSchema::IfcRepresentationItem>() && !inst->as<IfcSchema::IfcStyledItem>() &&
|
if (inst->as<IfcSchema::IfcRepresentationItem>() && !inst->as<IfcSchema::IfcStyledItem>() &&
|
||||||
/* @todo */
|
/* @todo */
|
||||||
(item->kind() == taxonomy::SOLID || item->kind() == taxonomy::SHELL || item->kind() == taxonomy::COLLECTION || item->kind() == taxonomy::EXTRUSION)
|
(item->kind() == taxonomy::SOLID || item->kind() == taxonomy::SHELL || item->kind() == taxonomy::COLLECTION || item->kind() == taxonomy::EXTRUSION || item->kind() == taxonomy::LOFT || item->kind() == taxonomy::BOOLEAN_RESULT || item->kind() == taxonomy::REVOLVE || item->kind() == taxonomy::SWEEP_ALONG_CURVE)
|
||||||
) {
|
) {
|
||||||
auto style = find_style(inst->as<IfcSchema::IfcRepresentationItem>());
|
auto style = find_style(inst->as<IfcSchema::IfcRepresentationItem>());
|
||||||
if (style) {
|
if (style) {
|
||||||
|
|||||||
Reference in New Issue
Block a user