Andrej730
dfc91e6639
ifcopenshell-python - clean up unused imports
2026-01-16 17:16:24 +05:00
Andrej730
13be6ccd45
Sort imports
2025-12-19 18:53:14 +05:00
Andrej
1608677d40
ifcopenshell.api.run to use explicit kwargs instead of unpacking
2025-06-10 18:54:35 +05:00
Andrej730
17642ca4e9
typing
2025-02-18 18:50:34 +05:00
Andrej730
8b29e50f11
add_classification - remove dead and deprecated code
2024-07-24 18:24:22 +05:00
Dion Moult
07060fc769
Replace all ifcopenshell.api.run with ifcopenshell.api static functions.
2024-06-28 12:36:31 +10:00
Andrej730
4a5d1eba0b
specify exported api methods in __all__
...
It's py.types requirement, similar to 6e2edbf
Example issue without __all__:
import ifcopenshell
import ifcopenshell.api.project
# "create_file" is not exported from module "ifcopenshell.api.project"
ifcopenshell.api.project.create_file()
2024-06-03 17:44:05 +05:00
Andrej730
c2049246cd
fix issue adding classification failing to use a None value for the date
2024-05-15 17:18:34 +05:00
Andrej730
8ffb77551f
more tests for ifc2x3
2024-05-09 18:15:49 +05:00
Andrej730
2d35869c41
typing
2024-05-09 18:00:17 +05:00
Andrej730
cbf04546b8
fix many implicit ifcopenshell.guid imports
...
a bit related to 10d30b0de
2024-05-08 18:18:02 +05:00
Dion Moult
10d30b0de7
Document api modules and require explicit imports of API submodules
2024-05-08 17:00:35 +10:00
Andrej730
a9d785c28f
typing
2024-05-06 18:22:52 +05:00
Andrej730
31d322a28c
descriptions for operators removing classifications/contexts #4614
2024-05-06 17:29:30 +05:00
Dion Moult
d11ec67129
Generate functions for all API usecases for better static code features. See #2693 .
2024-05-06 14:43:43 +10:00
Dion Moult
a213ab6760
Fix docstrings to reference datatype as it would be used for users
2024-05-06 08:39:48 +10: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
0a9c9f2a28
typing
2024-04-15 14:47:32 +05:00
Dion Moult
6e932ec2fb
Fix #3974 . Bug where orphaned histories would be left in API remove operations.
2023-11-28 10:46:03 +11:00
Dion Moult
b3c7971ea9
Purge all data classes from API.
2023-02-01 15:44:08 +11:00
Dion Moult
c8ba96cde8
Make syntax highlighting explicit in docs
2023-01-10 10:16:28 +11:00
Dion Moult
11f772b5a3
Add documentation for cost module
2022-11-21 12:05:58 +09:00
Dion Moult
308ee7f7a9
Add API documentation for classification module
2022-11-15 16:11:47 +09:00
Dion Moult
72544419da
External resource relationships are now also purged when removing classifications
2022-09-05 16:51:42 +10:00
Dion Moult
0668eadc36
IDS doc generator now also generates a sample IDS file
2022-09-03 10:48:46 +10:00
Dion Moult
fdfaf54698
Support resource level classifications in IfcOpenShell API
2022-09-02 18:23:49 +10:00
Dion Moult
0293c133ab
Fix #2364 . Bug where classifications couldn't be added in IFC2X3.
2022-09-02 14:03:05 +10:00
Dion Moult
709c530434
Fix bug where MergeDuplicateTypesByTag recipe would've left multiple IfcRelDefinesByType relationships which is no good
2022-08-03 17:33:23 +10:00
Dion Moult
1f11354188
Add support for adding non-library based classification references for IFC2X3
2022-08-02 19:34:12 +10:00
Dion Moult
21094c59d9
API now supports adding classifications by identifier instead of from a library
2022-08-02 10:10:02 +10:00
Dion Moult
1706ca5293
Fix bug where adding heavy classification references led to duplicate classification systems
2022-06-21 19:28:53 +10:00
Dion Moult
9671df8491
You can now choose between lightweight and full classifications
2022-05-11 15:19:31 +10:00
Dion Moult
f0a00cbc94
#2185 Set up auto generated API reference documentation via sphinx-autoapi
2022-05-09 15:35:52 +10:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
865c0f4895
Run black, and add black to a "qa" target to make it a standardised process.
2021-09-09 21:27:31 +10:00
Dion Moult
b4a422c2b8
New add application usecase, improved add_classification usecase and better defaults for owner settings. Thanks johltn
2021-07-02 16:30:57 +10:00
Dion Moult
406b8b4540
IfcOpenShell API now uses kwargs to improve user syntax. See #1399 .
2021-03-27 19:14:46 +11:00
Jesusbill
9c00872a57
replace settings=None with {}
2021-03-25 00:54:42 +01:00
Dion Moult
d77bc6bdaa
First attempt at ripping out agnostic code into ifcopenshell.api namespace. See #1399 .
2021-03-25 10:48:48 +11:00