Dion Moult
0eb987fc07
Black
2025-01-12 22:43:41 +11:00
c4rlosdias
d1ad082979
Add derived unit
2025-01-12 17:12:20 +11: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
2d35869c41
typing
2024-05-09 18:00: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
db31574103
typing
2024-04-24 14:12:13 +05:00
Dion Moult
a7cc58fb50
Update libraries to use Plan/Body/PLAN_VIEW instead of annotations.
2023-02-04 14:09:35 +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
0294c4e02c
Fix #2678 . Critical typo bug meant that units were fixed to metric millimeters.
2023-01-08 12:58:53 +11:00
Dion Moult
fd8774718e
Write docs for unit API module
2023-01-04 16:10:13 +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
666e484b2b
Run black on IfcOpenShell-python.
2022-01-10 15:42:24 +11:00
Dion Moult
3d0d2ec8fb
Fix #1795 . New support for conversion based units with offsets, like fahrenheit.
2021-10-14 12:46:01 +11:00
Dion Moult
464b0c2ebc
Unassigning the last unit now cleans up empty unit assignments
2021-10-14 12:42:33 +11:00
Dion Moult
fc2e12bff6
New usecase for adding conversion based units
2021-10-12 18:34:26 +11:00
Dion Moult
6e6cbcef6f
Test edit object placement. See #1711
2021-10-04 13:14:47 +11:00
Gorgious56
2dac81ee8d
Parametric object gizmo scale follows scene unit ( #1715 )
...
* Add missing units in si-conversions
* Fix error when using Miles or Thou-inch units
* Parametric gizmo scales with scene units
* use "thou" instead of "thousandth of an inch"
2021-09-19 10:02:34 +02: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
6b7b81765c
You can now add and edit context dependent units including dimensional exponents
2021-08-16 15:58:44 +10:00
Dion Moult
fd163a3d1e
Implement ability to add SI units
2021-08-13 16:18:05 +10:00
Dion Moult
671f1ab9cf
New feature to toggle default project unit assignment
2021-08-13 14:58:25 +10:00
Dion Moult
ab38e6bf7c
You can now add and edit monetary units, and basic editing of other unit types.
2021-08-10 17:35:18 +10:00
Dion Moult
326e7e591f
You can now delete unit assignments
2021-08-06 14:11:08 +10:00
Dion Moult
7d087d2919
You can now view all assigned project units
2021-08-06 12:38:18 +10:00
Dion Moult
ae0789e4ec
New assign / unassign declaration usecase, minor code & formatting cleanup
2021-04-07 13:15:16 +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