MCPcopy Create free account
hub / github.com/OpenWebCAD/node-occ / makeShape

Function makeShape

test/test_fastbuilder.js:5–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3const fastBuilder = fastBuilder_.fastBuilder;
4
5function makeShape() {
6 let e = 20;
7 let s1 = fast_occ.makeBox([10, e, 30], [110, 120, 130]);
8 let s2 = fast_occ.makeBox(100, 200, 300);
9 let s3 = fast_occ.fuse(s1, s2);
10 s3 = s3.translate([0,20,30]);
11 s3= s3.translate([0,20,30]);
12 return s3;
13}
14
15function startChronometer() {
16 return process.hrtime();

Callers 2

installForFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected