Andrej730
74224676cd
type.assign_type - support batching #4474
2024-04-18 10:48:24 +02:00
Andrej730
833f67cf45
aggregate.assign_object - support batching #4474
2024-04-18 10:48:23 +02:00
Andrej730
52995d1cdd
spatial.assign_container - support batching #4474
2024-04-18 10:48:22 +02:00
Andrej730
ee6c7a9fad
black format
2024-04-18 10:48:22 +02:00
Andrej730
3a9c023d33
Fix issue editing object placement that shares it's axis placement with other placements
...
If multiple object placements were reusing the same IfcAxis2Placement then editing one of them would remove IfcAxis2Placement ignoring it's inverse references making all other object placements invalid.
2024-04-16 11:38:49 +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
3008599eec
Clean up IfcIndexedColourMap removing representation #4138
...
Because we wasn't removing colour map, remove_representation was producing orphaned IfcPolygonalFaceSet that were referred by colour map.
2024-04-16 11:17:07 +02:00
Andrej730
518f054cbd
edit_object_placement optimization for objects with subchildren #4035
...
1) We were iterating over same subchildren 2 or more times.
2) There is no need to change subchildren position at all since their parent position is already adjusted.
Explained here in detail - https://github.com/IfcOpenShell/IfcOpenShell/issues/4035#issuecomment-1822824352
2024-04-16 11:05:27 +02:00
Andrej730
bc9fc0b462
Forgot to fix test after 35d66f5
2024-04-16 11:04:29 +02:00
Andrej730
3c49dd15f7
localize mathutils dependency in tests #3895
...
replaced shapebuilder with general ifcopenshell code in `test_add_boolean` (the only place besides `test_shape_builder` where it was used), that way mathutils dependency in tests is localized only to `test_shape_builder.py`.
added test-safe option to makefile, so github workflow would ignore `test_shape_builder` tests for now and it wouldn't interrupt the entire workflow
2024-04-16 11:04:28 +02:00
Andrej730
739b793cd7
test for model.get_manual_booleans() #3709
...
added test that model.get_manual_booleans will ignore IfcBooleanClippings until we find some other solution to distinguish automatic and manual clippings. And some refactor along the way.
2024-04-16 10:55:56 +02:00
Andrej730
c2013a172f
geometry.edit_object_placement was producing orphaned placements
...
It was producing orphaned IfcLocalPlacement if placement was parent to some other one. During edit_object_placement we were replacing all parent references with the new placement but wasn't removing the old one.
2024-04-16 10:24:57 +02:00
Dion Moult
cfd857233c
Fix #2864 . Fix bug where element containment was invalidly prioritised over voids and fills in relative placement.
2023-03-19 18:46:34 +11:00
Dion Moult
7ff1b8a34d
New API for connecting and disconnecting elements
2022-10-25 17:54:24 +11:00
Dion Moult
0eae3de6a2
Openings now move with the host by default. Small change, big impact.
2022-10-03 23:30:19 +11:00
Dion Moult
13a387cc73
Add support for descriptions in path connection relationships
2022-09-23 23:00:27 +10:00
Dion Moult
f93604d6b7
Implement connection aware wall L-joints
2022-09-16 18:30:57 +10:00
Dion Moult
171db4b241
Add support for connecting/disconnecting paths in API
2022-09-15 10:32:01 +10:00
Dion Moult
af1a40c913
Fix bug where if an object placement was reused elsewhere a circular reference was created
2022-08-30 20:08:50 +10:00
Dion Moult
53c050c6ed
Port locations now sync relative to their parent even when not actively displayed in the viewport
2022-05-05 18:00:42 +10:00
Dion Moult
dd7a47ab99
Texture support is now compatible with glTF texture maps
2022-02-09 11:34:59 +11:00
Dion Moult
a2c0045a40
Support relative object placements for IFC2X3 ports.
2022-02-01 18:23:55 +11:00
Dion Moult
3e10f52965
Relative placements for nested elements are now supported.
2022-02-01 17:39:55 +11:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
666e484b2b
Run black on IfcOpenShell-python.
2022-01-10 15:42:24 +11:00
Dion Moult
18719c16df
Fix bug where subelement coordinates were incorrectly calculated in non SI units
2021-11-17 16:22:23 +11:00
Dion Moult
0471f17d9a
Fix bug where removing a representation from a typed instance didn't remove all data users.
2021-11-08 21:12:38 +11:00
Dion Moult
07bee4acfa
Fix bug where adding a representation to type instances didn't ensure it was added to a geometric type
2021-11-05 15:14:10 +11:00
Dion Moult
c437ba8f9d
Assigning a parametric profile type now auto switches from non parametric geometry to parametric geometry
2021-10-21 16:28:55 +11:00
Dion Moult
58859ef8c3
Fix bug where when deleting representations it could sometimes overreach and delete geometric, style, or layer data of other elements. See #1812 .
2021-10-20 14:11:49 +11:00
Dion Moult
e17ae4ef61
Fix #1792 . Regression caused by other improvements in editing object placement.
2021-10-13 11:55:03 +11:00
Dion Moult
90e481ce2c
Optimise update owner history to speed up complex operations
2021-09-20 10:17:16 +10:00
Dion Moult
2b82eaf019
Fix bug when shifting object placements and their children. Add support for specifying placement matrixes in project units or SI units.
2021-09-17 16:54:53 +10:00