Commit Graph

175 Commits

Author SHA1 Message Date
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 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 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 bbf80bedaa Make .dae support in IfcConvert using OpenCOLLADA optional 2013-11-22 08:23:11 +00:00
Thomas Krijnen 03beb42d2e Cosmetic changes 2013-08-12 00:26:15 +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
Thomas Krijnen 14a3f80c59 Correct a regression in matrix multiplication order 2013-07-20 22:12:40 +00:00
Thomas Krijnen 063f498066 Additional compatibility for std::tr1::array 2013-07-20 22:00:12 +00:00
Thomas Krijnen 2e0e5862f6 Fix for empty material list in the ColladaSerializer 2013-07-20 21:43:08 +00:00
Thomas Krijnen d6693ff931 Representation surface style initialization fix submitted by ckimmig 2013-07-20 21:41:26 +00:00
Thomas Krijnen 17ebefa158 Fix a bug in the processing of an IfcTrimmedCurve with an IfcLine as a basis constructed from an IfcVector with non-unit length. 2013-06-10 15:47:41 +00:00
Thomas Krijnen 12a0571bf4 Prefix array with tr1 to accomodate older compilers 2013-05-13 07:12:42 +00:00
Thomas Krijnen 1d1fd49608 Added missing files 2013-05-13 06:40:30 +00:00
Thomas Krijnen 259cfa895e Support for styled items in the Blender addon and make use of material indices 2013-05-11 17:14:47 +00:00
Thomas Krijnen 3f048efc79 Add an adapter for IfcGeom::SurfaceStyle so that IfcGeomObjects (and most notably the Python wrapper) need not to be aware of boost::optional
Expose shading and rendering styles to the Python wrapper as well
2013-05-11 15:26:35 +00:00
Thomas Krijnen dccbccfa06 A limited attempt at some const correctness in the IfcGeomObjects interface 2013-05-11 10:03:20 +00:00
Thomas Krijnen 80bc1b5dab [Work in progress] Start adding support for IfcSurfaceStyleShading and -Rendering 2013-05-05 08:49:25 +00:00
Thomas Krijnen 5d4ff0b54a First push of a more all-round geometrical file conversion utility 2013-03-24 10:48:39 +00:00
Thomas Krijnen 852cb7d8c4 Fix 3ds max API version detection 2013-01-13 12:01:20 +00:00