mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 08:33:10 +00:00
--names for filtering included or excluded entities by name, e.g. --include --names "Wall Compound*"
This commit is contained in:
@@ -276,7 +276,7 @@ namespace IfcGeom {
|
||||
include_entities_in_processing = false;
|
||||
}
|
||||
|
||||
// Arbitrary names or wildcard expressions are handled case-sensitively.
|
||||
/// @note Arbitrary names or wildcard expressions are handled case-sensitively.
|
||||
void include_entity_names(const std::vector<std::string>& names)
|
||||
{
|
||||
names_to_include_or_exclude.clear();
|
||||
@@ -285,7 +285,7 @@ namespace IfcGeom {
|
||||
include_entities_in_processing = true;
|
||||
}
|
||||
|
||||
// Arbitrary names or wildcard expressions are handled case-sensitively.
|
||||
/// @note Arbitrary names or wildcard expressions are handled case-sensitively.
|
||||
void exclude_entity_names(const std::vector<std::string>& names)
|
||||
{
|
||||
names_to_include_or_exclude.clear();
|
||||
@@ -346,7 +346,7 @@ namespace IfcGeom {
|
||||
}
|
||||
|
||||
foreach(const boost::regex& r, names_to_include_or_exclude) {
|
||||
if (boost::regex_match((*it)->Name(), r)) {
|
||||
if (boost::regex_match((*jt)->Name(), r)) {
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -176,7 +176,6 @@ namespace IfcGeom {
|
||||
std::vector<std::pair<int,int> > edges_temp;
|
||||
|
||||
const TColgp_Array1OfPnt& nodes = tri->Nodes();
|
||||
/// @todo can these UVs be used for texture coordinates as is?
|
||||
const TColgp_Array1OfPnt2d& uvs = tri->UVNodes();
|
||||
std::vector<gp_XYZ> coords;
|
||||
BRepGProp_Face prop(face);
|
||||
|
||||
Reference in New Issue
Block a user