Commit Graph

10263 Commits

Author SHA1 Message Date
Dion Moult bd92c043e0 Fix #4427. Failures are now stored in single dictionary.
There was a missing clear() call to failed_reasons which could lead to incorrect reporting. It also makes no sense to store them separately.
2024-04-18 10:47:36 +02:00
Dion Moult ed8eb7543b Fix #4465. Update IfcTester to IDS 0.9.7 2024-04-18 10:47:36 +02:00
Andrej730 12a1f8b5f0 Fix invalid profiles after subdividing edges near arcs #4471 2024-04-18 10:47:36 +02:00
Andrej730 e9b8edb5b2 use blender units subtype for cad props 2024-04-18 10:47:36 +02:00
Andrej730 0460c5c640 typing, format 2024-04-18 10:47:36 +02:00
Thomas Krijnen f6a0d1f073 Fix #4273 ignore degenerate triangles in mesher output 2024-04-18 10:47:23 +02:00
Vukas Pajic 61af868c7a sync with latest 2024-04-18 10:45:31 +02:00
Vukas Pajic f7a97622c5 Additional metadata as property set #4425
https://github.com/IfcOpenShell/IfcOpenShell/issues/4425
2024-04-18 10:45:31 +02:00
Dion Moult 4584430a5f Minor doc fixes to refer to Mac intel and silicon 2024-04-18 10:45:31 +02:00
Dion Moult d5c2085366 Clash results now are sorted and show text overlays of clash type and distance 2024-04-18 10:45:31 +02:00
Dion Moult 36ca54f3a2 Don't consider borderline points to be inside a shape for more robust protrusion results 2024-04-18 10:45:31 +02:00
Dion Moult 4f20ebce80 Change precision check of "is point on line" to be 0.01mm
Precision::Confusion() is 1e-7 which is too small apparently when doing this math. There are plenty of results which are things like 5e-7.
2024-04-18 10:45:31 +02:00
Dion Moult a2ff97e5e7 Fix bug where hidden elements weren't selected sometimes 2024-04-18 10:45:31 +02:00
Dion Moult 0729b5782b Fix #4269. Include dateutil for ifcopenshell on pypi 2024-04-18 10:45:31 +02:00
Dion Moult 44adf92392 Bump IfcOpenShell and remove py37 py38 from installation docs 2024-04-18 10:45:31 +02:00
Andrej730 385388a331 ExtractElemenets - add some tests 2024-04-18 10:45:31 +02:00
Andrej730 c2de964dce ExtractElements - fix bug where IfcElementAssembly elements wasn't added to the spatial tree
Example issue - https://community.osarch.org/discussion/2054/bbim-extractelements-patch-and-missing-elements-in-ifcelementassembly
2024-04-18 10:45:31 +02:00
Andrej730 a37c87cf4c Fix tests involving changes in Blender 4.1 (will fail on Blender <4.1)
Basically in Blender 4.1 they've changed a way renaming IDs works if name already existed before and those tests will stop working on Blender <4.1, see https://projects.blender.org/blender/blender/issues/119955
2024-04-18 10:45:31 +02:00
Andrej730 e2b22369f1 tests - reduce precision to our usual Cad tool precision to fix some tests 2024-04-18 10:45:31 +02:00
Andrej730 bdfdac24e1 Fix test in 1c1035e
tag @brunoperdigao for information
2024-04-18 10:45:31 +02:00
Andrej730 a7ed8e4328 black format 2024-04-18 10:45:30 +02:00
Dion Moult 321fcf0848 New entourage library including people and cars 2024-04-18 10:45:30 +02:00
Thomas Krijnen 90c7a9435c Fix #4070 don't increment aggregate length on invalid members 2024-04-18 10:45:22 +02:00
Dion Moult 6875a98646 Optimise property / quantity checks for IDS and other purposes 2024-04-18 10:43:02 +02:00
Dion Moult 2c169fdc24 Forgot to commit clash tool 2024-04-18 10:43:02 +02:00
Dion Moult 94bad4c4cb Switch over clash to latest add_element signature 2024-04-18 10:43:02 +02:00
Dion Moult 3f456c14b6 Minor note about which OCCT version is currently supported 2024-04-18 10:43:02 +02:00
Dion Moult 24677683ba Write docs about new geometry tree clash functions 2024-04-18 10:43:02 +02:00
Dion Moult 8f19f6ce07 Reinclude missing max_protrusions_ 2024-04-18 10:42:35 +02:00
Thomas Krijnen ea17cd9b42 Fix is_manifold(), sorry :( 2024-04-18 10:42:35 +02:00
Thomas Krijnen 75732d1d5d Integrate @Moult's add_element(TriangulationElement*) 2024-04-18 10:42:33 +02:00
Dion Moult 23f91c73af Clash detection features 2024-04-18 10:40:32 +02:00
Thomas Krijnen 4e4b8e0de1 Resolve merge conflict 2024-04-18 10:14:42 +02:00
Thomas Krijnen 7aa7f26708 Fix #4307 2024-04-18 10:14:15 +02:00
Andrej730 4f92b3587c fix styles tests 2024-04-17 15:00:40 +02:00
Andrej730 6acdadba75 Fix tests, clean up file creating empty project
To fix tests changed bim.unlink_object not to unlink original blender materials as they might be used elsewhere.
2024-04-17 15:00:40 +02:00
Andrej730 6d6c9e19b9 restore accidentally unregistered operator in 9be7d95 (caused issue in tests) 2024-04-17 15:00:40 +02:00
Andrej730 edd8d5470e small optimization
not to calculate each quantity twice
2024-04-17 15:00:40 +02:00
Andrej730 d5384e76eb fix tests 2024-04-17 15:00:39 +02:00
Andrej730 7cfeaa6047 typing 2024-04-17 15:00:39 +02:00
Andrej730 91765d3156 fix test after 7634e71 2024-04-17 15:00:39 +02:00
Thomas Krijnen a764387b90 Don't accept non-finite floats #4329 2024-04-17 15:00:07 +02:00
Ian b40c3fc173 Update build-deps.cmd 2024-04-17 14:58:14 +02:00
Gorgious56 ac72534ae0 You can now select only the aggregate or the aggregate and all its part using the interface 2024-04-17 14:58:13 +02:00
Dion Moult 9f43e9422a Blender IfcClash interface now supports new IfcClash modes
The dumb clash manager has been merged in with the main clash sets window. Loading and saving clashes now also bring in clash results, so the dumb clash manager's load/save is being deprecated. New decorator highlights clash result visually.
2024-04-17 14:58:13 +02:00
Dion Moult 18c38b312d Upgrade IfcClash to use new clash capabilities (currently unmerged from feature-clash2) 2024-04-17 14:58:13 +02:00
Andrej730 71013a48d4 Fix hiding annotation objects without repr on drawing activation 2024-04-17 14:58:13 +02:00
Andrej730 98e0070be7 typing 2024-04-17 14:58:13 +02:00
Andrej730 9ae39f1edc fix duplicated function names in test_feature 2024-04-17 14:58:13 +02:00
Andrej730 1a449905f4 fix linked ifc selectability toggle 2024-04-17 14:58:13 +02:00