Thomas Krijnen
42c09deb8c
#354 loose faces in SewedShape
2018-04-11 12:26:01 +02:00
Thomas Krijnen
e87a1a0b32
#329 Only auto close IfcCompositeCurve when used for profile
2018-03-09 10:41:22 +01:00
Thomas Krijnen
5d0c04a077
Fix geometry reuse in case of IfcTypeProducts with maps
2018-02-21 14:54:38 +01:00
Anders Granskogen Bjørnstad
8a316e45ed
IfcConvert: Add --building-local-placement argument
...
Similar to --site-local-placement. Motivated by dealing with at least
two examples where IFC files for the same construction site have
inconsistent ObjectPlacement hierarchy:
- MEP models exported from MagiCAD for Revit:
ObjectPlacement.PlacementRelTo of IfcBuilding is empty
- Regular construction models exported from Revit:
ObjectPlacement.PlacementRelTo of IfcBuilding is pointing to
IfcSite's placement
2018-02-19 16:17:12 +01:00
Thomas Krijnen
c0a2e3395f
Triangulate non-planar wires when invoked with --sew-shells
2017-11-27 16:27:36 +01:00
Thomas Krijnen
6463690a8b
Fix typo
2017-11-13 13:01:59 +01:00
Thomas Krijnen
148432c011
Fixes for boolean ops on recent OCCT versions
2017-11-13 12:41:37 +01:00
Thomas Krijnen
b7ce547a0c
Fill holes in composite curves, fixes #282
2017-11-08 13:27:45 +01:00
Thomas Krijnen
25d68d320d
Remove auto keyword
2017-10-06 16:01:18 +02:00
Thomas Krijnen
6c4fee1028
Color elements by material association. Reimplement reuse detection. Fix #265
2017-10-06 15:36:51 +02:00
Thomas Krijnen
688a652bc1
Fix #261
2017-09-25 14:57:49 +02:00
Thomas Krijnen
8c26037f84
Fix null dereference
2017-09-17 20:22:29 +02:00
Thomas Krijnen
96ec925f31
Spatial Querying: Implementation of BVH tree for IFC files using NCollection_UBTree ( #130 )
...
* Implementation of BVH tree for IFC files using NCollection_UBTree
* Fixes for gcc and OCCT < v6.8
* Enable BVH selection by TopoDS_Shape
* Small fixes to tree
* Merge conflicted files and other changes
* Eliminate one warning (some remain) + add tree test
2017-09-13 13:16:58 +02:00
Thomas Krijnen
f2dbf7d063
Improve composite curve error message
2017-09-09 13:29:39 +02:00
Anders Granskogen Bjørnstad
475b8554a8
Site local placement ( #240 )
...
* ifcgeom: Add placement_rel_to for convert()
Change geometry conversion in `convert()` for `ObjectPlacement` such
that we can stop the `PlacementRelTo()` recursion when we hit an
`ObjectPlacement` that places a certain type, e.g. a `IfcSite'.
Introduce a new IteratorSetting `SITE_LOCAL_PLACEMENT` which will be
exposed in `IfcConvert`.
* IfcConvert: Add --site-local-placement
Some IFC authoring tools may put the global origo at a large distance
away from the actual building geometry. Also, the global X- and Y-axes
may be at arbitrary angles with natural building axes. Using
--center-model or --model-offset may place the converted geometry closer
to origo, but will still use the global IFC definition of axis
directions. Also, in a scenario with multiple IFC files for one
construction site, using --center-model on each of them would not
generate consistent geometry across OBJ or DAE files.
Solve this by introducing --site-local-placement which will disregard
the ObjectPlacement at the IfcSite level.
2017-08-19 17:21:10 +02:00
Thomas Krijnen
ebfe8f9c54
Take into account Position is optional in IFC4 when processing layersets on slabs
2017-08-09 17:01:10 +02:00
Thomas Krijnen
132e5d5f6e
Disable log_notice message on exceeding tolerance values
2017-08-09 17:00:41 +02:00
Thomas Krijnen
fd7f6e1f26
IfcIndexedPolyCurve
2017-08-05 12:39:15 +02:00
Thomas Krijnen
aa0a6aa5d1
Fix #178
2017-08-01 16:45:11 +02:00
Thomas Krijnen
6f7afd4b2a
Build comprehensive representation id. Fix #225
2017-06-28 15:24:49 +02:00
Thomas Krijnen
23beb096a0
Remove auto keywords
2017-06-20 19:47:53 +02:00
Thomas Krijnen
101ef69ae9
Fail serialize() if one of the faces cannot be mapped to IFC (2x3)
2017-06-20 18:55:52 +02:00
Thomas Krijnen
5e0da9725a
ifcparse refactoring ( #190 )
...
Unify attribute containers, provide latebound attribute access on IfcBaseEntity, more basic tests on Travis
2017-06-05 17:26:58 +02:00
Thomas Krijnen
9a43658716
Correct verbosity check
2017-06-05 13:08:07 +02:00
Stinkfist0
273c977f66
Remove extraneous spaces in geom filter description prints.
2017-06-05 11:41:55 +02:00
Thomas Krijnen
1704862d0d
Correct test for when to reuse representation in iterator
2017-06-05 11:08:07 +02:00
Thomas Krijnen
af2799acd4
Matrix multiplication in OCC rather than boost::ublas (re #211 )
2017-05-20 19:50:10 +02:00
Thomas Krijnen
c093dc0335
Merge pull request #211 from mitmadness/feature/hierarchy
...
Represent hierarchy in Collada files
2017-05-20 19:46:56 +02:00
Balleux Benjamin
4680298bee
Clean : Remove debug logs
2017-05-16 16:34:50 +02:00
Balleux Benjamin
942d34ee39
Feature : Retrieve the full hierarchy. Fix the placement of the objects.
...
Check slab->HasObjectType before using slab->ObjectType
2017-05-16 14:27:36 +02:00
Balleux Benjamin
be3dbce9f4
feature (WIP) : retrieve full hierarchy
...
Bug : the element are not at the right location
2017-05-15 17:45:05 +02:00
Balleux Benjamin
a6ffa7fc42
Fix : fill the storey property of an Element with NULL when we don't find any IfcBuildingStorey parent
2017-05-09 14:40:23 +02:00
Thomas Krijnen
d713b7e06a
Limit retries for boolean op on OCCT 6.9 and higher
2017-05-03 12:07:10 +02:00
Thomas Krijnen
d34c3b4b20
Example for #209
2017-04-25 16:53:35 +02:00
Balleux Benjamin
ea609af394
comments added
2017-04-21 16:02:13 +02:00
Balleux Benjamin
8ac18752b2
Remove temp file
2017-04-21 15:59:54 +02:00
Balleux Benjamin
95acd4c517
Clean : remove debug lines
...
Find the floor of an element in the IfcGeomIterator class
2017-04-21 15:49:34 +02:00
Stinkfist0
2edf867818
Use boost functions for string manipulation instead of std ones in order to silence char-int conversion warnings on VS 2017.
2017-04-12 10:39:41 +02:00
Thomas Krijnen
f71ee35f57
More 'tolerant' to tolerances higher than the modeling precision
2017-04-03 14:55:34 +02:00
Stinkfist0
921e343187
Fix assertion. Closes #192
2017-03-08 09:31:51 +01:00
Stinkfist0
026b4853a2
IfcConvert: single point for IFC file parsing and potential parsing error reporting.
2017-03-04 13:54:19 +01:00
Stinkfist0
8e44290341
string_arg_filter: make sure the argument type is string
2017-03-04 13:54:19 +01:00
Stinkfist0
5d7b392415
IfcGeomIterator: use fully qualified symbol for filter_t to fix SWIT code generation + fix getObject()
2017-03-04 13:54:19 +01:00
Stinkfist0
0383221d00
IfcConvert: print information about the used filters.
2017-03-04 13:54:19 +01:00
Stinkfist0
678d422ec8
Fix errors in rebase merge.
2017-03-04 13:54:19 +01:00
Stinkfist0
eade74c919
Fix --traverse --exlucde=<entities|layers> + clean up duplicate code. filter::traverse_match: dynamic_cast instead of static_cast as the decomposing entity is not guaranteed to be IfcProduct
2017-03-04 13:54:19 +01:00
Stinkfist0
9074f25e93
Fix --exclude=arg when --traverse used also.
2017-03-04 13:54:19 +01:00
Stinkfist0
4b5790e83a
IfcConvert: minor cleanup + fix guid exclusion filter's value population.
2017-03-04 13:54:19 +01:00
Stinkfist0
d88c93a150
Cleaning up geom filters.
2017-03-04 13:54:19 +01:00
Stinkfist0
7101ac22c8
Refactor template class arg_filter into string_arg_filter instead, support for IfcProxy.Tag (untested, did not find suitable test input yet).
2017-03-04 13:54:19 +01:00