Andrej
02d359d0e6
Fix Ruff UP035 (also deprecated annotation symbols)
2025-06-09 18:03:19 +05:00
Andrej730
67bac441ad
typing
2025-02-19 18:31:06 +05:00
Andrej730
17642ca4e9
typing
2025-02-18 18:50:34 +05:00
Andrej730
85e0fa9147
assign/unassign layer - mention representations
2025-01-29 16:02:50 +05:00
Andrej730
d37caedda7
layer.add_layer_with_style
2025-01-24 18:45:12 +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
fdbe74a432
maintain snake in api calls
...
there were only two methods using camel case for arguments
2024-05-15 17:18:34 +05:00
Andrej730
4e39fb3edd
fix issue adding layers (name is not optional in ifc)
2024-05-15 17:18:34 +05:00
Andrej730
ebd03e9290
typing
2024-05-13 18:01:17 +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
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
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
9e45435024
Documentation example fixes where I forgot to give things with representations a placement
2023-01-04 16:10:12 +11:00
Dion Moult
9650bbb5ee
Add docs to layer API
2022-12-07 08:59:24 +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
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
8dd781aea2
Fix bug where you couldn't assign objects to a fresh layer
2021-04-21 11:03:36 +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