Andrej730
f1037de14d
small fix for 60a70f523
2024-04-25 18:05:46 +05:00
Andrej730
716a33f347
convert_file_length_units - fix issue converting to imperial units
...
ifcpatch ConvertLengthUnit - change used units from plural to singular names, to make it consistent across the api
more test coverage - test converting to more units and back from them
2024-04-24 15:15:30 +05:00
Andrej730
1c729a74d1
util.unit to support converting aggregate of aggregates
2024-04-24 14:12:13 +05:00
Andrej730
db31574103
typing
2024-04-24 14:12:13 +05:00
Andrej730
4efe284338
use IFC4X3_ADD2 for ifcopenshell.schema_by_name
...
as it is the main IFC4X3 schema
2024-04-22 17:30:25 +05:00
Andrej730
34a4e3f37a
util.doc - use release schema version for IFC4X3
...
As it will be more like to be available in the ifcopenshell package. Related to #4565
2024-04-22 17:30:25 +05:00
Andrej730
889c9a9e9f
typing
2024-04-22 17:30:25 +05:00
Andrej730
9e79499532
small optimization
2024-04-22 17:30:24 +05:00
Andrej730
60a70f5236
support IfcAxis1Placement and warn on IfcAxis2PlacementLinear #4565
2024-04-19 17:11:56 +05:00
Andrej730
757a010172
typing
2024-04-19 16:18:57 +05:00
Andrej730
447625bffd
fix failing test in util.selector.format with imperial_length
...
the error is below, not sure how I haven't noticed it before 🤔
assert subject.format('imperial_length(1, 1)') == "1'"
> raise VisitError(tree.data, tree, e)
E lark.exceptions.VisitError: Error trying to process rule "imperial_length":
E
E cannot access local variable 'output_unit' where it is not associated with a value
2024-04-19 16:18:46 +05:00
Andrej730
9da4215bac
ifcopenshell.util.selector.filter_elements - inherited predefined types
...
mentioned by @theoryshaw on osarch - https://community.osarch.org/discussion/comment/20126/#Comment_20126
2024-04-19 16:05:33 +05:00
Dion Moult
fa4239159d
Fix incorrect dateutil dependency
2024-04-18 23:39:25 +10:00
Andrej730
45dacc3612
migrate docs urls
2024-04-17 15:18:45 +05:00
Andrej730
f93d79dce0
entity_instance.is_a overload typing
2024-04-17 15:18:45 +05:00
Andrej730
b158a83644
update ifcsverchok builds
2024-04-17 12:32:42 +05:00
Andrej730
9a9be821d1
constraint.unassign_constraint - support batching #4474
2024-04-16 15:17:49 +05:00
Andrej730
c808382154
constraint.assign_constraint - support batching #4474
2024-04-16 15:17:49 +05:00
Andrej730
81608b0cee
ifcopenshell.util.get_constrained_elements
2024-04-16 15:17:49 +05:00
Andrej730
02ae838c45
util.constraint - typing and docs
2024-04-16 15:17:49 +05:00
Andrej730
f1f8b3da6b
spatial.dereference_structure - support batching #4474
2024-04-16 15:17:48 +05:00
Andrej730
8ac0d22a95
spatial.reference_structure - support batching #4474
2024-04-16 15:17:48 +05:00
Dion Moult
23abf674f3
Minor fix
2024-04-16 14:54:36 +10:00
Dion Moult
ac64d0c400
Fix #3581 . Invalid new document references.
2024-04-16 08:06:10 +10:00
Andrej730
96b0a241d9
add tests for get_referenced_structures
2024-04-15 17:24:31 +05:00
Andrej730
ff76850a54
ifcopenshell.util.element.get_structure_referenced_elements
2024-04-15 17:24:31 +05:00
Andrej730
9954e073fa
constraint.assign_constraint to handle owner history
2024-04-15 17:24:31 +05:00
Andrej730
5da68721d6
document.unassign_document - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
097f44284f
document.assign_document - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
1f605484d9
library.unassign_reference - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
81dcad6a14
library.assign_reference - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
03af1013a0
add tests for util.element.get_referenced_elements
2024-04-15 17:23:25 +05:00
Andrej730
144831f9ee
classification.remove_reference - support batching #4474
2024-04-15 17:23:24 +05:00
Andrej730
d6e69bd6e9
classification.add_reference - support batching #4474
2024-04-15 17:23:14 +05:00
Andrej730
7d6fd03eb4
rename tests for consistency with api
2024-04-15 17:21:10 +05:00
Andrej730
75c854da01
ifcopenshell.util.get_referenced_elements
2024-04-15 17:21:10 +05:00
Andrej730
01ddf8e769
util.classification small optimization
2024-04-15 14:47:32 +05:00
Andrej730
0a9c9f2a28
typing
2024-04-15 14:47:32 +05:00
Andrej730
919dcbe2d9
black format
2024-04-15 14:47:32 +05:00
Dion Moult
acf6628f23
Fix #4547 . Handle both null inherited predefined types and disable editing predefined types on occurrences which inherit from a type.
2024-04-15 11:53:37 +10:00
Dion Moult
8a62558575
Fix #4484 . Clarify inheritance rules of predefined types.
2024-04-15 09:27:58 +10:00
Dion Moult
ee1183481f
Fix #4525 . Fix #4546 . Specify dependencies for ifcopenshell and ifcpatch.
...
No longer optional for a better first experience. They aren't huge deps.
2024-04-14 08:52:19 +10:00
Dion Moult
6ddf7dae01
See #4546 . Fix docs link to filtering elements query syntax.
2024-04-14 08:34:49 +10:00
Dion Moult
8232c9fa24
See #4541 . Clarify how to use include args for IfcConvert
2024-04-14 08:33:23 +10:00
Andrej730
eb46de9658
material.unassign_material - support batching #4474
2024-04-12 17:41:37 +05:00
Andrej730
59cc9c0a16
material.assign_material - support batching #4474
2024-04-12 17:41:37 +05:00
Andrej730
32d2f1d629
material.assign_material - update owner history
2024-04-12 17:41:37 +05:00
Andrej730
38a73d6510
ifcpatch - add ifc2x3 tests and test for MergeDuplicateTypes
2024-04-12 17:41:36 +05:00
Andrej730
59b496d4b5
typing
2024-04-12 17:41:36 +05:00
Dion Moult
a3c99b8362
See #4541 . Add documentation examples on how to use include filters in IfcConvert.
2024-04-12 10:09:52 +10:00