@plastichub/osr-cad
Version:
This is a CLI(CommandLineInterface) toolset to convert 3D files, using Solidworks and other software.
30 lines • 1.52 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.substitute = exports.logger = void 0;
__exportStar(require("./log"), exports);
__exportStar(require("./types"), exports);
__exportStar(require("./cad/sw-lib"), exports);
__exportStar(require("./_cli"), exports);
__exportStar(require("./sw_argv"), exports);
__exportStar(require("./lib/geometry/dxf"), exports);
const debug_1 = require("@plastichub/core/debug");
const constants_1 = require("./constants");
exports.logger = (0, debug_1.logger)(constants_1.MODULE_NAME);
const strings_1 = require("@plastichub/core/strings");
const substitute = (alt, template, vars) => alt ? (0, strings_1.substituteAlt)(template, vars) : (0, strings_1.substitute)(template, vars);
exports.substitute = substitute;
//# sourceMappingURL=index.js.map