Commit Graph

808 Commits

Author SHA1 Message Date
Thomas Krijnen e12b413d7f Check for empty bounding boxes in boolean op filter 2018-09-25 12:47:06 +02:00
Thomas Krijnen 00095028b9 No need to cast to TopoDS_Face anymore 2018-09-25 12:46:20 +02:00
Thomas Krijnen cd17419ca5 Check for empty list of boolean operands 2018-09-21 14:53:39 +02:00
Thomas Krijnen 22a117b87d Missing FindFromKey() overload on older versions of occt 2018-09-21 12:06:10 +02:00
Thomas Krijnen 7307d80001 That was bad 2018-09-21 11:45:36 +02:00
Thomas Krijnen e3569ea955 Better handling of consecutive circular arc segments 2018-09-21 11:43:06 +02:00
Thomas Krijnen 80db00b882 Work around private copy constructor on older versions of occt 2018-09-21 11:21:51 +02:00
Thomas Krijnen 33757f4d16 Fail on empty face early 2018-09-21 10:22:37 +02:00
Thomas Krijnen 37683963cc Limit tolerance on wire self-intersection to edge segment length 2018-09-21 10:22:24 +02:00
Thomas Krijnen 581444a675 Filter boolean subtraction operands by intial bounding box test 2018-09-19 16:42:34 +02:00
Unknown d44795341b Fix dll export on Windows
Fix dll export on Windows
2018-09-19 10:09:05 +02:00
Thomas Krijnen 3bf8aba54f Don't fail on empty bounding box during halfspace processing 2018-09-17 15:21:12 +02:00
Thomas Krijnen be9ffa7322 Fail early on duplicate (non consecutive) points in face loops 2018-09-17 14:59:15 +02:00
Thomas Krijnen 36739b4c78 Fixes for degenerate polylines 2018-09-17 14:42:22 +02:00
Thomas Krijnen 8fe2d7e633 Emit unopened shapes in case of exceptions during subtraction 2018-09-17 14:11:03 +02:00
Thomas Krijnen 2e81efd6be More careful face orientation check 2018-09-17 12:05:30 +02:00
Thomas Krijnen 44fab7db16 Perform additional check on boolean result output for small edges or distances 2018-09-17 12:02:41 +02:00
Thomas Krijnen 7b17131423 Retry boolean operations if output is non-manifold on manifold input 2018-09-17 12:00:49 +02:00
Thomas Krijnen e2281143c0 Fix flaw in vertex-edge distance used to limit tolerance in boolean ops 2018-09-17 11:33:40 +02:00
Thomas Krijnen d22f3c291b Don't sew overly complex geometries even as part of boolean operations #455 2018-09-12 16:44:30 +02:00
Thomas Krijnen 507b49a125 Use BVH tree for wire intersections 2018-09-12 13:26:11 +02:00
Thomas Krijnen 09c5759a9f Emit error messages on missing units 2018-09-07 14:25:46 +02:00
luz.paz 7e7da9cb1a Misc. typos
Found via `codespell -q 3`
2018-09-07 11:52:01 +02:00
Stinkfist0 aee4fe89ae IfcGeomIterator: compute model's bounding box only if needed (IfcConvert --center-model used). 2018-08-26 12:17:24 +02:00
Thomas Krijnen 14aeafe3ed Work on #426 2018-08-20 11:46:26 +02:00
Thomas Krijnen 9c25f45ca2 Fix #343 2018-08-15 17:10:29 +02:00
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