We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77a913 commit b5766d0Copy full SHA for b5766d0
src/core/openjscad.ts
@@ -151,12 +151,13 @@ module MakerJs.exporter {
151
var depthModel: IModel;
152
153
var opts: IOpenJsCadOptions = {
154
- extrusion: 1
+ extrusion: 1,
155
+ accuracy: .0001
156
};
157
158
extendObject(opts, options);
159
- var loops = model.findLoops(modelToExport);
160
+ var loops = model.findLoops(modelToExport, options.accuracy);
161
162
while (depthModel = loops.models[depth]) {
163
var union = '';
@@ -210,6 +211,11 @@ module MakerJs.exporter {
210
211
* Optional size of curve facets.
212
*/
213
facetSize?: number;
214
+
215
+ /**
216
+ * Optional accuracy of points.
217
+ */
218
+ accuracy?: number
219
}
220
221
0 commit comments