Thomas Krijnen
175387bd88
Fix IfcOpenHouse
2018-08-13 11:43:28 +02:00
Thomas Krijnen
d105292817
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeomFilter.h
# src/ifcgeom/IfcGeomIteratorImplementation.h
# src/ifcgeom/IfcGeomWires.cpp
# src/ifcparse/IfcFile.h
# src/ifcparse/IfcLogger.cpp
# src/ifcparse/IfcLogger.h
# src/ifcparse/IfcParse.cpp
# src/serializers/SvgSerializer.cpp
# src/serializers/schema_dependent/XmlSerializer.cpp
2018-07-07 17:15:54 +02:00
Thomas Krijnen
161f24d804
Copy operands prior to boolean operation
2018-05-05 16:09:12 +02:00
Thomas Krijnen
6ee283dbae
Don't fail on parse errors while resolving inverse attributes
2018-05-04 10:25:57 +02:00
Thomas Krijnen
c748c8dcea
Better instance not found error messages
2018-04-23 10:51:59 +02:00
Thomas Krijnen
dbf9f213fd
Dont fail on adding length measure instances to empty files
2018-04-04 14:40:10 +02:00
Thomas Krijnen
77e0d9cca7
Freeing of lazily loaded inst attrs
2018-03-21 17:29:37 +01:00
Thomas Krijnen
0cbe984c71
Default to 2x3 for older schemas
2018-03-21 17:18:38 +01:00
Thomas Krijnen
af93f2a64d
Use naked pointer for attribute list and derive size from schema type to reduce mem usage
2018-01-29 12:11:50 +01:00
Thomas Krijnen
e2f79ec1ba
Work on python wrapper
2017-12-31 12:20:13 +01:00
Thomas Krijnen
7b3d334472
Warnings and errors
2017-12-29 12:09:07 +01:00
Thomas Krijnen
4d325e026e
Fix compilation and execution of IfcConvert
2017-12-21 14:14:04 +01:00
Thomas Krijnen
a792a7e2c7
Two simultaneous IfcGeom implementations
2017-12-18 15:25:09 +01:00
Thomas Krijnen
5eba7af791
Use struct instead of namespace to represent schema
2017-12-13 18:05:10 +01:00
Thomas Krijnen
761e9d7248
Continuing.
2017-12-13 13:58:58 +01:00
Thomas Krijnen
85515e904e
Begin phasing out type enumeration in favour of declaration pointers
2017-12-13 13:16:49 +01:00
Thomas Krijnen
33fc2080df
Runtime schema by name
2017-12-12 11:00:42 +01:00
Thomas Krijnen
33e1fa6a14
Update python wrapper
2017-12-11 17:20:22 +01:00
Thomas Krijnen
e7ccf7269a
Remove limited latebound schema representation in favour of full runtime schema representation
2017-12-11 15:46:57 +01:00
Thomas Krijnen
0468f12051
Address conflicts in ifcparse
2017-12-11 14:47:30 +01:00
Thomas Krijnen
3763ae18b2
Rough merge of schema runtime representation
2017-12-11 13:43:06 +01:00
Thomas Krijnen
095801faa1
Fix warning
2017-10-23 13:47:37 +02:00
Thomas Krijnen
07954122fb
Fix #275
2017-10-23 13:32:57 +02:00
elmir
f6645b19ef
don't assign ID to Simple types
...
When adding entities, don't assign ID to Simple types.
Otherwise that type will be serialized incorrectly.
This fixes the issue with IFCPLANEANGLEMEASURE being serilzed
incorrectly when used as attribute to IFCMEASUREWITHUNIT.
With ID assigned, it will look like this:
#10=IFCMEASUREWITHUNIT(#9=IFCPLANEANGLEMEASURE(0.017453293),#8);
The correct way to serialze is:
#10=IFCMEASUREWITHUNIT(IFCPLANEANGLEMEASURE(0.017453293),#8);
2017-09-09 14:00:57 +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
Thomas Krijnen
490c35bf60
Fix #244 and provide instances by entity type without subtypes
2017-08-16 21:46:39 +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
ceff8a8822
Fixes for IfcEntityInstanceData copy construction
2017-08-02 16:09:01 +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
ae0afe2c0a
mmap #22
2017-07-25 16:27:13 +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
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
a90936a7de
Properly initialize parsed simple types
2017-06-24 21:35:38 +02:00
Thomas Krijnen
1e8b1d9c9c
traverse() as a global function rather than method on IfcFile
2017-06-20 18:54:30 +02:00
Thomas Krijnen
c25cff6bad
Correct setting attributes on lazily loaded instances
2017-06-15 14:12:03 +02:00
Thomas Krijnen
48a61219f7
Fix #228
2017-06-14 12:42:38 +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
Stinkfist0
f3f4c41f8d
IfcConvert: add --no-progress option to suppress possible progress bar type of prints that use carriage return.
2017-06-05 11:41:55 +02:00
Thomas Krijnen
033075f809
Fix #208
2017-04-25 16:37:50 +02:00
Stinkfist0
3275119d1d
TokenFunc::asStringRef: protect against null token.
2017-03-04 13:54:19 +01:00
Thomas Krijnen
e8ae491dc3
Type hint from schema when encountering empty aggregate. Fixes #127
2016-11-08 17:24:08 +01:00
Thomas Krijnen
fd4086aa8d
Report errors in string escape sequences more verbosely
2016-07-19 16:41:36 +02:00
Ali Kämäräinen
4a85e5e7a5
MSYS build scripts and instructions ( #99 ) and warning fixes
...
* Preliminary MSYS2 + MinGW build scripts and instructions.
* CMakeLists.txt: MinGW tweaks, enforce C++03, suppress warnings for now.
* Fix some GCC warnings.
* Fix unused parameter warnings coming from Ifc*.h.
* Fix warning regarding unreachable code (++jt) on MSVC.
* Add IfcParse_EXPORT for IfcInvalidTokenException
* Fix potentially uninitialized pointer variables.
* Note about OpenCASCADE cyclic dependencies fix.
* GCC warning fix: don't generate 'current_enum' variable that is only set and not used for anything ever
* Work around -Wmaybe-uninitialized warnings about boost::optional constructs. Also prevent passing of negative values for --bounds.
* Remove unused variable.
* CMakeLists.txt: ENABLE_BUILD_OPTIMIZATIONS for GCC (simply enforce -03)
2016-07-15 05:49:32 +02:00
Thomas Krijnen
90ad3a4a93
Merge pull request #97 from aothms/dynamic_lib_fixes_2
...
Dynamic lib fixes
2016-06-22 14:57:16 +02:00
Thomas Krijnen
62a0f21a57
Fix #94
2016-06-20 11:34:13 +02:00
Johannes Obermayr
ea6fbc77dd
Bring back logic for BUILD_SHARED_LIBS.
...
Also remove C++11 code.
2016-06-14 20:30:02 +02:00