@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
29 lines (28 loc) • 1.34 kB
TypeScript
/**
* Loads a .STEP file
*
*
*/
import { CADSopNode } from './_BaseCAD';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { SopType } from '../../poly/registers/nodes/types/Sop';
import { CoreGroup } from '../../../core/geometry/Group';
import { STEPLoaderHandler } from '../../../core/loader/geometry/STEP';
declare class CADFileSTEPSopParamsConfig extends NodeParamsConfig {
/** @param url to load the geometry from */
url: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>;
/** @param sets the matrixAutoUpdate attribute for the objects loaded */
matrixAutoUpdate: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>;
/** @param reload the geometry */
reload: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BUTTON>;
}
export declare class CADFileSTEPSopNode extends CADSopNode<CADFileSTEPSopParamsConfig> {
readonly paramsConfig: CADFileSTEPSopParamsConfig;
static type(): SopType;
dispose(): void;
cook(inputCoreGroups: CoreGroup[]): Promise<void>;
protected _createGeoLoaderHandler(url: string): STEPLoaderHandler;
static PARAM_CALLBACK_reload(node: CADFileSTEPSopNode): void;
private _paramCallbackReload;
}
export {};