@@ -3,8 +3,8 @@ import * as Inputs from '../../api/inputs/inputs';
3
3
import { OccHelper } from './occ-helper' ;
4
4
import { OCCTBooleans } from './services/booleans' ;
5
5
import { OCCTGeom } from './services/geom/geom' ;
6
- import { OCCTAdvanced } from './services/advanced/advanced' ;
7
- // import { OCCTAdvanced } from './services/advanced-mock/advanced';
6
+ // import { OCCTAdvanced } from './services/advanced/advanced';
7
+ import { OCCTAdvanced } from './services/advanced-mock/advanced' ;
8
8
import { OCCTIO } from './services/io' ;
9
9
import { OCCTOperations } from './services/operations' ;
10
10
import { OCCTShapes } from './services/shapes/shapes' ;
@@ -152,36 +152,6 @@ export class Occ {
152
152
thisFace . number_of_triangles = validFaceTriCount ;
153
153
faceList . push ( thisFace ) ;
154
154
155
- // this.forEachEdge(myFace, (index, myEdge) => {
156
- // const edgeHash = myEdge.HashCode(100000000);
157
- // if (fullShapeEdgeHashes2.hasOwnProperty(edgeHash)) {
158
- // const thisEdge = {
159
- // vertex_coord: [],
160
- // edge_index: -1
161
- // };
162
-
163
- // const myP = this.occ.BRep_Tool.PolygonOnTriangulation_1(myEdge, myT, aLocation);
164
- // const edgeNodes = myP.get().Nodes();
165
-
166
- // // write vertex buffer
167
- // thisEdge.vertex_coord = [];
168
- // for (let j = 0; j < edgeNodes.Length(); j++) {
169
- // const vertexIndex = edgeNodes.Value(j + 1);
170
- // thisEdge.vertex_coord.push([
171
- // thisFace.vertex_coord[((vertexIndex - 1) * 3) + 0],
172
- // thisFace.vertex_coord[((vertexIndex - 1) * 3) + 1],
173
- // thisFace.vertex_coord[((vertexIndex - 1) * 3) + 2]
174
- // ]);
175
- // }
176
-
177
- // console.log('haha ', index);
178
- // thisEdge.edge_index = index;
179
-
180
- // edgeList.push(thisEdge);
181
- // } else {
182
- // fullShapeEdgeHashes2[edgeHash] = edgeHash;
183
- // }
184
- // });
185
155
triangulations . push ( myT ) ;
186
156
187
157
aLocation . delete ( ) ;
0 commit comments