/** * Enhanced WinAx Adapter for SolidWorks COM Integration * * This adapter wraps the existing winax-based SolidWorksAPI with: * - Parameter limitation workarounds * - Automatic fallback to macro execution for complex operations * - Robust error handling and retry logic * - Connection health monitoring */ import type { SolidWorksFeature, SolidWorksModel } from '../solidworks/types.js'; import type { AdapterHealth, AdapterResult, Command, ExtrusionParameters, ISolidWorksAdapter, LoftParameters, MassProperties, RevolveParameters, SweepParameters } from './types.js'; export declare class WinAxAdapter implements ISolidWorksAdapter { private swApp; private currentModel; private connected; private errorCount; private successCount; private lastHealthCheck; private responseTimings; private macroGenerator; private tempMacroPath; constructor(); connect(): Promise; disconnect(): Promise; isConnected(): boolean; healthCheck(): Promise; execute(command: Command): Promise>; executeRaw(method: string, args: any[]): Promise; openModel(filePath: string): Promise; closeModel(save?: boolean): Promise; createPart(): Promise; createAssembly(): Promise; createDrawing(): Promise; createExtrusion(params: ExtrusionParameters): Promise; private requiresMacroFallback; private createExtrusionViaMacro; private selectSketchForExtrusion; createRevolve(params: RevolveParameters): Promise; createSweep(params: SweepParameters): Promise; createLoft(params: LoftParameters): Promise; createSketch(plane: string): Promise; addLine(x1: number, y1: number, x2: number, y2: number): Promise; addCircle(centerX: number, centerY: number, radius: number): Promise; addRectangle(x1: number, y1: number, x2: number, y2: number): Promise; exitSketch(): Promise; getMassProperties(): Promise; exportFile(filePath: string, format: string): Promise; getDimension(name: string): Promise; setDimension(name: string, value: number): Promise; } /** * Factory function to create WinAx adapter */ export declare function createWinAxAdapter(): Promise; //# sourceMappingURL=winax-adapter.d.ts.map