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

Function createProxyObject

lib/fastbuilder.js:286–297  ·  view source on GitHub ↗
(originalObject)

Source from the content-addressed store, hash-verified

284occ.makeBottle = shapeFactory.makeBottle;
285
286function createProxyObject(originalObject) {
287
288 const proxyObject = {};
289 const properties = Object.keys(originalObject);
290 properties.forEach((funcName) => {
291
292 replaceFunc(proxyObject, originalObject, funcName);
293
294 });
295 return proxyObject;
296
297}
298
299/*
300 * [

Callers 1

fastbuilder.jsFile · 0.85

Calls 1

replaceFuncFunction · 0.85

Tested by

no test coverage detected