Commit Graph

9970 Commits

Author SHA1 Message Date
Andrej730 182e428452 Fixed #4259
Result of DeepDiff contain ordered sets. Also added fallback for usual sets to lists just in case, should be safe.
2024-04-16 11:28:59 +02:00
Andrej730 7d31791034 Fixed error adding a boolean
It occured if active object was IFC object and second selected object was just Blender object.
2024-04-16 11:28:59 +02:00
Andrej730 6d07a157a9 black format 2024-04-16 11:28:59 +02:00
Andrej730 cdf866dc81 Fix test Model.get_manual_booleans after we added pset to store them 2024-04-16 11:28:59 +02:00
Andrej730 5d020f36d3 Fix #4267 and add tests
Crash was caused by unmark_manual_booleans accessing boolean element after they were deleted from IFC
2024-04-16 11:28:59 +02:00
Andrej730 af593b6663 Update ui.py 2024-04-16 11:28:59 +02:00
Andrej730 1e96df4311 display active representation presentation layer in UI
example - https://i.imgur.com/mpnoqPH.png
2024-04-16 11:28:59 +02:00
Andrej730 e8055ec396 remove_representation to consider representation item's layers too
and purge layers if they are out of items as they become invalid
2024-04-16 11:28:59 +02:00
Andrej730 a4d6b2cab3 Small presentation layers UI fixes 2024-04-16 11:28:59 +02:00
Andrej730 8091b25fcd access layer assignments from inverse attribute instead of going through representation inverses 2024-04-16 11:28:59 +02:00
Andrej730 fd48196bcb test for removing representation items 2024-04-16 11:28:59 +02:00
Andrej730 de63a8086b UI to remove representation items
example - https://i.imgur.com/jJDpIQP.png
2024-04-16 11:28:59 +02:00
Andrej730 5de1dc115c tests for creating shape aspects and adding items 2024-04-16 11:28:59 +02:00
Andrej730 caa1181c02 create new shape aspects from UI
example - https://i.imgur.com/BJJZWrC.png
2024-04-16 11:28:59 +02:00
Andrej730 fcbbeffc01 edit shape aspect attributes from UI
example - https://i.imgur.com/SzUEn6r.png
2024-04-16 11:28:59 +02:00
Andrej730 fb9f830cf0 Fix #4262 after 0da3270c7 2024-04-16 11:28:59 +02:00
Andrej730 ab704aeb01 UI for changing representation item's shape aspect
Example - https://imgur.com/a/tN7hCYz
2024-04-16 11:28:59 +02:00
Andrej730 90a77d3453 geometry.remove_representation documentation 2024-04-16 11:28:59 +02:00
Andrej730 70472787bf operator to remove representation item from shape aspect 2024-04-16 11:28:59 +02:00
Andrej730 bd5c650774 Simple UI to display repr item shape aspect
Example - https://i.imgur.com/YEAE9zU.png
2024-04-16 11:28:59 +02:00
Andrej730 7cb08a93a8 BBIM to print console errors in case IFC file is failed to load 2024-04-16 11:28:59 +02:00
Andrej730 947ae02ab9 black format 2024-04-16 11:28:59 +02:00
Bruno Postle 1136ef374c IfcGit avoid leaving stray .git/config.lock files 2024-04-16 11:28:59 +02:00
Andrej730 5b0528cdbc shape builder docs 2024-04-16 11:28:59 +02:00
Andrej730 6d8de6425f shape builder polyline example and tests 2024-04-16 11:28:59 +02:00
Andrej730 8bbb4cb43b UI for changing styles for representation items
Example - https://imgur.com/a/SQh6rR2
2024-04-16 11:28:59 +02:00
Andrej730 c3ddfbdae2 fix couple building docs errors / warnings 2024-04-16 11:28:59 +02:00
Andrej730 d344923a3c shape builder docs fixes 2024-04-16 11:28:59 +02:00
Andrej730 a28e24d2f5 IFC4 Landscape Library
Created IFC library with simple trees, shrubs and hedges - with both 2d and 3d representations. Example - https://i.imgur.com/pOjh1si.png
Now it's available along with the furniture library when creating new project - https://i.imgur.com/Ho0B5Gn.png
2024-04-16 11:28:59 +02:00
Dion Moult 017b020545 See #4247. Loading models now skips excessively voided objects for performance. 2024-04-16 11:28:59 +02:00
Ryan Schultz 3a14b51fd3 Give user additional feedback when trying to duplicate an IFCproject and Drawing. Also deselects the object to prevent inadvertently moving it. 2024-04-16 11:28:59 +02:00
Dion Moult a47a9ce0ce Fix bug where merging by type when loading broke if a type didn't have a name 2024-04-16 11:28:59 +02:00
Dion Moult 187160347a Fix bug where loading filtered IFC2X3 models didn't work. 2024-04-16 11:28:58 +02:00
Dion Moult 937fd00dba Fix #2719. Indicator whether or not IFC is dirty to help users know when to save. 2024-04-16 11:28:58 +02:00
Dion Moult 1ee2913dd1 See #4241. Only use shapely to repolygonise if IfcOpenShell returns unclosed paths. Hollow cuts typically are closed paths. 2024-04-16 11:28:58 +02:00
Dion Moult 5030023b1b Fix #4239. Stop users from duplicating IfcProject. 2024-04-16 11:28:58 +02:00
Dion Moult b5261e029e Fix regression where you couldn't unlink an object that already had a broken element link, and bug where you couldn't unlink a spatial element or similar with its own collection. 2024-04-16 11:28:58 +02:00
Dion Moult 29b84078ac See #4239. Ensure that all copy pasted objects are unlinked. Use duplicate if you want to copy. 2024-04-16 11:28:58 +02:00
Dion Moult 2308538735 See 0028fd3. Fix regression when duplicating objects without connections. 2024-04-16 11:28:58 +02:00
Andrej730 8ba68d0f0b static ifcopenshell.geom.serializers and some typing for IDE code hints
code itself should work exactly the same way
2024-04-16 11:28:58 +02:00
Thomas Krijnen ce927cfe30 #4216 todo note 2024-04-16 11:28:58 +02:00
Dion Moult 7b7dece5e7 See #4240. Guard against possible user creating invalid userdefined attribute values. 2024-04-16 11:28:58 +02:00
Dion Moult 0d3901336b See #4240. Fix validation issue with perspective drawing pyramid booleans. Boolean clipping results can only be used on swept solids. 2024-04-16 11:28:58 +02:00
Dion Moult 34c6be0f02 See #4240. Fix bug where 2D arbitrary profiles were invalid IFC (used 3D point lists not 2D) 2024-04-16 11:28:58 +02:00
Dirk Olbrich 7806dc1d6a docs: include doxygen-awesome as git submodule 2024-04-16 11:28:55 +02:00
Dirk Olbrich 9f0a781d05 docs: add README with instructions 2024-04-16 11:27:33 +02:00
Dirk Olbrich 15d58e32d1 docs: modify doxygen config to new folder 2024-04-16 11:27:33 +02:00
Dirk Olbrich 03e5d767bd git: clean up gitignore 2024-04-16 11:27:33 +02:00
Dirk Olbrich 05b3a55e08 docs: move C++ API docs to subfolder 2024-04-16 11:27:33 +02:00
Dirk Olbrich b298f24275 docs: include doxygen-awesome theme 2024-04-16 11:27:31 +02:00