Boris Brangeon
b2c5153c1c
Add IsGroupedBy in function get_decomposition ( #2513 )
...
* Add IsGroupedBy in function get_decomposition
selector example : "@ .IfcZone & .IfcSpace"
* Update element.py
* Change name function get_group
get_group to get_grouped_by
2022-10-19 18:48:55 +11:00
Dion Moult
232252f61d
Copy deep can now exclude things, useful for copying representation graphs where you don't want to duplicate the context
2022-10-09 17:15:39 +11:00
Dion Moult
4110b81270
Decomposition mode now selects all children (not parenting) to move a host and all children easily
2022-10-08 23:42:03 +11:00
Dion Moult
171db4b241
Add support for connecting/disconnecting paths in API
2022-09-15 10:32:01 +10:00
Dion Moult
91fac6d4bd
Add IfcTester support and test cases for bounded, table, and reference props
2022-09-12 22:35:05 +10:00
Dion Moult
c7c59d9496
IfcTester now supports list and enumerated properties
2022-09-12 21:34:06 +10:00
Dion Moult
451512ddff
#1812 Add batching support for remove_deep2 for faster removals
2022-08-30 20:08:03 +10:00
Dion Moult
f50e790b11
Minor fix
2022-08-22 17:02:05 +10:00
Dion Moult
520e7653e4
#1375 #2317 add API support for referencing in spatial structures
2022-08-19 18:43:39 +10:00
Sigma Dimensions
d3795c9836
Documentation for ifcopenshell.util.element
2022-08-15 19:40:51 +01:00
Vukas Pajic
5b77001568
updated according to comments
2022-06-29 17:23:27 +10:00
Vukas Pajic
1f4022a41b
fix error from util/element.py
2022-06-29 17:23:27 +10:00
Vukas Pajic
c8c9262090
initial commit
...
-Added support for adding and editing enums
-changed behaviour of template psets that have enums.
2022-06-29 17:23:27 +10:00
Dion Moult
1ec0e1ce19
Fix bug with displaying inherited psets by accident.
2022-06-08 09:07:22 +10:00
Dion Moult
4c4846bc8f
Support userdefined process types in util module
2022-05-31 16:23:13 +10:00
Dion Moult
4da5a38237
Implement IDS material null checks, inheritance checks, and set item checks
2022-05-12 12:06:23 +10:00
Dion Moult
eb3e137a6e
#2196 Get psets now handleds inheritance by default
2022-05-11 09:18:23 +10:00
Dion Moult
93fd3f97e3
#2111 New feature to select by style and see style usage
2022-05-08 18:03:18 +10:00
Dion Moult
9fc0baf175
#1153 Add support for IfcAnnotationFillArea representation
2022-04-18 10:27:20 +10:00
Dion Moult
9b9f0058f9
The material manager now shows total elements used by a material
2022-03-22 12:50:10 +11:00
Gorgious56
098ab2c237
Spatial Elements Utilities and QOL ( #2008 )
...
* Tool to add storey to specific building
* Operator to add new storey to building
* Add new storey to building button in aggregates panel
* Minor fix
* add method to data class to retrieve ifc class name
* Extract aggregate creation logic
* Prevent aggregating non-ifc elements + display popup info
* Add tooltips + rename operators
* Rename function to get relating object
* Rename relating object data variable to be able to have access to related objects
* Add utilities to get related objects
* Add utility function to get related objects from element
* display related object in Aggregates panel in object properties
* Revert "Rename function to get relating object"
This reverts commit 5248627a41 .
* Update method names
* Add Operator to select parts of an element
* Ditch box layout and only display number of parts
* Add operator to select aggregate of an element
* Display operator to select aggregate of element
* Move logic to aggregate module
* Add utility methods to Blender tool
* Add buttons to create Ifcsite and IfcBuilding from object panel
2022-02-03 07:16:43 +01:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
78d33437ea
New utility to get predefined type
2022-01-12 14:11:31 +11:00
Dion Moult
ebf6b9fc88
Fix #1886 .
2021-11-19 19:08:34 +11:00
Dion Moult
41486ba08a
New utility to get layers of an element. See #1869 .
2021-11-16 18:07:47 +11:00
Dion Moult
2120653104
Minor fix.
2021-11-16 17:52:08 +11:00
Dion Moult
4fdcb87a28
New IfcOpenShell utility to get instances of an element type easily
2021-11-08 21:12:38 +11:00
Dion Moult
54fa45850a
Get psets utility now supports getting material and profile psets
2021-10-25 16:09:04 +11:00
Dion Moult
fbadcc017b
Get psets utility can now filter only psets or qtos
2021-10-25 15:36:55 +11:00
Dion Moult
6337698494
Element get_psets utility now returns the pset ID for convenience.
2021-10-25 14:21:41 +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
52062bc7e8
Experimental proposed deep removal. See #1812 .
2021-10-20 11:44:19 +11:00
Dion Moult
3aa36dd4b7
Changing aggregation now ensures spatial containment is mutually exclusive to prevent invalid IFC data
2021-10-06 12:52:01 +11:00
Dion Moult
92e519de9e
Be more accommodating when fetching properties to allow for incomplete scripts.
2021-09-20 14:45:31 +10:00
Dion Moult
02a68f6827
New utility to get spatial and object decompositions from any IFC element
2021-09-17 15:40:27 +10:00
Dion Moult
8aa790c1c1
Fix bug where filtering did not work for indirectly spatially contained elements
2021-09-13 09:12:51 +10:00
Dion Moult
5990d6b66d
Test util.element module. See #1711 .
2021-08-31 15:44:57 +10:00
Dion Moult
0a2afa4879
Fix bug where element replacement would sometimes fail leading to various problems.
2021-08-30 21:32:23 +10:00
Thomas Krijnen
44c868caed
#1531 Breadth-first search and maintain insertion order on remove_deep()
2021-08-12 13:35:45 +02:00
Dion Moult
f393c5f1d2
Copying an object / class now also copies pset and qtos
2021-08-10 11:48:38 +10:00
Dion Moult
2033ee1c69
Minor fix
2021-08-08 16:13:19 +10:00
Dion Moult
3bb3a8018a
Fix bug where materials weren't created when importing assets from a library
2021-08-04 20:30:40 +10:00
Dion Moult
549bc0e1a9
Minor fix. See #1475 .
2021-07-04 20:22:20 +10:00
Dion Moult
b8015644e9
Implement undo for context and geometry operators. See #1475 .
2021-07-04 19:45:34 +10:00
Dion Moult
54526960c8
Column profiles now auto update when you change the material profile
2021-06-21 12:21:55 +10:00
Dion Moult
7d841c3f27
New dumb column tool. Creates a parametric solid column from profile sets.
2021-06-07 19:43:02 +10:00
Dion Moult
cfd5742b5b
Fix unnecessary error message when getting psets.
2021-06-06 20:54:40 +10:00
Dion Moult
a13b71abf0
Layer set usages now inherit layer sets from the type. Walls now support material layer set usages. Also minor fixes, thanks s-leger!
2021-05-25 13:10:26 +10:00
Dion Moult
f2352e9a17
Old annotation systems now creates IFC elements again. Also text and misc annotations now work again with new system. See #1153 .
2021-05-16 18:26:48 +10:00