Commit Graph

782 Commits

Author SHA1 Message Date
Michael Sundqvist 063843b7f5 Catch some ifc file header exceptions to prevent crashing during xml serialization 2018-08-15 16:15:25 +02:00
Stinkfist0 abdc546663 ColladaSerializer::differentiateSlabTypes: IfcSlab.PredefinedType is optional so check for its existence.
https://github.com/Tridify/IfcOpenShell/commit/c4f426392cfc021b8a9c617f21d258759b289d6a#diff-cca49440331fb4c1363204028192c459
2018-08-15 16:09:15 +02:00
Stinkfist0 e0cde05e26 Unify GeometrySerializers' object ID logic. Fixes #397. 2018-08-15 16:09:15 +02:00
Robbe Derks 37f17b019b Added command-line option to output progress to stderr stream 2018-08-15 14:45:43 +02:00
Thomas Krijnen 5cc5174ad5 Break out of loop in case of attribute count mismatch 2018-08-10 14:57:33 +02:00
Felipe Mesquita 8a2c341027 Workaround wrong argument count. Fix #419 2018-08-10 14:55:47 +02:00
Thomas Krijnen 58d70f5a8e Fix build on gcc 2018-07-12 12:33:35 +02:00
Thomas Krijnen e65764b58d Fix for inverse update on delete 2018-07-12 11:37:23 +02:00
Victor Haefner 9c8322fb71 compiles under ubuntu 18.04 2018-06-22 17:16:11 +02:00
Thomas Krijnen 67c27161ae SetNonDestructive does not exist prior to OCCT 7.0 2018-06-15 12:39:29 +02:00
Thomas Krijnen 4f280b1334 higher fuzz on half spaces 2018-06-12 16:15:28 +02:00
Thomas Krijnen d91a9d83eb 'nondestructive' boolean ops 2018-06-12 16:15:12 +02:00
Thomas Krijnen 7f8df04b2a Set precision on fix after boolean op 2018-06-08 14:12:01 +02:00
Thomas Krijnen 3205013d20 Additional improvements for comp curve wire building 2018-06-01 15:38:08 +02:00
thorade 6ad9e78930 triple double-quoted docstring
and do not use builtin names for variables
2018-05-30 11:32:47 +02:00
Thomas Krijnen d651a5fe53 Dont fail on missing AIS_MultipleConnectedShape in earlier versions of pyocc 2018-05-17 15:54:12 +02:00
Thomas Krijnen 30efd5f512 Fixes to qt5 port of viewer app 2018-05-17 15:53:40 +02:00
civilx64 5536d97d76 Port viewer app to PyQt5 2018-05-17 00:11:09 -04:00
Yorik van Havre 019684d762 adding exception for OCCT 7.3 2018-05-16 16:10:40 +02:00
Yorik van Havre 24fc57c743 Removed one last remaining BOPCol_ListOfShapes
Replaced one last remaining BOPCol_ListOfShapes with TopTools_ListOfShapes (deprecated in OCC7.3)
2018-05-16 16:10:40 +02:00
Otso Alho 06ed79dd7c use unordered map for entity by id 2018-05-14 13:36:38 +02:00
Otso Alho ac75a6d08c do not calculate reuse_ok multiple times for mapped representations 2018-05-14 13:36:38 +02:00
Thomas Krijnen e1000e0ab2 Optimize generation of faces with large (n > 128) number of edges. 2018-05-14 11:06:07 +02:00
Thomas Krijnen d258e2583c Add include, missing depending on occt version 2018-05-13 18:52:53 +02:00
Thomas Krijnen c477a10735 Add include, missing depending on occt version 2018-05-13 16:04:15 +02:00
Thomas Krijnen f23ffa856c Proper scope around goto labels 2018-05-13 15:30:20 +02:00
Thomas Krijnen 1ef813bf51 #332 2018-05-13 14:41:39 +02:00
Thomas Krijnen 082f16006a Limit boolean fuzz to edge length 2018-05-13 09:15:06 +02:00
Thomas Krijnen 68eab4310c Fix previous commit on gcc 2018-05-13 08:45:33 +02:00
Thomas Krijnen 10c10363c2 Machine readable progress with -q and --log-format json 2018-05-12 20:12:25 +02:00
Thomas Krijnen c8646feb4c ... but keep close point removal at 10 times precision 2018-05-08 16:19:47 +02:00
Thomas Krijnen 2cd88e12a4 Reduce radius on wire intersections 2018-05-08 09:41:19 +02:00
Thomas Krijnen 9422e375ea Copy operands prior to boolean operation 2018-05-05 16:09:12 +02:00
Thomas Krijnen eb9897c341 Don't fail on parse errors while resolving inverse attributes 2018-05-04 10:25:57 +02:00
Thomas Krijnen 7d65e9522a Better instance not found error messages 2018-04-23 10:51:59 +02:00
Thomas Krijnen 84f90c8b33 TColgp_SequenceOfPnt::Upper() does not exist on all versions of occt 2018-04-18 11:57:38 +02:00
Thomas Krijnen aeb2f10abb #288 #297 2018-04-18 11:33:57 +02:00
Thomas Krijnen 1b25f1a2cc #354 loose faces in SewedShape 2018-04-11 12:26:01 +02:00
Thomas Krijnen 38b87a24cc #348 2018-03-16 11:03:02 +01:00
Thomas Krijnen cdc018c9ea #329 Only auto close IfcCompositeCurve when used for profile 2018-03-09 10:41:22 +01:00
Thomas Krijnen b9b9b9c698 Fix geometry reuse in case of IfcTypeProducts with maps 2018-02-21 14:54:38 +01:00
Anders Granskogen Bjørnstad 4dd2623728 IfcConvert: Add --building-local-placement argument
Similar to --site-local-placement. Motivated by dealing with at least
two examples where IFC files for the same construction site have
inconsistent ObjectPlacement hierarchy:

- MEP models exported from MagiCAD for Revit:
   ObjectPlacement.PlacementRelTo of IfcBuilding is empty
- Regular construction models exported from Revit:
   ObjectPlacement.PlacementRelTo of IfcBuilding is pointing to
   IfcSite's placement
2018-02-19 16:17:12 +01:00
Thomas Krijnen ecbb6922e7 Update blender addon for str geometry.id 2018-01-15 11:00:25 +01:00
stefkeB 98b12c4325 BaseQuantities support in IfcConvert XmlSerializer
Added the export of BaseQuantities in the XML export of IfcConvert.
Very similar to the export of properties.
2017-12-22 11:33:28 +01:00
Thomas Krijnen 029bdddd7d Update SvgSerializer.cpp 2017-12-19 14:58:56 +01:00
Xsoiou ed3842943a SVG storey elevation (#315)
IfcConvert SVG does not generate <path d=""> for IfcSpace. #313
2017-12-19 12:10:19 +01:00
Thomas Krijnen 2464cb3f68 optional building storey argument added to setSectionHeight() 2017-12-11 11:19:15 +01:00
Thomas Krijnen e30679a513 2d edges in svg serializer 2017-12-11 11:18:37 +01:00
tymokvo 529a0c41b5 fixed missing bracket 2017-12-06 12:20:22 +01:00
tymokvo 6a9fda6972 added some documentation/examples 2017-12-06 12:20:22 +01:00