Andrej730
49e7abb4dc
type.unassign_type - support batching #4474
2024-04-11 17:09:41 +05:00
Andrej730
5098550399
assign_type not to remap if it's type was assigned previously
2024-04-11 17:09:41 +05:00
Andrej730
e12c05eea0
typing
2024-04-11 17:09:41 +05:00
Andrej730
39433fb5a5
remove unused lines from tests
2024-04-11 17:09:41 +05:00
Vukas Pajic
58b39d3926
fix: address test fails
2024-04-11 13:03:13 +02:00
Vukas Pajic
946c868388
fix: cascade_schedule correctly handles timelag with IfcRatioMeasure
2024-04-11 11:35:34 +02:00
Andrej730
df4943205a
type.assign_type - support batching #4474
2024-04-10 18:58:44 +05:00
Andrej730
ba4eb2a891
fix bug in nest.assign_object
2024-04-10 18:58:44 +05:00
Andrej730
90bb2f0e16
unify tests for ifc4 and ifc2x3
2024-04-10 18:45:37 +05:00
Andrej730
c2840d92c2
fix test files names
2024-04-10 18:45:37 +05:00
Andrej730
81ff9c168e
nest.assign_object to support ifc2x3
2024-04-10 18:45:37 +05:00
Andrej730
239ab5b587
get_pset() fix bug getting inherited psets with psets_only/qtos_only = True
2024-04-10 18:45:37 +05:00
Andrej730
37a33d62d5
further ifcopenshell.util.element optimization
...
and readibility for props addressed by the index
2024-04-10 18:45:37 +05:00
Andrej730
13c6fdd3c6
maintain verbosity getting complex property subproperties
2024-04-10 18:45:36 +05:00
Andrej730
e69597f72b
typing
2024-04-10 18:45:36 +05:00
Alper Kantarci
4d906578c7
Use "gltf" instead of "gtlf" ( #4538 )
...
- Fix "gtlf" typo
2024-04-10 21:02:56 +10:00
Dion Moult
de744dddda
Fix #4290 . You can now format custom thousands separators and decimal separators in IfcCSV.
2024-04-10 17:32:39 +10:00
Dion Moult
bee1e21f0e
Fix #4490 . Fix fundamental bug where get_pset would return none for inherited props with a boolean False value.
2024-04-10 12:57:52 +10:00
Andrej730
153389fe4a
ifcopenshell.util.element optimization
...
Tried to reduce amount of IFC attributes retrieved by reusing already retrieved values.
E.g. previously get_nest() was retrieving same attribute 3 times on each call, now it does it only once and it's 2 times faster (2.4 ms -> 1.2 ms).
2024-04-09 18:36:55 +05:00
Andrej730
965a45d65b
ifcopenshell.util.element.get_nest test
2024-04-09 18:33:26 +05:00
Andrej730
06b84cfa24
nest.unassign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
97db95085a
nest.assign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
d1bcec7a6a
typing
2024-04-09 18:33:25 +05:00
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
9474d17867
fix test after 7dd0d7601
2024-04-08 16:28:05 +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
5bd53b973f
Fix #4303 . Declare dependencies for ifctester.
2024-04-08 11:57:21 +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
78abca16e6
black format
2024-04-05 16:47:14 +05:00
Andrej730
02aaf1b409
typing
2024-04-05 16:47:13 +05:00
Dion Moult
fb6660361d
See #4518 . Fix pypi python version requirements.
2024-04-05 21:13:24 +11:00
Dion Moult
6555e56647
Fix evil hacks in ifcopenshell pip dist packaging and support py312 on PyPI
2024-04-05 16:54:29 +11:00
Dion Moult
e221e6fa6a
See #4508 . Update example code to serialise to obj.
2024-04-05 08:25:59 +11: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