solidworks-mcp-server
Version:
Clean Architecture SolidWorks MCP Server - Production-ready with SOLID principles
228 lines • 8.88 kB
TypeScript
import { z } from 'zod';
/**
* VBA Generation for Advanced SolidWorks Features
* Configurations, equations, simulation setup, and advanced automation
*/
export declare const advancedVBATools: ({
name: string;
description: string;
inputSchema: z.ZodObject<{
operation: z.ZodEnum<["create", "derive", "suppress_features", "set_properties", "table_driven"]>;
configName: z.ZodString;
parentConfig: z.ZodOptional<z.ZodString>;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
suppressStates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
displayStates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
operation: "create" | "derive" | "suppress_features" | "set_properties" | "table_driven";
configName: string;
properties?: Record<string, any> | undefined;
parentConfig?: string | undefined;
displayStates?: string[] | undefined;
features?: string[] | undefined;
suppressStates?: Record<string, boolean> | undefined;
}, {
operation: "create" | "derive" | "suppress_features" | "set_properties" | "table_driven";
configName: string;
properties?: Record<string, any> | undefined;
parentConfig?: string | undefined;
displayStates?: string[] | undefined;
features?: string[] | undefined;
suppressStates?: Record<string, boolean> | undefined;
}>;
handler: (args: any) => string;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
operation: z.ZodEnum<["add", "modify", "delete", "link", "export"]>;
equations: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
value: z.ZodString;
isGlobal: z.ZodOptional<z.ZodBoolean>;
comment: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
value: string;
name: string;
comment?: string | undefined;
isGlobal?: boolean | undefined;
}, {
value: string;
name: string;
comment?: string | undefined;
isGlobal?: boolean | undefined;
}>, "many">>;
externalFile: z.ZodOptional<z.ZodString>;
linkExternal: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
operation: "delete" | "export" | "link" | "modify" | "add";
equations?: {
value: string;
name: string;
comment?: string | undefined;
isGlobal?: boolean | undefined;
}[] | undefined;
externalFile?: string | undefined;
linkExternal?: boolean | undefined;
}, {
operation: "delete" | "export" | "link" | "modify" | "add";
equations?: {
value: string;
name: string;
comment?: string | undefined;
isGlobal?: boolean | undefined;
}[] | undefined;
externalFile?: string | undefined;
linkExternal?: boolean | undefined;
}>;
handler: (args: any) => string;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
studyType: z.ZodEnum<["static", "frequency", "buckling", "thermal", "nonlinear", "dynamic"]>;
studyName: z.ZodString;
materials: z.ZodOptional<z.ZodArray<z.ZodObject<{
componentName: z.ZodString;
materialName: z.ZodString;
}, "strip", z.ZodTypeAny, {
componentName: string;
materialName: string;
}, {
componentName: string;
materialName: string;
}>, "many">>;
fixtures: z.ZodOptional<z.ZodArray<z.ZodObject<{
faceName: z.ZodString;
type: z.ZodEnum<["fixed", "roller", "hinge"]>;
}, "strip", z.ZodTypeAny, {
type: "fixed" | "roller" | "hinge";
faceName: string;
}, {
type: "fixed" | "roller" | "hinge";
faceName: string;
}>, "many">>;
loads: z.ZodOptional<z.ZodArray<z.ZodObject<{
faceName: z.ZodString;
type: z.ZodEnum<["force", "pressure", "torque"]>;
value: z.ZodNumber;
unit: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: number;
type: "force" | "pressure" | "torque";
faceName: string;
unit: string;
}, {
value: number;
type: "force" | "pressure" | "torque";
faceName: string;
unit: string;
}>, "many">>;
meshQuality: z.ZodOptional<z.ZodEnum<["draft", "standard", "fine"]>>;
}, "strip", z.ZodTypeAny, {
studyType: "static" | "frequency" | "buckling" | "thermal" | "nonlinear" | "dynamic";
studyName: string;
materials?: {
componentName: string;
materialName: string;
}[] | undefined;
fixtures?: {
type: "fixed" | "roller" | "hinge";
faceName: string;
}[] | undefined;
loads?: {
value: number;
type: "force" | "pressure" | "torque";
faceName: string;
unit: string;
}[] | undefined;
meshQuality?: "draft" | "fine" | "standard" | undefined;
}, {
studyType: "static" | "frequency" | "buckling" | "thermal" | "nonlinear" | "dynamic";
studyName: string;
materials?: {
componentName: string;
materialName: string;
}[] | undefined;
fixtures?: {
type: "fixed" | "roller" | "hinge";
faceName: string;
}[] | undefined;
loads?: {
value: number;
type: "force" | "pressure" | "torque";
faceName: string;
unit: string;
}[] | undefined;
meshQuality?: "draft" | "fine" | "standard" | undefined;
}>;
handler: (args: any) => string;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
automationType: z.ZodEnum<["event_handler", "macro_feature", "property_page", "add_in"]>;
eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["file_save", "file_open", "rebuild", "selection_change", "dimension_change", "feature_add", "configuration_change"]>, "many">>;
className: z.ZodOptional<z.ZodString>;
methods: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
returnType: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
parameters?: string[] | undefined;
returnType?: string | undefined;
}, {
name: string;
parameters?: string[] | undefined;
returnType?: string | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
automationType: "event_handler" | "macro_feature" | "property_page" | "add_in";
eventTypes?: ("file_save" | "file_open" | "rebuild" | "selection_change" | "dimension_change" | "feature_add" | "configuration_change")[] | undefined;
className?: string | undefined;
methods?: {
name: string;
parameters?: string[] | undefined;
returnType?: string | undefined;
}[] | undefined;
}, {
automationType: "event_handler" | "macro_feature" | "property_page" | "add_in";
eventTypes?: ("file_save" | "file_open" | "rebuild" | "selection_change" | "dimension_change" | "feature_add" | "configuration_change")[] | undefined;
className?: string | undefined;
methods?: {
name: string;
parameters?: string[] | undefined;
returnType?: string | undefined;
}[] | undefined;
}>;
handler: (args: any) => string;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
functionName: z.ZodString;
operationType: z.ZodString;
logToFile: z.ZodOptional<z.ZodBoolean>;
logPath: z.ZodOptional<z.ZodString>;
emailOnError: z.ZodOptional<z.ZodBoolean>;
emailAddress: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
functionName: string;
operationType: string;
logToFile?: boolean | undefined;
logPath?: string | undefined;
emailOnError?: boolean | undefined;
emailAddress?: string | undefined;
}, {
functionName: string;
operationType: string;
logToFile?: boolean | undefined;
logPath?: string | undefined;
emailOnError?: boolean | undefined;
emailAddress?: string | undefined;
}>;
handler: (args: any) => string;
})[];
//# sourceMappingURL=vba-advanced.d.ts.map