Andrej730
7b46c6a443
black format
2024-04-09 17:05:36 +05:00
Andrej730
6db0c14fa8
ifcopenshell.api.run optimization
...
cache usecase classes instead of importing their modules and getting them each time, makes empty api call twice as fast
2024-04-09 16:18:11 +05:00
Andrej730
d03f9237e2
deprecate spatial.remove_container in favor of spatial.assign_container
...
added temporary support for old version with warnings:
WARNING. `spatial.remove_container` api method is deprecated and should be replaced with spatial.unassign_container
WARNING. `product` argument is deprecated for API method "spatial.remove_container" and should be replaced with `products`.
2024-04-09 16:09:04 +05:00
Andrej730
f14bf8557a
aggregate.unassign_object - support batching #4474
2024-04-08 17:49:48 +05:00
Andrej730
cd11d2de27
aggregate.assign_object - support batching #4474
2024-04-08 17:49:48 +05:00
Andrej730
d764c0af23
temporary support for deprecated api arguments #4531
2024-04-08 17:49:48 +05:00
Andrej730
d24e5df7c1
typing
2024-04-08 17:27:41 +05:00
Andrej730
abe6dbdfc9
layer.unassign_layer - support batching #4474
2024-04-08 16:28:05 +05:00
Andrej730
7ecec973dd
layer.assign_layer - support batching #4474
2024-04-08 14:51:07 +05:00
Andrej730
f34aef1ebf
validate - add examples
2024-04-08 13:56:52 +05:00
Dion Moult
8e2f9d2bb5
Fix #4509 . Don't show scary error message if you haven't specified a filter query.
2024-04-08 17:19:17 +10:00
Dion Moult
7dd0d7601a
Fix #3759 . IFC4X3 files should use ADD2 identifier.
2024-04-08 12:34:59 +10:00
Dion Moult
63b541917e
Minor fix in doc utility for entities which have no predefined types
2024-04-06 23:48:14 +11:00
sebphi
5d6119e542
Fix import of ifcopenshell.util.unit in Python <3.10 #4520
2024-04-05 17:46:55 +02:00
Andrej730
845e229a9c
group.unassign_group - support batching #4474
2024-04-05 17:31:13 +05:00
Andrej730
cefa088b59
spatial.unassign_container - support batching #4474
2024-04-05 17:31:13 +05:00
Andrej730
109787d869
spatial.assign_container - support batching #4474
2024-04-05 17:28:30 +05:00
Andrej730
02aaf1b409
typing
2024-04-05 16:47:13 +05:00
Dion Moult
635ddce93d
Autodetect CSG representation types in shape builder
2024-04-04 18:28:26 +11:00
Dion Moult
24e807cac7
Detect binary data types in util.attribute
2024-04-04 18:28:26 +11:00
Andrej730
bf9bddc867
ifcopenshell.validate to check unique guids (IfcRoot.UR1)
2024-04-02 17:17:23 +05:00
Andrej730
20a2fda066
typing
2024-04-02 15:45:42 +05:00
Andrej730
f03afb20f3
validate.py - black format
2024-04-02 15:45:42 +05:00
Dion Moult
0bc83fedae
Use indices instead of WorkTimeDatesInterface
...
Checking start/end dates are done very, very often in date calculations (often looping through every day in a date range). So I'd prefer more opaque code but less overhead.
2024-03-31 22:11:17 +11:00
Dion Moult
b6b8c21741
See #4484 . Editing predefined type attributes now enforces valid combinations of userdefined and object/element type
2024-03-31 15:50:31 +11:00
Dion Moult
c8af51cfd2
Fix #4323 . Bug where running a filter could fail if you tried to compare values which had incompatible types.
2024-03-30 23:07:06 +11:00
Andrej730
232b4ec34d
typing
2024-03-29 15:11:47 +05:00
Dion Moult
8d7b293381
Fix #4305 . Bug where importing spreadsheets into IFC didn't intelligently cast attribute data types
2024-03-29 20:37:34 +11:00
Dion Moult
ccfe7ab80a
Optimise property / quantity checks for IDS and other purposes
2024-03-27 16:09:13 +11:00
Dion Moult
c7fd42f2cf
Clash detection features
2024-03-26 15:13:36 +01:00
Andrej730
06d823b9d8
typing
2024-03-26 15:54:45 +05:00
Andrej730
7132c4e9bf
typing and small refactor
2024-03-22 16:54:42 +05:00
Andrej730
a5daf4177a
add_mesh_representation - option to force faceted breps
2024-03-21 15:06:32 +05:00
Andrej730
1b1eccb0c1
typing
2024-03-21 15:06:32 +05:00
Andrej730
6d6010be3b
typing
2024-03-21 11:32:53 +05:00
Andrej730
09da42d649
typing
2024-03-20 17:30:58 +05:00
Andrej730
c35cdcfcad
util.selector.set_element_value to work w/o preassigned placement #4439
2024-03-19 17:45:21 +05:00
Andrej730
205da63d8e
util.selector.set_element_value ignore values within tolerance #4439
2024-03-19 17:45:21 +05:00
Andrej730
ec7af4e719
typing
2024-03-19 15:24:14 +05:00
Andrej730
812389bce2
ifccsv - support for assigning x/y/z coordinates from csv
2024-03-18 17:06:00 +05:00
Andrej730
b67b5e8d9f
typing
2024-03-18 17:05:55 +05:00
Andrej730
8307bf5877
typing
2024-03-15 15:50:38 +05:00
Andrej730
f20fd3357f
typing
2024-03-14 14:50:34 +05:00
Andrej730
6881e7d220
utils.filter_elements docs and tests
2024-03-13 15:32:42 +05:00
Andrej730
28b54c869a
typing
2024-03-13 15:32:42 +05:00
Andrej730
0576914e07
small fixes after d209cc9ff, added a test
2024-03-11 15:15:17 +05:00
Andrej730
8e502c9bb7
util.unit.py - black format
2024-03-11 15:15:17 +05:00
Andrej730
4d23706145
more typing
2024-03-11 15:15:17 +05:00
Geert Hesselink
6e8de292c6
Redundant closing symbol ' ( #4413 )
...
* scale placeangleunit
* add radian si_conversions
* return conversion value of planeangleunit
* Update unit.py
* redundant closing
* redundant closing
2024-03-11 11:12:23 +01:00
Geert Hesselink
d209cc9ff4
Scale placeangelunit unit type ( #4406 )
...
* scale placeangleunit
* add radian si_conversions
* return conversion value of planeangleunit
* Update unit.py
2024-03-11 08:54:20 +01:00