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

Commit 656d899

Browse files
committed
MINOR: Add BCF authoring tool (#540)
1 parent 797dede commit 656d899

18 files changed

Lines changed: 52 additions & 39 deletions

docs/CollaborationApi.md

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

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

828828
### Example
829829

docs/Model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**name** | **String** | | [optional]
99
**type** | **String** | | [readonly]
1010
**creator** | [**User**](User.md) | | [readonly]
11-
**status** | **String** | |
11+
**status** | **String** | | [readonly]
1212
**source** | **String** | | [optional]
1313
**createdAt** | **Date** | | [readonly]
1414
**updatedAt** | **Date** | | [readonly]

docs/ModelRequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **String** | | [optional]
8-
**status** | **String** | |
98
**source** | **String** | | [optional]
109
**worldPosition** | **[Number]** | [x,y,z] array of the position of the local_placement in world coordinates | [optional]
1110
**sizeRatio** | **Number** | How many meters a unit represents | [optional]

docs/PatchedModelRequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **String** | | [optional]
8-
**status** | **String** | | [optional]
98
**source** | **String** | | [optional]
109
**worldPosition** | **[Number]** | [x,y,z] array of the position of the local_placement in world coordinates | [optional]
1110
**sizeRatio** | **Number** | How many meters a unit represents | [optional]

docs/PatchedViewpointRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**index** | **Number** | | [optional]
88
**guid** | **String** | | [optional]
9+
**authoringView** | **String** | | [optional]
910
**orthogonalCamera** | [**OrthogonalCameraRequest**](OrthogonalCameraRequest.md) | | [optional]
1011
**perspectiveCamera** | [**PerspectiveCameraRequest**](PerspectiveCameraRequest.md) | | [optional]
1112
**lines** | [**[LineRequest]**](LineRequest.md) | | [optional]

docs/Viewpoint.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**index** | **Number** | | [optional]
88
**guid** | **String** | | [optional]
9+
**authoringView** | **String** | | [optional]
910
**orthogonalCamera** | [**OrthogonalCamera**](OrthogonalCamera.md) | | [optional]
1011
**perspectiveCamera** | [**PerspectiveCamera**](PerspectiveCamera.md) | | [optional]
1112
**lines** | [**[Line]**](Line.md) | | [optional]

docs/ViewpointRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**index** | **Number** | | [optional]
88
**guid** | **String** | | [optional]
9+
**authoringView** | **String** | | [optional]
910
**orthogonalCamera** | [**OrthogonalCameraRequest**](OrthogonalCameraRequest.md) | | [optional]
1011
**perspectiveCamera** | [**PerspectiveCameraRequest**](PerspectiveCameraRequest.md) | | [optional]
1112
**lines** | [**[LineRequest]**](LineRequest.md) | | [optional]

src/api/CollaborationApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ export default class CollaborationApi {
750750

751751
/**
752752
* Create a document
753-
* Create a document. If the document is one of {'DAE', 'GLTF', 'IFC', 'DXF', 'DWG', 'OBJ', 'BFX'}, a model will be created and attached to this document Required scopes: document:write
753+
* Create a document. If the document is one of {'DXF', 'DWG', 'IFC', 'DAE', 'OBJ', 'GLTF', 'BFX'}, a model will be created and attached to this document Required scopes: document:write
754754
* @param {Number} cloudPk A unique integer value identifying this cloud.
755755
* @param {Number} projectPk A unique integer value identifying this project.
756756
* @param {String} name Shown name of the file
@@ -818,7 +818,7 @@ export default class CollaborationApi {
818818

819819
/**
820820
* Create a document
821-
* Create a document. If the document is one of {'DAE', 'GLTF', 'IFC', 'DXF', 'DWG', 'OBJ', 'BFX'}, a model will be created and attached to this document Required scopes: document:write
821+
* Create a document. If the document is one of {'DXF', 'DWG', 'IFC', 'DAE', 'OBJ', 'GLTF', 'BFX'}, a model will be created and attached to this document Required scopes: document:write
822822
* @param {Number} cloudPk A unique integer value identifying this cloud.
823823
* @param {Number} projectPk A unique integer value identifying this project.
824824
* @param {String} name Shown name of the file

src/model/ModelRequest.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,18 @@ class ModelRequest {
2222
/**
2323
* Constructs a new <code>ModelRequest</code>.
2424
* @alias module:model/ModelRequest
25-
* @param status {String}
2625
*/
27-
constructor(status) {
26+
constructor() {
2827

29-
ModelRequest.initialize(this, status);
28+
ModelRequest.initialize(this);
3029
}
3130

3231
/**
3332
* Initializes the fields of this object.
3433
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
3534
* Only for internal use.
3635
*/
37-
static initialize(obj, status) {
38-
obj['status'] = status;
36+
static initialize(obj) {
3937
}
4038

4139
/**
@@ -52,9 +50,6 @@ class ModelRequest {
5250
if (data.hasOwnProperty('name')) {
5351
obj['name'] = ApiClient.convertToType(data['name'], 'String');
5452
}
55-
if (data.hasOwnProperty('status')) {
56-
obj['status'] = ApiClient.convertToType(data['status'], 'String');
57-
}
5853
if (data.hasOwnProperty('source')) {
5954
obj['source'] = ApiClient.convertToType(data['source'], 'String');
6055
}
@@ -88,11 +83,6 @@ class ModelRequest {
8883
*/
8984
ModelRequest.prototype['name'] = undefined;
9085

91-
/**
92-
* @member {String} status
93-
*/
94-
ModelRequest.prototype['status'] = undefined;
95-
9686
/**
9787
* @member {module:model/ModelRequest.SourceEnum} source
9888
*/

src/model/PatchedModelRequest.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ class PatchedModelRequest {
5050
if (data.hasOwnProperty('name')) {
5151
obj['name'] = ApiClient.convertToType(data['name'], 'String');
5252
}
53-
if (data.hasOwnProperty('status')) {
54-
obj['status'] = ApiClient.convertToType(data['status'], 'String');
55-
}
5653
if (data.hasOwnProperty('source')) {
5754
obj['source'] = ApiClient.convertToType(data['source'], 'String');
5855
}
@@ -86,11 +83,6 @@ class PatchedModelRequest {
8683
*/
8784
PatchedModelRequest.prototype['name'] = undefined;
8885

89-
/**
90-
* @member {String} status
91-
*/
92-
PatchedModelRequest.prototype['status'] = undefined;
93-
9486
/**
9587
* @member {module:model/PatchedModelRequest.SourceEnum} source
9688
*/

0 commit comments

Comments
 (0)