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

Commit 644fffd

Browse files
committed
MINOR: add recommanded_2d_angle (#403)
1 parent 65cb1b6 commit 644fffd

5 files changed

Lines changed: 19 additions & 3 deletions

File tree

docs/Document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**createdAt** | **Date** | Creation date | [optional] [readonly]
1818
**updatedAt** | **Date** | Date of the last update | [optional] [readonly]
1919
**ifcSource** | **String** | Define the ifc.source field if the upload is an IFC | [optional]
20-
**ifcId** | **Number** | | [optional] [readonly]
20+
**ifcId** | **String** | | [optional] [readonly]
2121

2222

2323

docs/Ifc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
2727
**archived** | **Boolean** | | [optional]
2828
**version** | **String** | This field is only for information. Updating it won't impact the export. | [optional]
2929
**northVector** | **[[Number]]** | This field is only for information. Updating it won't impact the export. | [optional]
30+
**recommanded2dAngle** | **Number** | This is the angle in clockwise degree to apply on the 2D to optimise the horizontality of objects. This field is only for information. Updating it won't impact the export. | [optional]
3031

3132

3233

src/model/Document.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Document {
8989
obj['ifc_source'] = ApiClient.convertToType(data['ifc_source'], 'String');
9090
}
9191
if (data.hasOwnProperty('ifc_id')) {
92-
obj['ifc_id'] = ApiClient.convertToType(data['ifc_id'], 'Number');
92+
obj['ifc_id'] = ApiClient.convertToType(data['ifc_id'], 'String');
9393
}
9494
}
9595
return obj;
@@ -171,7 +171,7 @@ Document.prototype['updated_at'] = undefined;
171171
Document.prototype['ifc_source'] = undefined;
172172

173173
/**
174-
* @member {Number} ifc_id
174+
* @member {String} ifc_id
175175
*/
176176
Document.prototype['ifc_id'] = undefined;
177177

src/model/Ifc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ class Ifc {
118118
if (data.hasOwnProperty('north_vector')) {
119119
obj['north_vector'] = ApiClient.convertToType(data['north_vector'], [['Number']]);
120120
}
121+
if (data.hasOwnProperty('recommanded_2d_angle')) {
122+
obj['recommanded_2d_angle'] = ApiClient.convertToType(data['recommanded_2d_angle'], 'Number');
123+
}
121124
}
122125
return obj;
123126
}
@@ -245,6 +248,12 @@ Ifc.prototype['version'] = undefined;
245248
*/
246249
Ifc.prototype['north_vector'] = undefined;
247250

251+
/**
252+
* This is the angle in clockwise degree to apply on the 2D to optimise the horizontality of objects. This field is only for information. Updating it won't impact the export.
253+
* @member {Number} recommanded_2d_angle
254+
*/
255+
Ifc.prototype['recommanded_2d_angle'] = undefined;
256+
248257

249258

250259

test/model/Ifc.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@
192192
//expect(instance).to.be();
193193
});
194194

195+
it('should have the property recommanded2dAngle (base name: "recommanded_2d_angle")', function() {
196+
// uncomment below and update the code to test the property recommanded2dAngle
197+
//var instane = new bimdata.Ifc();
198+
//expect(instance).to.be();
199+
});
200+
195201
});
196202

197203
}));

0 commit comments

Comments
 (0)