Skip to content

Commit b6f0108

Browse files
committed
* turn readSTEP into a truly async function
* add a mutex to prevent two concurrent readSTEP operation as OCC doesn't truly support multithreading
1 parent 4090f7f commit b6f0108

File tree

7 files changed

+32745
-243
lines changed

7 files changed

+32745
-243
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"colors": "latest",
99
"file-utils": "*",
1010
"temporary": "0.0.5",
11-
"gettemporaryfilepath": "0.0.1"
11+
"gettemporaryfilepath": "0.0.1",
12+
"progress": "~0.1.0"
1213
},
1314
"devDependencies": {
1415
"grunt": "~0.4.1",

src/OCC.h

+5
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090

9191
#include <Interface_Static.hxx>
9292

93+
#include "Message_ProgressIndicator.hxx"
94+
9395
//xx #include <MgtBRep.hxx>
9496

9597
#include <Poly_Triangulation.hxx>
@@ -127,6 +129,9 @@
127129
#include <TopoDS_Edge.hxx>
128130
#include <TopoDS_Wire.hxx>
129131
#include <TopoDS_Face.hxx>
132+
#include <Transfer_TransientProcess.hxx>
133+
#include <XSControl_WorkSession.hxx>
134+
130135

131136

132137
#undef Handle

0 commit comments

Comments
 (0)