Commit Graph

196 Commits

Author SHA1 Message Date
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
Thomas Krijnen 6b2dc3683a IfcConvert: Propagate all settings from the command line to the IfcGeomObjects kernel 2013-12-27 09:39:20 +00:00
Thomas Krijnen 8653e59403 Cosmetic changes to IfcConvert 2013-12-27 09:37:51 +00:00
Thomas Krijnen 586ad14013 #28 USE_BREP_DATA setting does not respect CONVERT_BACK_UNITS setting 2013-12-27 09:36:14 +00:00
Thomas Krijnen 3c2cf1bb08 Fix for Collada export of transparency and material libraries 2013-12-27 09:33:57 +00:00
Thomas Krijnen 71b173a494 IfcOpenHouse: Don't use a single opening element to create multiple openings 2013-12-13 10:41:22 +00:00
Jang Myeongho 06958a02a4 Fix cmake install scripts.
- fix renamed file: "IfcShapeList.h" -> "IfcRepresentationShapeItem.h"
 - IfcImport target object file.
2013-12-11 03:17:05 +00:00
Thomas Krijnen 30804b4232 Support for surface styles, Multi/Sub-Object materials and material indices in the 3ds max importer 2013-12-08 09:45:14 +00:00
Thomas Krijnen 0f088f02b3 Improvements to Wavefront OBJ serialization, patch by Ivano Ras 2013-11-27 09:13:18 +00:00
Thomas Krijnen 9577778573 Fix for gcc thanks to Ivano Ras 2013-11-25 21:20:07 +00:00
Thomas Krijnen bffb19a92f Use the precision from the IfcGeometricRepresentationContext to dictate OCC modeler tolerances 2013-11-24 15:44:27 +00:00
Thomas Krijnen 0f53a877c7 Add file to test case execution 2013-11-24 14:51:04 +00:00
Thomas Krijnen bbf80bedaa Make .dae support in IfcConvert using OpenCOLLADA optional 2013-11-22 08:23:11 +00:00
Thomas Krijnen eb433ff8e2 Link to Boost.Program_options library from CMake 2013-11-22 08:04:32 +00:00
Thomas Krijnen 03beb42d2e Cosmetic changes 2013-08-12 00:26:15 +00:00
Thomas Krijnen 714bf5eb8d Add revit2014_multiple_bounded_halfspaces.ifc test file 2013-08-11 21:43:18 +00:00
Thomas Krijnen b4059cc340 Tweak processing of IfcBooleanClippingResult and IfcPolygonalBoundedHalfSpace 2013-08-09 05:13:02 +00:00
Thomas Krijnen 27962701b9 Use boost::variant for writable arguments in the IFC serializer 2013-08-04 04:49:08 +00:00