Commit Graph

1788 Commits

Author SHA1 Message Date
Andrej730 064fc0e405 typing 2024-04-18 10:48:24 +02:00
Andrej730 846ff3b9fd black format 2024-04-18 10:48:24 +02:00
Andrej730 8df04091ff 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-18 10:48:24 +02:00
Andrej730 da838a2c7c 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-18 10:48:24 +02:00
Andrej730 163f5f2611 aggregate.unassign_object - support batching #4474 2024-04-18 10:48:23 +02:00
Andrej730 833f67cf45 aggregate.assign_object - support batching #4474 2024-04-18 10:48:23 +02:00
Andrej730 b106d6a4d1 temporary support for deprecated api arguments #4531 2024-04-18 10:48:23 +02:00
Andrej730 bc8b4e1a69 typing 2024-04-18 10:48:23 +02:00
Andrej730 65d419d5c7 fix test after 7dd0d7601 2024-04-18 10:48:23 +02:00
Andrej730 d35f2dd0e9 layer.unassign_layer - support batching #4474 2024-04-18 10:48:23 +02:00
Andrej730 a003bc0018 layer.assign_layer - support batching #4474 2024-04-18 10:48:23 +02:00
Andrej730 7d0111115b validate - add examples 2024-04-18 10:48:23 +02:00
Dion Moult 3357f89311 Fix #4509. Don't show scary error message if you haven't specified a filter query. 2024-04-18 10:48:23 +02:00
Dion Moult 562bc14f5b Fix #3759. IFC4X3 files should use ADD2 identifier. 2024-04-18 10:48:23 +02:00
Dion Moult aba8683d5e Fix #4303. Declare dependencies for ifctester. 2024-04-18 10:48:23 +02:00
Dion Moult 52be9684fc Minor fix in doc utility for entities which have no predefined types 2024-04-18 10:48:23 +02:00
sebphi 0f33c000fb Fix import of ifcopenshell.util.unit in Python <3.10 #4520 2024-04-18 10:48:23 +02:00
Andrej730 eebcc48238 group.unassign_group - support batching #4474 2024-04-18 10:48:23 +02:00
Andrej730 df9a306730 spatial.unassign_container - support batching #4474 2024-04-18 10:48:22 +02:00
Andrej730 52995d1cdd spatial.assign_container - support batching #4474 2024-04-18 10:48:22 +02:00
Andrej730 ee6c7a9fad black format 2024-04-18 10:48:22 +02:00
Andrej730 443cd5187c typing 2024-04-18 10:48:22 +02:00
Dion Moult 9ee35b1054 See #4518. Fix pypi python version requirements. 2024-04-18 10:48:22 +02:00
Dion Moult 336d056be7 Fix evil hacks in ifcopenshell pip dist packaging and support py312 on PyPI 2024-04-18 10:48:22 +02:00
Dion Moult 760e8014e6 See #4508. Update example code to serialise to obj. 2024-04-18 10:48:22 +02:00
Dion Moult 95bfb5c6a1 Autodetect CSG representation types in shape builder 2024-04-18 10:48:22 +02:00
Dion Moult 9c11626893 Detect binary data types in util.attribute 2024-04-18 10:48:22 +02:00
Andrej730 e5cfe5cf3c ifcopenshell.validate to check unique guids (IfcRoot.UR1) 2024-04-18 10:48:21 +02:00
Andrej730 72011c2fbd typing 2024-04-18 10:48:21 +02:00
Andrej730 5c90b215ca validate.py - black format 2024-04-18 10:48:21 +02:00
Dion Moult 36527d0e9d Whoops. 2024-04-18 10:48:21 +02:00
Dion Moult 77465dfd41 Bump IOS. 2024-04-18 10:48:21 +02:00
Dion Moult 2905eb637d Fix #4328. Fix incorrect documentation about how to use the imperial_length formatting function. 2024-04-18 10:48:06 +02:00
Dion Moult 33f5db2e26 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-04-18 10:48:06 +02:00
Dion Moult fcf5073726 See #4484. Editing predefined type attributes now enforces valid combinations of userdefined and object/element type 2024-04-18 10:48:06 +02:00
Dion Moult 81fdaea5f2 Fix #4323. Bug where running a filter could fail if you tried to compare values which had incompatible types. 2024-04-18 10:48:06 +02:00
Dion Moult a56ad31571 More minor doc changes and polish 2024-04-18 10:48:06 +02:00
Dion Moult 5fbdc9e7fb Fix #4461. Write documentation on how to build and edit documentation. 2024-04-18 10:48:06 +02:00
Dion Moult a6ae609a6a Fix #4318. Theme docs to match website branding and add edit button, footer links, and icons. 2024-04-18 10:48:06 +02:00
Andrej730 258d38393f typing 2024-04-18 10:48:06 +02:00
Dion Moult 7e689f2456 Fix #4305. Bug where importing spreadsheets into IFC didn't intelligently cast attribute data types 2024-04-18 10:47:36 +02:00
Dion Moult 0729b5782b Fix #4269. Include dateutil for ifcopenshell on pypi 2024-04-18 10:45:31 +02:00
Dion Moult 44adf92392 Bump IfcOpenShell and remove py37 py38 from installation docs 2024-04-18 10:45:31 +02:00
Dion Moult 6875a98646 Optimise property / quantity checks for IDS and other purposes 2024-04-18 10:43:02 +02:00
Dion Moult 3f456c14b6 Minor note about which OCCT version is currently supported 2024-04-18 10:43:02 +02:00
Dion Moult 24677683ba Write docs about new geometry tree clash functions 2024-04-18 10:43:02 +02:00
Dion Moult 23f91c73af Clash detection features 2024-04-18 10:40:32 +02:00
Andrej730 7cfeaa6047 typing 2024-04-17 15:00:39 +02:00
Andrej730 ecc8832c46 typing and small refactor 2024-04-17 14:54:42 +02:00
Andrej730 2f5190ac75 add macos py3.11-3.12 to docs 2024-04-17 14:54:42 +02:00