Thomas Krijnen
f2dbf7d063
Improve composite curve error message
2017-09-09 13:29:39 +02:00
Thomas Krijnen
49e5f2944c
Rebuild generated source files
2017-09-08 17:26:24 +02:00
youaresoomean
fae9661efd
Update IfcParse.h ( #256 )
2017-09-08 17:18:11 +02:00
youaresoomean
b90b39a894
Update templates.py
2017-09-08 17:17:50 +02:00
Stinkfist0
c7c5e692d3
IfcConvert --version: print also OCC version.
2017-08-27 16:11:54 +02:00
Stinkfist0
93c2ca6267
CMakeLists.txt: Add ws2_32.lib to OPENCASCADE_LIBRARIES on Win32 as OCCT might require this depending on the used version and build configuration. Closes #250 .
2017-08-27 16:11:54 +02:00
Thomas Krijnen
430ab54602
ifcopenshell.file.from_string()
2017-08-22 10:16:07 +02:00
Luke Brooks
08522c9fd7
ifcopenshell.file.from_string() ( #246 )
2017-08-22 10:15:02 +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
7bea054c1e
get_log in python
2017-08-19 16:54:06 +02:00
Thomas Krijnen
490c35bf60
Fix #244 and provide instances by entity type without subtypes
2017-08-16 21:46:39 +02:00
Stinkfist0
b019ff6aed
build-deps.cmd: fix URL for Git download (TortoiseGit doesn't contain Git)
2017-08-16 14:12:12 +02:00
Thomas Krijnen
4c6ca83528
Add option to build with OCCT 7.1 in nix build script
2017-08-13 13:13:26 +02:00
Thomas Krijnen
9ba5e8fd88
Add win build script occt patches
2017-08-12 10:53:28 +02:00
Thomas Krijnen
2e36793af2
win build script OCCT 7.1.0
2017-08-12 10:29:23 +02:00
Thomas Krijnen
e3d2621ea9
Alternative for CTRL+C in win build script
2017-08-12 10:28:05 +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
62794d4b07
Unused variable warning
2017-08-09 12:55:03 +02:00
Thomas Krijnen
fd7f6e1f26
IfcIndexedPolyCurve
2017-08-05 12:39:15 +02:00
Thomas Krijnen
b00acd3f67
only convert length unit if units are present in both files
2017-08-04 16:31:34 +02:00
Thomas Krijnen
f12d8eeaa6
by_guid() and unicode in py2
2017-08-04 16:31:10 +02:00
Thomas Krijnen
85524170dd
More advanced entity_instance.get_info()
2017-08-04 16:30:43 +02:00
Thomas Krijnen
c67de4bbb3
Mark attributes as 'derived in supertype' also in getArgumentType()
2017-08-04 16:29:26 +02:00
Thomas Krijnen
36c52b3bea
Update tests
2017-08-02 16:09:20 +02:00
Thomas Krijnen
ceff8a8822
Fixes for IfcEntityInstanceData copy construction
2017-08-02 16:09:01 +02:00
Thomas Krijnen
a58f23fae2
Missing introspection methods in Python
2017-08-02 16:08:07 +02:00
Thomas Krijnen
b696df0da1
Missing semicolons in header
2017-08-02 16:07:30 +02:00
Thomas Krijnen
94224411a9
Recursive get_info()
2017-08-02 16:06:27 +02:00
Thomas Krijnen
5c7e7cab1a
Raise IndexError
2017-08-02 16:05:56 +02:00
Thomas Krijnen
29323e4f74
Fix recursion in traverse()
2017-08-01 19:07:46 +02:00
Thomas Krijnen
aa0a6aa5d1
Fix #178
2017-08-01 16:45:11 +02:00
Thomas Krijnen
d10efe69cd
Fix typo in test
2017-07-27 15:53:06 +02:00
Thomas Krijnen
fb1fed247e
Fix #243
2017-07-27 10:21:37 +02:00
Thomas Krijnen
59d7e0cad3
nix build script: fix compilation of boost.iostreams, disable USE_MMAP
2017-07-25 16:27:13 +02:00
Thomas Krijnen
ae0afe2c0a
mmap #22
2017-07-25 16:27:13 +02:00
Thomas Krijnen
3edb057178
Bring back id() to python wrapper. Fixes #241
2017-07-17 18:10:28 +02:00
Thomas Krijnen
04e3018f3c
Use default logger
2017-07-17 18:09:49 +02:00
Thomas Krijnen
f81616a6fb
Narrow and wide unicode builds in nix build script
2017-07-03 20:42:18 +02:00
Thomas Krijnen
f58539d6d8
Construct not only allocate token buffer
2017-07-03 20:39:40 +02:00
Thomas Krijnen
90bdf03f54
Disable exception
2017-07-03 16:38:04 +02:00
Thomas Krijnen
6e87a21806
Ignore some methods in wrapper to fix build
2017-07-03 15:43:56 +02:00
Thomas Krijnen
d94eb9a96e
IfcMaterialList in XML output
2017-07-03 15:18:07 +02:00
Thomas Krijnen
ac5800326b
Fix compilation on gcc
2017-07-03 14:42:08 +02:00
Thomas Krijnen
901ef57d60
Fix #180
2017-07-03 14:18:56 +02:00
Thomas Krijnen
b604e5cf99
Fix #204
2017-07-02 19:57:10 +02:00
Thomas Krijnen
1e79eb535a
Build comprehensive representation id. Fix #225
2017-06-28 15:59:03 +02:00
Thomas Krijnen
6f7afd4b2a
Build comprehensive representation id. Fix #225
2017-06-28 15:24:49 +02:00
Thomas Krijnen
a90936a7de
Properly initialize parsed simple types
2017-06-24 21:35:38 +02:00
Thomas Krijnen
7c1cf6ebd0
Fix #233
2017-06-24 13:36:26 +02:00