Andrej730
091ed3bb8d
Fix possible crash removing resource after 1f21e96
2024-11-22 17:13:05 +05:00
Andrej730
6c26403b9c
resource.remove_resource - fix bug removing IfcRelAssignsToResource
...
tuple(resource) was resulting in (GlobalId, OwnerHistory, Name, ...) instead of (resource,), so the check never passed and orphaned IfcRelAssignsToResource was never removed.
2024-11-14 16:38:01 +05:00
Andrej730
1f21e96887
resource.remove_resource - fix bug not removing orphaned ifcrelnests
2024-11-14 16:38:01 +05:00
Dion Moult
07060fc769
Replace all ifcopenshell.api.run with ifcopenshell.api static functions.
2024-06-28 12:36:31 +10:00
Andrej730
5fb7e6e375
resource.remove_resource - fix issue removing resources in ifc2x3
2024-06-03 17:44:05 +05:00
Andrej730
c399eb259a
resource.add_resource_quantity to ensure quantity type is supported
2024-06-03 17:44:05 +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
c05abc4d5b
ifc4x3 support for adding IfcQuantityCount #4776
...
In IFC4X3 IfcQuantityCount is now more strict and requires only interger values.
Error for a reference:
TypeError: attribute 'CountValue' for entity 'IFC4X3.IfcQuantityCount' is expecting value of type 'INT', got 'float'.
2024-05-31 18:20:46 +05:00
Dion Moult
6df6553935
Notify user if duration parsing not available in util.date
2024-05-11 15:14:39 +10:00
Andrej730
1e630ede08
ifc2x3 tests
2024-05-10 19:18:09 +05:00
Andrej730
c50d1ea2fe
typing
2024-05-10 19:18:08 +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
de690a385c
project.assign_declaration - support batching #4474
2024-05-03 16:28:10 +05:00
Andrej730
97db95085a
nest.assign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
b7a3dd4164
black format
2024-01-26 14:54:50 +05:00
Andrej730
352321364c
fix couple building docs errors / warnings
2024-01-24 16:38:53 +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
Sigma Dimensions (Yass)
d3bcb8c6b9
updating a duration will not auto update schedule usage
2023-08-24 15:51:33 +01:00
Sigma Dimensions (Yass)
fc7459c07f
Resource Features :
...
- Adding/removing and edit productivity data is now easier (+ cleaner UI)
- Pressing calculate schedule work on a parent resource will default to calculating its nested resources schedule work.
- Show derived Schedule Work for a parent resource
- Improve apperance of Resource Tree Structure
2023-08-24 13:43:25 +01:00
Sigma Dimensions (Yass)
002985a446
run black
2023-08-23 21:21:19 +01:00
Sigma Dimensions (Yass)
52ea4ff44d
Calculates the number of resources based on required person-hours.
2023-08-23 21:19:16 +01:00
Sigma Dimensions (Yass)
66f5081ada
implement calculating task duration based on resource usage change for fixed person-hours and prevent constrained attributes from updating
2023-08-23 02:19:44 +01:00
Sigma Dimensions
107873cf6e
- refactor IOS.API resource calculation to re-use shared utilities
...
- run black
2023-04-30 15:35:17 +01: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
2805109cef
Write documentation for sequence API module
2023-01-03 17:31:48 +11:00
Sigma Dimensions
b206e90097
Proposal to use parent productivity to calculate resource work.
2022-12-18 04:17:17 +01:00
Dion Moult
436482532d
Write documentation for resource API module
2022-12-16 15:07:02 +11:00
Sigma Dimensions
96d19952e9
Quality check - run black on api/resource
2022-09-08 03:15:41 +01:00
Sigma Dimensions
57caf6a31f
IfcOpenShell API: Deep purge resources upon removal
2022-09-08 03:12:44 +01: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
70ba681b35
Resource work duration can now be calculated based on counting produced products.
2021-09-20 13:27:26 +10:00
Dion Moult
e2b5ecf0a1
Resource work durations can now be calculated either daily or hourly
2021-09-20 13:26:01 +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
faaeef92de
You can now edit resource base quantity
2021-08-28 14:38:20 +10:00
Dion Moult
b272210a97
Resource base costs are now supported with all the features coming from the cost module.
2021-08-27 17:12:21 +10:00
Dion Moult
8c97b53bd2
You can now store productivity rates and calculate resource work parametrically based on productivity
2021-08-25 18:15:19 +10:00
Dion Moult
1187ad5fea
Implement new ICOM-based UI for managing process inputs, outputs, and resources
2021-08-24 18:08:06 +10:00
Dion Moult
1d42ce04eb
Fix bug where editing a schedule finish date by itself wouldn't work
2021-08-10 10:55:01 +10:00
bosonprojets
023dd289fa
BlenderBIM and ifcopenshell.api features to enable adding and editing resource time information
2021-08-10 00:59:20 +01:00
bosonprojets
6899f9fa8f
Feature to enable assigning Construction Resources to Tasks
2021-08-09 03:14:11 +01:00
Dion Moult
f88ac5de62
Minor code review to assign / unassign resource products
2021-04-26 09:38:45 +10:00
bosonprojets
cdd456bede
Assign and Unassign resources to scene objects in BlenderBIM
2021-04-25 23:25:05 +00:00
bosonprojets
7041d17c16
Unassign Resources Usecase added to the ifcopenshel.api
2021-04-25 22:59:01 +00:00
Dion Moult
de842f7aba
Code review with myoualid for IFC resource module
2021-04-25 12:29:11 +10:00
bosonprojets
6107c39c1c
Update to IfcResources panel and authoring subtypes of IfcConstructionResource with ifcopenshell.api
2021-04-24 23:34:38 +00:00