Commit Graph

  • 79817341e0 Ignore entity types earlier in IfcConvert so that representations are not processed in vain Thomas Krijnen 2015-02-05 11:55:25 +00:00
  • 2b5f797913 Fix typo in locale code Thomas Krijnen 2015-02-05 10:33:51 +00:00
  • 0124034803 Fix typo in locale code Thomas Krijnen 2015-02-04 15:31:01 +00:00
  • d3538cc7d4 Make real number parsing and serializing locale-independent, as suggested by Ian Clevy. Thomas Krijnen 2015-02-03 13:53:36 +00:00
  • 2da6f5428d Make real number parsing and serializing locale-independent, as suggested by Ian Clevy. Thomas Krijnen 2015-02-03 13:53:36 +00:00
  • 5f677baf63 Fixes #30. Thanks to Ian Clevy. Thomas Krijnen 2015-02-03 09:40:17 +00:00
  • b5f055e54b Fix repr() of ifcopenshell.geom.settings Thomas Krijnen 2015-01-29 11:34:11 +00:00
  • 4c79f713ed Make sure C++ exceptions do not crash the Python interpreter Thomas Krijnen 2015-01-26 18:11:48 +00:00
  • 6bae80b70f Fix errors in serialization Thomas Krijnen 2015-01-25 10:50:12 +00:00
  • b789839e4a Fix errors in serialization Thomas Krijnen 2015-01-25 10:50:12 +00:00
  • 23d5827229 Zero exit code when printing help and version information in IfcConvert Thomas Krijnen 2015-01-23 16:10:49 +00:00
  • f0425b16d1 Have a peek at a representation's context in the geometry wrapper as well to determine suitability for processing Thomas Krijnen 2015-01-22 10:39:48 +00:00
  • e1edda588e Properly test for the optional IfcGeometricRepresentationContext.ContextType being null in IfcGeomIterator.h Thomas Krijnen 2015-01-22 10:38:35 +00:00
  • 6c7c88d7a5 Python wrapper: enable iteration over all entities, get attribute optionality information Thomas Krijnen 2015-01-21 17:01:22 +00:00
  • 3503c8c933 Fix typo in wrapper generator Thomas Krijnen 2015-01-20 14:39:52 +00:00
  • e37b062757 python 2/3 compatibility: from functools import reduce Thomas Krijnen 2015-01-20 13:52:08 +00:00
  • 336b07a7a2 Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. Thomas Krijnen 2015-01-19 16:02:34 +00:00
  • 97b6f444d1 Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. Thomas Krijnen 2015-01-19 16:02:34 +00:00
  • 418dabaff2 Fix typo Thomas Krijnen 2015-01-18 15:32:50 +00:00
  • 7b17c2dccd Make header values writable Thomas Krijnen 2015-01-16 16:26:40 +00:00
  • 3b157b0f3e Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. Thomas Krijnen 2015-01-16 14:32:50 +00:00
  • f6f541ee3b Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. Thomas Krijnen 2015-01-16 14:32:50 +00:00
  • 414b761453 Don't rely on operator bool() but on bool operator!() for truthiness of boost::optionals. Fixes compilation with boost 1.56+. Thomas Krijnen 2015-01-16 13:24:40 +00:00
  • 09168d8910 Don't rely on operator bool() but on bool operator!() for truthiness of boost::optionals. Fixes compilation with boost 1.56+. Thomas Krijnen 2015-01-16 13:24:40 +00:00
  • e57f20f5f2 Small compilation fix Thomas Krijnen 2015-01-14 09:39:52 +00:00
  • 511e83c2c6 Shuffle around wrapper statements to fix setting arguments Thomas Krijnen 2015-01-10 23:01:52 +00:00
  • 8581fed39b Track inverse attributes more correctly Rename Size() to size() on EntityList and friends Thomas Krijnen 2015-01-10 22:13:52 +00:00
  • 1d319f7ac4 Compilation fixes and python 2 compatibility. Thanks Yorik. Thomas Krijnen 2015-01-07 10:22:55 +00:00
  • 53c95db28f Fix for IfcSpecularExponent Thomas Krijnen 2015-01-06 14:13:24 +00:00
  • d1c91d3c47 Bump version number to 0.4.0-rc2 Thomas Krijnen 2015-01-06 14:10:10 +00:00
  • 9780c047e9 Improvements for precision handling Thomas Krijnen 2015-01-06 14:09:28 +00:00
  • 61d73ebfd6 Improvements for precision handling Thomas Krijnen 2015-01-06 14:09:28 +00:00
  • 1c757c351b Fix compilation of IfcOpenHouse, move IfcGeom::tesselate back directly in IfcGeom namespace Thomas Krijnen 2015-01-06 10:19:24 +00:00
  • f3c26c372d Parse the spf header and check schema_identifiers against compiled schema Thomas Krijnen 2015-01-05 17:46:23 +00:00
  • 4d5d749255 Merge developments from the python_wrapper branch into master Thomas Krijnen 2015-01-05 14:11:42 +00:00
  • 8872affe54 Update CMake build script Thomas Krijnen 2014-12-19 12:37:31 +00:00
  • 3236218aba Compilation fixes related to previous commit Thomas Krijnen 2014-12-19 12:36:06 +00:00
  • 2a403e240d *** See: https://sourceforge.net/p/ifcopenshell/discussion/1782718/thread/6bd0f843/ *** Massive refactor of the IfcGeomObjects module, which is now the IfcGeom::Iterator class. Thomas Krijnen 2014-12-19 12:14:36 +00:00
  • 3f285ea639 Prevent another exception being thrown upon adding entity instances to a file, as reported by ch0kee Thomas Krijnen 2014-11-27 09:22:58 +00:00
  • 4c976c8b70 Track the surface style of an IfcBooleanResult Thomas Krijnen 2014-11-26 14:32:54 +00:00
  • d88d4d5951 Add support for IfcAsymmetricIShapeProfileDef Thomas Krijnen 2014-11-26 14:01:31 +00:00
  • eb815120dc Take unit information into account when applying precision. Thanks Stefan Thomas Krijnen 2014-11-26 13:08:47 +00:00
  • 7f8d84a1af Fix omitted return statement in previous commit Thomas Krijnen 2014-11-17 15:32:00 +00:00
  • ba00526e1b Update documentation for filename change python_wrapper Thomas Krijnen 2014-11-05 18:15:27 +01:00
  • 0fd88be5a3 Catch all errors when parsing boost program_options in IfcConvert Thomas Krijnen 2014-11-04 12:45:20 +00:00
  • 24044fb92a Catch all errors when parsing boost program_options in IfcConvert Thomas Krijnen 2014-11-04 12:45:20 +00:00
  • 5fdefceddd Reconstruct the form of the transformation to improve the output of the OpenCascade-based serializers Thomas Krijnen 2014-11-04 12:36:59 +00:00
  • cd366bf8c2 Reconstruct the form of the transformation to improve the output of the OpenCascade-based serializers Thomas Krijnen 2014-11-04 12:36:59 +00:00
  • d28871e7fc Don't compare smart pointers to zero, but convert to bool Thomas Krijnen 2014-11-04 12:02:28 +00:00
  • 96ce5f6b25 Don't compare smart pointers to zero, but convert to bool Thomas Krijnen 2014-11-04 12:02:28 +00:00
  • 120de2f601 Remove erroneous qualifier Thomas Krijnen 2014-11-02 18:50:12 +00:00
  • 872dd4e831 Rewrite IfcFile::AddEntity() not to rely on exceptions, as suggested by ch0kee. Thomas Krijnen 2014-11-02 18:36:51 +00:00
  • e744ba404e Renamed ifc.py to ifcopenshell.py and made it installable Yorik van Havre 2014-07-29 11:26:49 -03:00
  • 6e44683b5d Add another IfcFacetedBrep test case Thomas Krijnen 2014-07-28 20:12:52 +00:00
  • 33625c6422 More robust processing of IfcPolyline and IfcPolyLoop Thomas Krijnen 2014-07-28 20:03:53 +00:00
  • e77216d41c More robust processing of IfcPolyline and IfcPolyLoop Thomas Krijnen 2014-07-28 20:03:53 +00:00
  • eb39eeb30b Added a function to add a new entity without inserting it into the ifc file Yorik van Havre 2014-07-25 18:03:40 -03:00
  • cf2e82e8f5 Create a compsolid shape for an extrusion of a IfcCompositeProfileDef and process the opening subtraction individually Thomas Krijnen 2014-07-24 11:22:31 +00:00
  • f68060f566 Fixes for IfcRectangleHollowProfileDef and filleted profile generation. Thomas Krijnen 2014-07-24 11:14:54 +00:00
  • 9a1c7af953 Fixes for IfcRectangleHollowProfileDef and filleted profile generation. Thomas Krijnen 2014-07-24 11:14:54 +00:00
  • 286e9d183a Made ifc.py compatible with python2 Yorik van Havre 2014-07-20 12:43:10 -03:00
  • d4e4ca3a2a Add id() and is_a() functions to entity_instance class Make filename argument to open() function optional Thomas Krijnen 2014-07-19 13:57:47 +02:00
  • dce878515e Correct an invalid default value for IfcCartesianTransformationOperator3D.Axis3. Thanks Stefan. Thomas Krijnen 2014-07-19 10:30:13 +00:00
  • 5648b8d8bc Correct an invalid default value for IfcCartesianTransformationOperator3D.Axis3. Thanks Stefan. Thomas Krijnen 2014-07-19 10:30:13 +00:00
  • f7adeb9cc1 parse units and precision when a file is opened from the python interface Thomas Krijnen 2014-07-10 16:51:26 +02:00
  • 607f7bd015 Update CMakeLists for new SWIG module name Thomas Krijnen 2014-07-07 13:52:39 +02:00
  • bd00d3287e Add missing #include Thomas Krijnen 2014-07-07 13:42:00 +02:00
  • 1837b79ac3 Add faceted_brep_csg test case Thomas Krijnen 2014-07-06 14:38:48 +00:00
  • e6aa449ef8 Accept IfcBooleanResult operands that convert to set of shapes in IfcOpenShell rather than a single shape (i.e IfcShellBasedSurfaceModel, IfcFaceBasedSurfaceModel, IfcFacetedBrep, IfcGeometricSet) Thomas Krijnen 2014-07-06 14:21:56 +00:00
  • f674493843 Fixed retrieving attributes derived in subtype Convert argument type enumeration to python string Add ability to iterate over all instances from python Thomas Krijnen 2014-07-04 16:37:21 +02:00
  • dbc60bedd6 Update install directives in cmake script for wrapper Thomas Krijnen 2014-07-04 14:10:35 +02:00
  • f7f949b37b Qualify typename rather than 'auto' keyword Thomas Krijnen 2014-07-02 11:53:44 +02:00
  • 31ca1ac1b5 IfcConvert segfaults #12 Thomas Krijnen 2014-07-02 11:53:03 +02:00
  • 843f08c0a6 Remove a duplicated cartesian point from the closed polyline created by the addBox() function as seen in IfcOpenHouse. Thanks Bernd. Thomas Krijnen 2014-06-28 12:39:40 +00:00
  • aa1ff90241 Remove a duplicated cartesian point from the closed polyline created by the addBox() function as seen in IfcOpenHouse. Thanks Bernd. Thomas Krijnen 2014-06-28 12:39:40 +00:00
  • 99d83fce42 Update README.md Ivano Ras 2014-06-27 15:11:27 +02:00
  • 1c39eba3f7 Fix typo Thomas Krijnen 2014-06-27 12:24:49 +00:00
  • 577565a494 - Check the validity of solids created from sewed shells and potentially revert to a shell or compound of faces - Flag shape representations, for which no item succeeds, as failed Thomas Krijnen 2014-06-27 12:00:41 +00:00
  • 92c5bb637b - Check the validity of solids created from sewed shells and potentially revert to a shell or compound of faces - Flag shape representations, for which no item succeeds, as failed Thomas Krijnen 2014-06-27 12:00:41 +00:00
  • 4158424c25 Wrap values of attributes that return entity instances Thomas Krijnen 2014-06-26 15:13:11 +02:00
  • 1d8616883c Missing file for more idiomatic wrapper wrapper Thomas Krijnen 2014-06-21 19:02:51 +02:00
  • 8851641d94 Add more idiomatic wrapper wrapper Thomas Krijnen 2014-06-20 14:18:29 +02:00
  • 0a7b1dd7f4 Merge pull request #13 from iras/patch-1 Thomas Krijnen 2014-06-26 16:52:13 +02:00
  • 18620d29ae Apply the same precision value when merging a compound of faces into a solid just-in-time for subtraction Thomas Krijnen 2014-06-11 10:35:06 +00:00
  • 79839d487a Detect cases where Newell's Method returns a zero-length vector and make no attempt to normalize it in order to prevent an exception. In this case the face will be flagged as invalid down the road, because its perimeter doesn't span any area. Thomas Krijnen 2014-06-11 10:32:15 +00:00
  • d45056f9c5 Increase precision for writing floats Thomas Krijnen 2014-06-11 10:24:11 +00:00
  • f3622f9339 Increase precision for writing floats Thomas Krijnen 2014-06-11 10:24:11 +00:00
  • 83b6ce9083 Apply the same precision value when merging a compound of faces into a solid just-in-time for subtraction Thomas Krijnen 2014-06-09 12:56:47 +00:00
  • bb2a983a00 Expose the option to sew shells from connected face sets Thomas Krijnen 2014-06-08 19:32:25 +02:00
  • 81292f1adc Detect cases where Newell's Method returns a zero-length vector and make no attempt to normalize it in order to prevent an exception. In this case the face will be flagged as invalid down the road, because its perimeter doesn't span any area. Thomas Krijnen 2014-06-07 17:49:21 +00:00
  • 604358b48e Increase precision for writing floats Thomas Krijnen 2014-06-07 14:28:30 +02:00
  • 68e60f0586 Fix serialization of simple type attributes Thomas Krijnen 2014-06-07 11:47:26 +02:00
  • e4f141b107 Fixes for inverse attributes Thomas Krijnen 2014-06-03 18:50:29 +02:00
  • fe172672e9 Add function to retrieve inverse attributes from Python Thomas Krijnen 2014-06-03 16:33:38 +02:00
  • 49e4ff31ca Fix header of IfcReinforcingBar.ifc Thomas Krijnen 2014-05-14 09:01:33 +00:00
  • 7066337449 Update IfcParseExamples Thomas Krijnen 2014-05-12 13:56:41 +00:00
  • 948d7675f0 - Take better care of inverse cardinalities and respect more CoordinationView agreements in IfcOpenHouse - Track inverse relationships in an IfcWrite context as well - Fix for lists of SELECT types Thomas Krijnen 2014-05-05 16:17:28 +00:00
  • 1b54ba039d - Add support for IFC4 nurbs surfaces (IfcBSplineSurfaceWithKnots and IfcAdvancedFace) - Remove unnecessary typedefs Thomas Krijnen 2014-05-04 14:42:55 +00:00
  • e87b8988cd Add Test Files from http://www.buildingsmart-tech.org/ifc/IFC4/final/html/annex/annex-e/ifc/ Thomas Krijnen 2014-04-30 14:14:05 +00:00
  • 1be3f63d63 More fixes for parsing files with comments Thomas Krijnen 2014-04-19 09:35:08 +00:00