213 Commits

Author SHA1 Message Date
Thomas Krijnen e39cbc6d00 Fix ensure_fit_for_subtraction() function when input shape is a solid v0.4.0-rc2 2015-06-21 16:14:37 +00:00
Thomas Krijnen 9619543137 Update bl_info structure in blender addon 2015-02-23 19:13:47 +00:00
Thomas Krijnen ab4d3b8cad #include <xlocale.h> header on OS X 2015-02-20 22:02:22 +00:00
Thomas Krijnen 8c7346a669 Correctly cast writable enumeration attributes to string, as reported in: https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/53b70ea0 2015-02-17 22:14:09 +00:00
Thomas Krijnen 65b0f22c76 More fixes related to locales 2015-02-17 20:23:21 +00:00
Thomas Krijnen d79120dfcc Add missing #includes for OCC 6.8.0 specific #if 2015-02-06 14:20:33 +00:00
Thomas Krijnen 687cda0c4d #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 2b5f797913 Fix typo in locale code 2015-02-05 10:33:51 +00:00
Thomas Krijnen d3538cc7d4 Make real number parsing and serializing locale-independent, as suggested by Ian Clevy. 2015-02-03 13:53:36 +00:00
Thomas Krijnen 6bae80b70f Fix errors in serialization 2015-01-25 10:50:12 +00:00
Thomas Krijnen 336b07a7a2 Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. 2015-01-19 16:02:34 +00:00
Thomas Krijnen 3b157b0f3e Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. 2015-01-16 14:32:50 +00:00
Thomas Krijnen 414b761453 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 53c95db28f Fix for IfcSpecularExponent 2015-01-06 14:13:24 +00:00
Thomas Krijnen d1c91d3c47 Bump version number to 0.4.0-rc2 2015-01-06 14:10:10 +00:00
Thomas Krijnen 61d73ebfd6 Improvements for precision handling 2015-01-06 14:09:28 +00:00
Thomas Krijnen 0fd88be5a3 Catch all errors when parsing boost program_options in IfcConvert 2014-11-04 12:45:20 +00:00
Thomas Krijnen 5fdefceddd Reconstruct the form of the transformation to improve the output of the OpenCascade-based serializers 2014-11-04 12:36:59 +00:00
Thomas Krijnen d28871e7fc Don't compare smart pointers to zero, but convert to bool 2014-11-04 12:02:28 +00:00
Thomas Krijnen 33625c6422 More robust processing of IfcPolyline and IfcPolyLoop 2014-07-28 20:03:53 +00:00
Thomas Krijnen f68060f566 Fixes for IfcRectangleHollowProfileDef and filleted profile generation. 2014-07-24 11:14:54 +00:00
Thomas Krijnen dce878515e Correct an invalid default value for IfcCartesianTransformationOperator3D.Axis3. Thanks Stefan. 2014-07-19 10:30:13 +00:00
Thomas Krijnen 843f08c0a6 Remove a duplicated cartesian point from the closed polyline created by the addBox() function as seen in IfcOpenHouse. Thanks Bernd. 2014-06-28 12:39:40 +00:00
Thomas Krijnen 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
2014-06-27 12:00:41 +00:00
Thomas Krijnen 18620d29ae Apply the same precision value when merging a compound of faces into a solid just-in-time for subtraction 2014-06-11 10:35:06 +00:00
Thomas Krijnen 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. 2014-06-11 10:32:15 +00:00
Thomas Krijnen f3622f9339 Increase precision for writing floats 2014-06-11 10:24:11 +00:00
Thomas Krijnen 1be3f63d63 More fixes for parsing files with comments 2014-04-19 09:35:08 +00:00
Thomas Krijnen 6fe2e2366d Process IfcStyledItems directly applied to an IfcFacetedBrep 2014-04-09 10:57:45 +00:00
Thomas Krijnen 4242bb7c1b Account for unit magnitude in matrix translation part when CONVERT_BACK_UNITS is enabled 2014-04-08 07:28:07 +00:00
Thomas Krijnen d821324e28 When writing collada files, postfix geometry instance nodes to make them distinct from their geometry library references 2014-04-07 14:01:16 +00:00
Thomas Krijnen 1bbd08f1a4 Increased verbosity in unsupported entity instances 2014-04-02 15:28:04 +00:00
Thomas Krijnen 9a1db57f3c Fixes for parsing files with comments 2014-04-02 15:04:09 +00:00
Thomas Krijnen be8cfeeadf Measure conversion time of IfcConvert more faithfully 2014-03-31 14:03:06 +00:00
Thomas Krijnen f387090078 Take into account face location when serializing shape as tesselated faceset. 2014-03-22 21:13:02 +00:00
Thomas Krijnen 790bdee195 Correctly treat IfcLShapeProfileDef.Width as optional attribute
Fix IfcCShapeProfileDef having Width and Depth interchanged
2014-03-22 18:46:07 +00:00
Thomas Krijnen fcbcec78e9 IfcConvert: Handle invalid command line options gracefully and notify user 2014-03-22 13:12:22 +00:00
Thomas Krijnen bd02aac18a No longer accept and silently convert invalid REAL tokens to zero 2014-03-22 13:02:21 +00:00
Thomas Krijnen b6a811ae7e Handle missing or invalid unit and precision information more gracefully during IfcGeomObject initialization 2014-03-22 12:56:08 +00:00
Thomas Krijnen e24260015f For .obj conversion terminate lines with "\n" rather than std::endl causing a significant speed increase due to longer intermittently flushing the stream 2014-03-22 11:12:50 +00:00
Thomas Krijnen fa195194c6 Prevent a construction error when trying to normalize a zero length normal during triangulation, which happens very, very rarely. 2014-03-22 10:48:29 +00:00
Thomas Krijnen a5e466b53a Add missing header to installation files. Thanks Fred. 2014-03-22 09:22:27 +00:00
Thomas Krijnen 896607e535 Bump version numbers 2014-01-12 11:03:50 +00:00
Thomas Krijnen 5615c70952 IfcBlender: Assign material ids to mesh polygons rather than to derived tessellation data which is not persistent 2014-01-05 09:50:30 +00:00
Thomas Krijnen 11b877f925 Update IfcJni for updated IfcGeomObjects interface 2014-01-03 14:08:25 +00:00
Thomas Krijnen 60963acd3f Ability to use OpenCOLLADA when building from CMake 2014-01-02 15:52:20 +00:00
Thomas Krijnen 7748a6ef0f Change some auto keywords into fully qualified type names to make it easier on some of the older compilers 2014-01-02 13:57:34 +00:00
Thomas Krijnen c47a43caf7 IfcGeomObjects: No longer implicitly turn off the availability of triangulated data when USE_BREP_DATA is set. Use DISABLE_TRIANGULATION to explicitly disable the generation of triangulated data to gain performance when only OCC brep data is needed. 2014-01-02 13:33:54 +00:00
Thomas Krijnen 3fa934a056 Fix from https://github.com/yorikvanhavre/IfcOpenShell/commit/1cd23609369d4f6165648a55c39ad268af9cae33 2014-01-01 11:14:39 +00:00
Thomas Krijnen 2bd37fd088 IfcConvert: Unit names and magnitudes + cosmetic fixes 2013-12-31 14:10:38 +00:00