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
Andrej730
301ddab1ee
commented out apil.run settings serialization as it's not used currently
2024-03-11 11:39:18 +05:00
Andrej730
1160d20d33
small fixes
2024-03-11 11:39:18 +05:00
Andrej730
3d5d868812
fix error in typing
2024-03-08 16:40:30 +05:00
Andrej730
a3d970e014
shape_builder.create_axis2_placement_3d utility method and docs
2024-03-06 17:30:55 +05:00
Andrej730
8c28f52e6a
fix duplicated ifcstyleditems using append_asset
...
since we don't use `file.add` to add inverse items and we use `file.create_entity` it was duplicating new elements, added optional parameter that makes it possible to track already added relationships between `append_asset`s.
2024-03-05 14:18:18 +05:00
Andrej730
bce0f0d8d4
fix typing loading issues
2024-03-04 18:14:50 +05:00
Andrej730
50648fd350
append_asset - keep preexisting contexts valid #4280
...
issue occurred with ifcpatch ExtractElements - it was adding project from other ifc file (with the contexts) and then adding some elements from it using `append_asset`. During `append_asset` it was considering existing context with the duplicated one and was partially purging it.
2024-03-04 18:04:24 +05:00
Andrej730
b7e26bacea
typing
2024-03-04 18:02:49 +05:00
Dion Moult
2c9e443425
Fix #4300 . You can now select spatial elements by their location too.
2024-03-01 20:02:15 +11:00
Dion Moult
2bede1cdf0
Fix #4340 . Indicate user needs to setup IFC2X3 user/app when using API directly.
2024-03-01 19:46:50 +11:00
Andrej730
e46f18f686
type.py - some typing
2024-02-28 16:54:11 +05:00