Skip to content

Commit f8bf0c8

Browse files
committed
MINOR: 2d positioning (#471)
* filter storey models with permissions * rework storey serializer * add positioning plan to m2m (storey-plan) * add route with params id and positioning route renaming * include positioning in storey serializer * fix tests
1 parent 82d96a1 commit f8bf0c8

18 files changed

+1756
-110
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Class | Method | HTTP request | Description
296296
*IfcApi* | [**create_property_set_element_relations**](docs/IfcApi.md#create_property_set_element_relations) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset-element | Create association between PropertySet and element
297297
*IfcApi* | [**create_raw_elements**](docs/IfcApi.md#create_raw_elements) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/element/raw | Create elements in an optimized format
298298
*IfcApi* | [**create_space**](docs/IfcApi.md#create_space) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space | Create a space in the model
299-
*IfcApi* | [**create_storey_plan**](docs/IfcApi.md#create_storey_plan) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/add | Create a 2d model in storey
299+
*IfcApi* | [**create_storey_plan**](docs/IfcApi.md#create_storey_plan) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/add | Create a relation between a 2d model and a storey
300300
*IfcApi* | [**create_system**](docs/IfcApi.md#create_system) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system | Create a system in the model
301301
*IfcApi* | [**create_zone**](docs/IfcApi.md#create_zone) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone | Create a zone in the model
302302
*IfcApi* | [**create_zone_space**](docs/IfcApi.md#create_zone_space) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space | Create a space in a zone
@@ -311,7 +311,7 @@ Class | Method | HTTP request | Description
311311
*IfcApi* | [**delete_property_set**](docs/IfcApi.md#delete_property_set) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Delete a PropertySet of a model
312312
*IfcApi* | [**delete_space**](docs/IfcApi.md#delete_space) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space/{id} | Delete a space
313313
*IfcApi* | [**delete_storey**](docs/IfcApi.md#delete_storey) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{id} | Delete a storey of a model
314-
*IfcApi* | [**delete_storey_plan**](docs/IfcApi.md#delete_storey_plan) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/delete | Delete a 2d model
314+
*IfcApi* | [**delete_storey_plan**](docs/IfcApi.md#delete_storey_plan) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id} | Delete the relation between a 2d model and a storey
315315
*IfcApi* | [**delete_system**](docs/IfcApi.md#delete_system) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system/{uuid} | Delete a system of a model
316316
*IfcApi* | [**delete_zone**](docs/IfcApi.md#delete_zone) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{id} | Delete a zone of a model
317317
*IfcApi* | [**delete_zone_space**](docs/IfcApi.md#delete_zone_space) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space/{id} | Delete a space of a zone
@@ -351,6 +351,7 @@ Class | Method | HTTP request | Description
351351
*IfcApi* | [**get_materials**](docs/IfcApi.md#get_materials) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/element/{element_uuid}/material | Retrieve all materials of a model
352352
*IfcApi* | [**get_model_storey**](docs/IfcApi.md#get_model_storey) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{id} | Retrieve a storey of a model
353353
*IfcApi* | [**get_model_storeys**](docs/IfcApi.md#get_model_storeys) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey | Retrieve all storeys of a model
354+
*IfcApi* | [**get_plan_positioning**](docs/IfcApi.md#get_plan_positioning) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/positioning | Retrieve the postioning of the plan in the storey
354355
*IfcApi* | [**get_processor_handler**](docs/IfcApi.md#get_processor_handler) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler/{id} | Retrieve a processor handler
355356
*IfcApi* | [**get_processor_handlers**](docs/IfcApi.md#get_processor_handlers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler | Get all processor handlers
356357
*IfcApi* | [**get_property_set**](docs/IfcApi.md#get_property_set) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Retrieve a PropertySet of a model
@@ -388,6 +389,7 @@ Class | Method | HTTP request | Description
388389
*IfcApi* | [**update_ifc_property_definition**](docs/IfcApi.md#update_ifc_property_definition) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertydefinition/{id} | Update some fields of many PropertyDefinitions of a model
389390
*IfcApi* | [**update_ifc_unit**](docs/IfcApi.md#update_ifc_unit) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/unit/{id} | Update some fields of a Unit of a model
390391
*IfcApi* | [**update_layer**](docs/IfcApi.md#update_layer) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/layer/{id} | Update some fields of a layer
392+
*IfcApi* | [**update_plan_positioning**](docs/IfcApi.md#update_plan_positioning) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/positioning | Update the postioning of the plan in the storey
391393
*IfcApi* | [**update_processor_handler**](docs/IfcApi.md#update_processor_handler) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler/{id} | Update the status of a processor handler
392394
*IfcApi* | [**update_property_set**](docs/IfcApi.md#update_property_set) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Update some fields of a PropertySet
393395
*IfcApi* | [**update_space**](docs/IfcApi.md#update_space) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space/{id} | Update some fields of a space
@@ -451,6 +453,7 @@ Class | Method | HTTP request | Description
451453
- [InlineObject1](docs/InlineObject1.md)
452454
- [InlineObject2](docs/InlineObject2.md)
453455
- [InlineObject3](docs/InlineObject3.md)
456+
- [InlineObject4](docs/InlineObject4.md)
454457
- [InlineResponse200](docs/InlineResponse200.md)
455458
- [InlineResponse2001](docs/InlineResponse2001.md)
456459
- [Invitation](docs/Invitation.md)
@@ -464,10 +467,12 @@ Class | Method | HTTP request | Description
464467
- [MaterialListComponent](docs/MaterialListComponent.md)
465468
- [MaterialOption](docs/MaterialOption.md)
466469
- [ModelProperty](docs/ModelProperty.md)
470+
- [ModelWithPositioningPlan](docs/ModelWithPositioningPlan.md)
467471
- [Organization](docs/Organization.md)
468472
- [OrthogonalCamera](docs/OrthogonalCamera.md)
469473
- [PerspectiveCamera](docs/PerspectiveCamera.md)
470474
- [Point](docs/Point.md)
475+
- [PositioningPlan](docs/PositioningPlan.md)
471476
- [Priority](docs/Priority.md)
472477
- [ProcessorHandler](docs/ProcessorHandler.md)
473478
- [Project](docs/Project.md)

bimdata_api_client/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
from bimdata_api_client.models.inline_object1 import InlineObject1
7676
from bimdata_api_client.models.inline_object2 import InlineObject2
7777
from bimdata_api_client.models.inline_object3 import InlineObject3
78+
from bimdata_api_client.models.inline_object4 import InlineObject4
7879
from bimdata_api_client.models.inline_response200 import InlineResponse200
7980
from bimdata_api_client.models.inline_response2001 import InlineResponse2001
8081
from bimdata_api_client.models.invitation import Invitation
@@ -88,10 +89,12 @@
8889
from bimdata_api_client.models.material_list_component import MaterialListComponent
8990
from bimdata_api_client.models.material_option import MaterialOption
9091
from bimdata_api_client.models.model_property import ModelProperty
92+
from bimdata_api_client.models.model_with_positioning_plan import ModelWithPositioningPlan
9193
from bimdata_api_client.models.organization import Organization
9294
from bimdata_api_client.models.orthogonal_camera import OrthogonalCamera
9395
from bimdata_api_client.models.perspective_camera import PerspectiveCamera
9496
from bimdata_api_client.models.point import Point
97+
from bimdata_api_client.models.positioning_plan import PositioningPlan
9598
from bimdata_api_client.models.priority import Priority
9699
from bimdata_api_client.models.processor_handler import ProcessorHandler
97100
from bimdata_api_client.models.project import Project

0 commit comments

Comments
 (0)