Commit Graph

270 Commits

Author SHA1 Message Date
Thomas Krijnen b5c9de8d64 Changes related to r312 2015-02-17 20:36:23 +00:00
Thomas Krijnen 5fe4cfab63 More fixes related to locales 2015-02-17 20:23:21 +00:00
Thomas Krijnen b3e5264aa9 WARNING: more function renames 2015-02-17 20:07:09 +00:00
Thomas Krijnen e3d5b6220d Rename AddEntity to addEntity 2015-02-17 19:55:27 +00:00
Thomas Krijnen 846e881cf4 Update build files 2015-02-17 19:52:18 +00:00
Thomas Krijnen ee87466521 1) Implement a breadth-first traversal of forward references 2) implement entity instance deletion from a file 3) recursively copy entity instances to another file 2015-02-17 19:48:41 +00:00
Thomas Krijnen def1328a91 Some more checks and fixes in the IfcBooleanResult code. Most notably set the result to FirstOperand in case healing the result fails. 2015-02-06 17:14:05 +00:00
Thomas Krijnen a7c0c08725 Remove macro redefinition warning 2015-02-06 15:56:07 +00:00
Thomas Krijnen 63e9b706c1 Add missing #includes for OCC 6.8.0 specific #if 2015-02-06 14:20:33 +00:00
Thomas Krijnen 16d400e192 Stricter template syntax in latest commit 2015-02-06 13:37:50 +00:00
Thomas Krijnen 3801e52bff Add an XML serializer (NB: Not ifcXML / 10303-28) that describes property set data, decomposition relations and SPF header fields 2015-02-06 13:07:50 +00:00
Thomas Krijnen c597404dfe Increase the severity of the 'different schema' message 2015-02-06 12:59:36 +00:00
Thomas Krijnen 47b9ed4482 Add a cast in templated list conversion 2015-02-06 12:58:59 +00:00
Thomas Krijnen d23dee551c #ifdef away the two trailing precision arguments for gp_Trsf::SetValues() when OCC >= 6.8.0 2015-02-06 12:49:53 +00:00
Thomas Krijnen 79817341e0 Ignore entity types earlier in IfcConvert so that representations are not processed in vain 2015-02-05 11:55:25 +00:00
Thomas Krijnen 0124034803 Fix typo in locale code 2015-02-04 15:31:01 +00:00
Thomas Krijnen 2da6f5428d Make real number parsing and serializing locale-independent, as suggested by Ian Clevy. 2015-02-03 13:53:36 +00:00
Thomas Krijnen 5f677baf63 Fixes #30. Thanks to Ian Clevy. 2015-02-03 09:40:17 +00:00
Thomas Krijnen b5f055e54b Fix repr() of ifcopenshell.geom.settings 2015-01-29 11:34:11 +00:00
Thomas Krijnen 4c79f713ed Make sure C++ exceptions do not crash the Python interpreter 2015-01-26 18:11:48 +00:00
Thomas Krijnen b789839e4a Fix errors in serialization 2015-01-25 10:50:12 +00:00
Thomas Krijnen 23d5827229 Zero exit code when printing help and version information in IfcConvert 2015-01-23 16:10:49 +00:00
Thomas Krijnen f0425b16d1 Have a peek at a representation's context in the geometry wrapper as well to determine suitability for processing 2015-01-22 10:39:48 +00:00
Thomas Krijnen e1edda588e Properly test for the optional IfcGeometricRepresentationContext.ContextType being null in IfcGeomIterator.h 2015-01-22 10:38:35 +00:00
Thomas Krijnen 6c7c88d7a5 Python wrapper: enable iteration over all entities, get attribute optionality information 2015-01-21 17:01:22 +00:00
Thomas Krijnen 3503c8c933 Fix typo in wrapper generator 2015-01-20 14:39:52 +00:00
Thomas Krijnen e37b062757 python 2/3 compatibility: from functools import reduce 2015-01-20 13:52:08 +00:00
Thomas Krijnen 97b6f444d1 Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. 2015-01-19 16:02:34 +00:00
Thomas Krijnen 418dabaff2 Fix typo 2015-01-18 15:32:50 +00:00
Thomas Krijnen 7b17c2dccd Make header values writable 2015-01-16 16:26:40 +00:00
Thomas Krijnen f6f541ee3b Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. 2015-01-16 14:32:50 +00:00
Thomas Krijnen 09168d8910 Don't rely on operator bool() but on bool operator!() for truthiness of boost::optionals. Fixes compilation with boost 1.56+. 2015-01-16 13:24:40 +00:00
Thomas Krijnen e57f20f5f2 Small compilation fix 2015-01-14 09:39:52 +00:00
Thomas Krijnen 511e83c2c6 Shuffle around wrapper statements to fix setting arguments 2015-01-10 23:01:52 +00:00
Thomas Krijnen 8581fed39b Track inverse attributes more correctly
Rename Size() to size() on EntityList and friends
2015-01-10 22:13:52 +00:00
Thomas Krijnen 1d319f7ac4 Compilation fixes and python 2 compatibility. Thanks Yorik. 2015-01-07 10:22:55 +00:00
Thomas Krijnen 9780c047e9 Improvements for precision handling 2015-01-06 14:09:28 +00:00
Thomas Krijnen 1c757c351b Fix compilation of IfcOpenHouse, move IfcGeom::tesselate back directly in IfcGeom namespace 2015-01-06 10:19:24 +00:00
Thomas Krijnen f3c26c372d Parse the spf header and check schema_identifiers against compiled schema 2015-01-05 17:46:23 +00:00
Thomas Krijnen 4d5d749255 Merge developments from the python_wrapper branch into master 2015-01-05 14:11:42 +00:00
Thomas Krijnen 8872affe54 Update CMake build script 2014-12-19 12:37:31 +00:00
Thomas Krijnen 3236218aba Compilation fixes related to previous commit 2014-12-19 12:36:06 +00:00
Thomas Krijnen 2a403e240d *** See: https://sourceforge.net/p/ifcopenshell/discussion/1782718/thread/6bd0f843/ ***
Massive refactor of the IfcGeomObjects module, which is now the IfcGeom::Iterator class.
2014-12-19 12:14:36 +00:00
Thomas Krijnen 3f285ea639 Prevent another exception being thrown upon adding entity instances to a file, as reported by ch0kee 2014-11-27 09:22:58 +00:00
Thomas Krijnen 4c976c8b70 Track the surface style of an IfcBooleanResult 2014-11-26 14:32:54 +00:00
Thomas Krijnen d88d4d5951 Add support for IfcAsymmetricIShapeProfileDef 2014-11-26 14:01:31 +00:00
Thomas Krijnen eb815120dc Take unit information into account when applying precision. Thanks Stefan 2014-11-26 13:08:47 +00:00
Thomas Krijnen 7f8d84a1af Fix omitted return statement in previous commit 2014-11-17 15:32:00 +00:00
Thomas Krijnen 24044fb92a Catch all errors when parsing boost program_options in IfcConvert 2014-11-04 12:45:20 +00:00
Thomas Krijnen cd366bf8c2 Reconstruct the form of the transformation to improve the output of the OpenCascade-based serializers 2014-11-04 12:36:59 +00:00