UNPKG

@plastichub/osr-cad

Version:

This is a CLI(CommandLineInterface) toolset to convert 3D files, using Solidworks and other software.

12 lines (11 loc) 794 B
/// <reference types="node" /> /// <reference types="node" /> import { SlicerOptions } from '../types'; export declare const fileAsBuffer: (path: string) => Buffer; export declare const getSlicrDir: (options: SlicerOptions) => string; export declare const getBin: (options: SlicerOptions) => string; export declare const convertFile: (file: any, target: any, onNode: (data: any) => void, options: SlicerOptions) => Promise<any>; export declare function convertFiles(file: any, targets: string[], onNode: (data: any) => void, options: SlicerOptions): Promise<void | any[]>; export declare const report: (data: any, dst: string) => any; export declare const targets: (f: string, options: SlicerOptions) => any[]; export declare function convert(options: SlicerOptions): Promise<void>;