Dion Moult
a6286293d8
Run black on IOS-Python
2024-07-26 12:00:57 +10:00
Dion Moult
07060fc769
Replace all ifcopenshell.api.run with ifcopenshell.api static functions.
2024-06-28 12:36:31 +10:00
Andrej730
4ec8345716
typing
2024-06-27 18:26:49 +05: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
ebd03e9290
typing
2024-05-13 18:01:17 +05:00
Andrej730
2f554db54b
owner.remove_person to remove IfcInventory in ifc2x3
2024-05-13 18:01:17 +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
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
addcf531f0
owner.update_owner_history - optimization
...
as it may be used very often
2024-05-01 16:42:20 +05:00
Andrej730
137a306269
typing
2024-05-01 16:42:20 +05:00
Andrej730
31d85b715a
typing
2024-04-26 18:23:18 +05:00
Andrej730
45dacc3612
migrate docs urls
2024-04-17 15:18:45 +05:00
Andrej730
7132c4e9bf
typing and small refactor
2024-03-22 16:54:42 +05: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
91199308a9
descriptive error for missing user or application in ifc2x3 #4340
2024-02-20 15:21:48 +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
14f1acadb7
See #3974 . WIP review to ensure history removal in API.
2023-11-27 18:31:55 +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
436482532d
Write documentation for resource API module
2022-12-16 15:07:02 +11:00
Dion Moult
0ccea3cef8
Add documentation for pset API module
2022-12-15 16:02:27 +11:00
Dion Moult
a5a1ef2e8e
Write docs for owner API module
2022-12-14 15:58:53 +11: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
5f1b5d0c63
You can now manage actor assignments to products
2022-05-06 17:47:24 +10:00
Dion Moult
60ea856e51
New functions for IFC actor in API
2022-02-04 17:56:45 +11:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
aa6d03ade2
You can now reset and restore your API owner settings.
2022-01-18 17:42:17 +11:00
Dion Moult
ce3490824d
Optimise all editing API functions to be 100x faster when you're dealing with proprietary BIM exports with loads of shared owner histories. See #1904 and #1905 .
2022-01-10 12:12:34 +11:00
Dion Moult
622ff05247
Fix bug where updating owner history may not work if you were using it outside Blender.
2021-11-29 20:17:02 +11:00
Dion Moult
109149a0be
Optimise owner check depending on your implementation and no longer create default users on IFC4. Can result in 50% faster script running on long scripted operations.
2021-10-29 18:04:17 +11:00
Dion Moult
4697e063af
You can now add and remove users for ownership history
2021-10-01 17:32:58 +10:00
Dion Moult
fe1e30702a
Fix bug where removing addresses and roles could leave other elements in invalid states, "IfcPersonAndOrganization"
2021-10-01 14:48:44 +10:00
Dion Moult
291bb0cd55
Removing an organisation now properly handles references appropriately.
2021-10-01 13:29:10 +10:00
Dion Moult
915fa9f9b0
Removing a person no longer has the potential to leave files in an invalid state
2021-10-01 12:35:46 +10:00
Dion Moult
0a27308532
Optimise create owner history to not rely on a person and organisation lookup, speeding up long procedures
2021-10-01 11:05:35 +10:00
Dion Moult
8bcec29429
Application data in IFC now reflects the latest IFC version tag
2021-10-01 10:10:45 +10:00
Dion Moult
90e481ce2c
Optimise update owner history to speed up complex operations
2021-09-20 10:17:16 +10: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
7d17b3170c
New feature to select all of the active IFC element's class
2021-07-19 19:19:12 +10:00
Dion Moult
9286de4813
Minor fix. See #1547 .
2021-07-04 19:57:09 +10:00
Dion Moult
68b6389794
Fix #1547 .
2021-07-04 09:54:49 +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
478612b6ae
Fix #976 . Bug where project data dir was not very customisable without running into issues.
2021-05-28 15:58:19 +10:00
Dion Moult
1cd243f13c
Fix #1462 . Standardise IfcOpenShell API to use Pythonic argument names.
2021-05-28 10:59:39 +10:00
Dion Moult
41443d1a64
Fix bunch of bugs related to grid name syncing, axis deleting, copy axes and grid deletion
2021-05-14 20:19:30 +10:00
Sigma Dimensions
23be1a6939
ifcopenshell.api modules Persons and Organisations account for IFC4 SCHEMA CHANGE ( #1417 )
2021-04-07 08:28:02 +10:00
Dion Moult
44df1f676d
Finish decoupling ownership history code from Blender
2021-03-29 16:53:11 +11:00