Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit ca5789b

Browse files
committed
MINOR: Point cloud
1 parent 3da7a79 commit ca5789b

File tree

15 files changed

+609
-9
lines changed

15 files changed

+609
-9
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ Class | Method | HTTP request | Description
361361
*bimdata.IfcApi* | [**createStoreyDeprecated**](docs/IfcApi.md#createStoreyDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey | Create a storey of a model
362362
*bimdata.IfcApi* | [**createStoreyPlanDeprecated**](docs/IfcApi.md#createStoreyPlanDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_uuid}/plan/add | Create a relation between a 2d model and a storey
363363
*bimdata.IfcApi* | [**createSystemDeprecated**](docs/IfcApi.md#createSystemDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system | Create a system in the model
364+
*bimdata.IfcApi* | [**createTilesetDeprecated**](docs/IfcApi.md#createTilesetDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{id}/tileset | Create the tileset of the model and upload all files
364365
*bimdata.IfcApi* | [**createZoneDeprecated**](docs/IfcApi.md#createZoneDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone | Create a zone in the model
365366
*bimdata.IfcApi* | [**createZoneSpaceDeprecated**](docs/IfcApi.md#createZoneSpaceDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space | Create a space in a zone
366367
*bimdata.IfcApi* | [**deleteAccessTokenDeprecated**](docs/IfcApi.md#deleteAccessTokenDeprecated) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/access_token/{token} | Delete a token
@@ -436,6 +437,7 @@ Class | Method | HTTP request | Description
436437
*bimdata.IfcApi* | [**getStoreysDeprecated**](docs/IfcApi.md#getStoreysDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey | Retrieve all storeys of a model
437438
*bimdata.IfcApi* | [**getSystemDeprecated**](docs/IfcApi.md#getSystemDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system/{uuid} | Retrieve a system of a model
438439
*bimdata.IfcApi* | [**getSystemsDeprecated**](docs/IfcApi.md#getSystemsDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system | Retrieve all systems of a model
440+
*bimdata.IfcApi* | [**getTilesetDeprecated**](docs/IfcApi.md#getTilesetDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{id}/tileset | Retrieve the tileset of the model
439441
*bimdata.IfcApi* | [**getZoneDeprecated**](docs/IfcApi.md#getZoneDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{id} | Retrieve one zone of a model
440442
*bimdata.IfcApi* | [**getZoneSpaceDeprecated**](docs/IfcApi.md#getZoneSpaceDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space/{id} | Retrieve one space of a zone
441443
*bimdata.IfcApi* | [**getZoneSpacesDeprecated**](docs/IfcApi.md#getZoneSpacesDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space | Retrieve all spaces of a zone
@@ -513,6 +515,7 @@ Class | Method | HTTP request | Description
513515
*bimdata.ModelApi* | [**createStorey**](docs/ModelApi.md#createStorey) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/storey | Create a storey of a model
514516
*bimdata.ModelApi* | [**createStoreyPlan**](docs/ModelApi.md#createStoreyPlan) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/storey/{storey_uuid}/plan/add | Create a relation between a 2d model and a storey
515517
*bimdata.ModelApi* | [**createSystem**](docs/ModelApi.md#createSystem) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/system | Create a system in the model
518+
*bimdata.ModelApi* | [**createTileset**](docs/ModelApi.md#createTileset) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/tileset | Create the tileset of the model and upload all files
516519
*bimdata.ModelApi* | [**createZone**](docs/ModelApi.md#createZone) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone | Create a zone in the model
517520
*bimdata.ModelApi* | [**createZoneSpace**](docs/ModelApi.md#createZoneSpace) | **POST** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone/{zone_pk}/space | Create a space in a zone
518521
*bimdata.ModelApi* | [**deleteAccessToken**](docs/ModelApi.md#deleteAccessToken) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/access_token/{token} | Delete a token
@@ -582,6 +585,7 @@ Class | Method | HTTP request | Description
582585
*bimdata.ModelApi* | [**getStoreys**](docs/ModelApi.md#getStoreys) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/storey | Retrieve all storeys of a model
583586
*bimdata.ModelApi* | [**getSystem**](docs/ModelApi.md#getSystem) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/system/{uuid} | Retrieve a system of a model
584587
*bimdata.ModelApi* | [**getSystems**](docs/ModelApi.md#getSystems) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/system | Retrieve all systems of a model
588+
*bimdata.ModelApi* | [**getTileset**](docs/ModelApi.md#getTileset) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/tileset | Retrieve the tileset of the model
585589
*bimdata.ModelApi* | [**getZone**](docs/ModelApi.md#getZone) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone/{id} | Retrieve one zone of a model
586590
*bimdata.ModelApi* | [**getZoneSpace**](docs/ModelApi.md#getZoneSpace) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone/{zone_pk}/space/{id} | Retrieve one space of a zone
587591
*bimdata.ModelApi* | [**getZoneSpaces**](docs/ModelApi.md#getZoneSpaces) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone/{zone_pk}/space | Retrieve all spaces of a zone

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ Name | Type | Description | Notes
824824
825825
Create a document
826826

827-
Create a document. If the document is one of {'IFC', 'DAE', 'OBJ', 'DWG', 'BFX', 'GLTF', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
827+
Create a document. If the document is one of {'GLTF', 'DWG', 'POINT_CLOUD', 'BFX', 'OBJ', 'IFC', 'DAE', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
828828

829829
### Example
830830

docs/Document.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**createdAt** | **Date** | Creation date | [readonly]
1919
**updatedAt** | **Date** | Date of the last update | [readonly]
2020
**modelId** | **Number** | | [readonly]
21-
**modelType** | **String** | Model's type. Values can be IFC, DWG, DXF, GLTF, PDF, JPEG, PNG, OBJ, DAE, BFX | [readonly]
21+
**modelType** | **String** | Model's type. Values can be IFC, DWG, DXF, GLTF, PDF, JPEG, PNG, OBJ, DAE, BFX, POINT_CLOUD | [readonly]
2222
**ifcId** | **Number** | DEPRECATED: Use 'model_id' instead. | [readonly]
2323
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
2424
**isHeadVersion** | **Boolean** | Document is a head of version or is owned by another document | [readonly]
@@ -48,6 +48,8 @@ Name | Type | Description | Notes
4848

4949
* `BFX` (value: `"BFX"`)
5050

51+
* `POINT_CLOUD` (value: `"POINT_CLOUD"`)
52+
5153
* `null` (value: `"null"`)
5254

5355

docs/IfcApi.md

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Method | HTTP request | Description
4141
[**createStoreyDeprecated**](IfcApi.md#createStoreyDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey | Create a storey of a model
4242
[**createStoreyPlanDeprecated**](IfcApi.md#createStoreyPlanDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_uuid}/plan/add | Create a relation between a 2d model and a storey
4343
[**createSystemDeprecated**](IfcApi.md#createSystemDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system | Create a system in the model
44+
[**createTilesetDeprecated**](IfcApi.md#createTilesetDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{id}/tileset | Create the tileset of the model and upload all files
4445
[**createZoneDeprecated**](IfcApi.md#createZoneDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone | Create a zone in the model
4546
[**createZoneSpaceDeprecated**](IfcApi.md#createZoneSpaceDeprecated) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space | Create a space in a zone
4647
[**deleteAccessTokenDeprecated**](IfcApi.md#deleteAccessTokenDeprecated) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/access_token/{token} | Delete a token
@@ -116,6 +117,7 @@ Method | HTTP request | Description
116117
[**getStoreysDeprecated**](IfcApi.md#getStoreysDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey | Retrieve all storeys of a model
117118
[**getSystemDeprecated**](IfcApi.md#getSystemDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system/{uuid} | Retrieve a system of a model
118119
[**getSystemsDeprecated**](IfcApi.md#getSystemsDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system | Retrieve all systems of a model
120+
[**getTilesetDeprecated**](IfcApi.md#getTilesetDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{id}/tileset | Retrieve the tileset of the model
119121
[**getZoneDeprecated**](IfcApi.md#getZoneDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{id} | Retrieve one zone of a model
120122
[**getZoneSpaceDeprecated**](IfcApi.md#getZoneSpaceDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space/{id} | Retrieve one space of a zone
121123
[**getZoneSpacesDeprecated**](IfcApi.md#getZoneSpacesDeprecated) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space | Retrieve all spaces of a zone
@@ -2690,6 +2692,71 @@ Name | Type | Description | Notes
26902692
- **Accept**: application/json
26912693

26922694

2695+
## createTilesetDeprecated
2696+
2697+
> createTilesetDeprecated(cloudPk, id, projectPk)
2698+
2699+
Create the tileset of the model and upload all files
2700+
2701+
This route is internaly used by BIMData, you probably don't want to use it Required scopes: ifc:write, model:write
2702+
2703+
### Example
2704+
2705+
```javascript
2706+
import bimdata from '@bimdata/bimdata-api-client';
2707+
let defaultClient = bimdata.ApiClient.instance;
2708+
// Configure API key authorization: ApiKey
2709+
let ApiKey = defaultClient.authentications['ApiKey'];
2710+
ApiKey.apiKey = 'YOUR API KEY';
2711+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
2712+
//ApiKey.apiKeyPrefix = 'Token';
2713+
// Configure OAuth2 access token for authorization: BIMData_Connect
2714+
let BIMData_Connect = defaultClient.authentications['BIMData_Connect'];
2715+
BIMData_Connect.accessToken = 'YOUR ACCESS TOKEN';
2716+
// Configure OAuth2 access token for authorization: BIMData_Connect
2717+
let BIMData_Connect = defaultClient.authentications['BIMData_Connect'];
2718+
BIMData_Connect.accessToken = 'YOUR ACCESS TOKEN';
2719+
// Configure API key authorization: Bearer
2720+
let Bearer = defaultClient.authentications['Bearer'];
2721+
Bearer.apiKey = 'YOUR API KEY';
2722+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
2723+
//Bearer.apiKeyPrefix = 'Token';
2724+
2725+
let apiInstance = new bimdata.IfcApi();
2726+
let cloudPk = 56; // Number |
2727+
let id = 56; // Number | A unique integer value identifying this model.
2728+
let projectPk = 56; // Number |
2729+
apiInstance.createTilesetDeprecated(cloudPk, id, projectPk).then(() => {
2730+
console.log('API called successfully.');
2731+
}, (error) => {
2732+
console.error(error);
2733+
});
2734+
2735+
```
2736+
2737+
### Parameters
2738+
2739+
2740+
Name | Type | Description | Notes
2741+
------------- | ------------- | ------------- | -------------
2742+
**cloudPk** | **Number**| |
2743+
**id** | **Number**| A unique integer value identifying this model. |
2744+
**projectPk** | **Number**| |
2745+
2746+
### Return type
2747+
2748+
null (empty response body)
2749+
2750+
### Authorization
2751+
2752+
[ApiKey](../README.md#ApiKey), [BIMData_Connect](../README.md#BIMData_Connect), [BIMData_Connect](../README.md#BIMData_Connect), [Bearer](../README.md#Bearer)
2753+
2754+
### HTTP request headers
2755+
2756+
- **Content-Type**: Not defined
2757+
- **Accept**: Not defined
2758+
2759+
26932760
## createZoneDeprecated
26942761

26952762
> [Zone] createZoneDeprecated(cloudPk, ifcPk, projectPk, zoneRequest, opts)
@@ -7749,6 +7816,75 @@ Name | Type | Description | Notes
77497816
- **Accept**: application/json
77507817

77517818

7819+
## getTilesetDeprecated
7820+
7821+
> getTilesetDeprecated(cloudPk, id, projectPk, opts)
7822+
7823+
Retrieve the tileset of the model
7824+
7825+
This is only availble if the model is a POINT_CLOUD Required scopes: ifc:read, model:read
7826+
7827+
### Example
7828+
7829+
```javascript
7830+
import bimdata from '@bimdata/bimdata-api-client';
7831+
let defaultClient = bimdata.ApiClient.instance;
7832+
// Configure API key authorization: ApiKey
7833+
let ApiKey = defaultClient.authentications['ApiKey'];
7834+
ApiKey.apiKey = 'YOUR API KEY';
7835+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
7836+
//ApiKey.apiKeyPrefix = 'Token';
7837+
// Configure OAuth2 access token for authorization: BIMData_Connect
7838+
let BIMData_Connect = defaultClient.authentications['BIMData_Connect'];
7839+
BIMData_Connect.accessToken = 'YOUR ACCESS TOKEN';
7840+
// Configure OAuth2 access token for authorization: BIMData_Connect
7841+
let BIMData_Connect = defaultClient.authentications['BIMData_Connect'];
7842+
BIMData_Connect.accessToken = 'YOUR ACCESS TOKEN';
7843+
// Configure API key authorization: Bearer
7844+
let Bearer = defaultClient.authentications['Bearer'];
7845+
Bearer.apiKey = 'YOUR API KEY';
7846+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
7847+
//Bearer.apiKeyPrefix = 'Token';
7848+
7849+
let apiInstance = new bimdata.IfcApi();
7850+
let cloudPk = 56; // Number |
7851+
let id = 56; // Number | A unique integer value identifying this model.
7852+
let projectPk = 56; // Number |
7853+
let opts = {
7854+
'tileFormat': "'pnts'" // String |
7855+
};
7856+
apiInstance.getTilesetDeprecated(cloudPk, id, projectPk, opts).then(() => {
7857+
console.log('API called successfully.');
7858+
}, (error) => {
7859+
console.error(error);
7860+
});
7861+
7862+
```
7863+
7864+
### Parameters
7865+
7866+
7867+
Name | Type | Description | Notes
7868+
------------- | ------------- | ------------- | -------------
7869+
**cloudPk** | **Number**| |
7870+
**id** | **Number**| A unique integer value identifying this model. |
7871+
**projectPk** | **Number**| |
7872+
**tileFormat** | **String**| | [optional] [default to 'pnts']
7873+
7874+
### Return type
7875+
7876+
null (empty response body)
7877+
7878+
### Authorization
7879+
7880+
[ApiKey](../README.md#ApiKey), [BIMData_Connect](../README.md#BIMData_Connect), [BIMData_Connect](../README.md#BIMData_Connect), [Bearer](../README.md#Bearer)
7881+
7882+
### HTTP request headers
7883+
7884+
- **Content-Type**: Not defined
7885+
- **Accept**: Not defined
7886+
7887+
77527888
## getZoneDeprecated
77537889

77547890
> Zone getZoneDeprecated(cloudPk, id, ifcPk, projectPk)

docs/Model.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Name | Type | Description | Notes
5656

5757
* `BFX` (value: `"BFX"`)
5858

59+
* `POINT_CLOUD` (value: `"POINT_CLOUD"`)
60+
5961
* `METABUILDING` (value: `"METABUILDING"`)
6062

6163

0 commit comments

Comments
 (0)