default: {
custom: ((bindPath, executable, args) => Promise<{
code: number;
data: string;
error: string;
}>);
freefem: ((bindPath, script, callback, nCores, customExecutable?) => Promise<number>);
gmsh: ((bindPath, fileIn, fileOut, callback, customExecutable?) => Promise<number>);
pvpython: ((bindPath, script, fileIn, fileOut, parameters) => Promise<{
code: number;
data: string;
error: string;
}>);
toThree: ((bindPath, fileIn, glbOut, brepOut?) => Promise<{
code: number;
data: string;
error: string;
}>);
} = ...
Type declaration
custom: ((bindPath, executable, args) => Promise<{
code: number;
data: string;
error: string;
}>)
- (bindPath, executable, args): Promise<{
code: number;
data: string;
error: string;
}> Parameters
- bindPath: string
- executable: string
- args: string[]
Returns Promise<{
code: number;
data: string;
error: string;
}>
Code, data, error
freefem: ((bindPath, script, callback, nCores, customExecutable?) => Promise<number>)
- (bindPath, script, callback, nCores, customExecutable?): Promise<number>
Parameters
- bindPath: string
- script: string
- callback: ((data) => void)
- (data): void
Parameters
- data: {
data?: string;
error?: string;
pid?: number;
}Optional
data?: string
Optional
error?: string
Optional
pid?: number
Returns void
- nCores: number
Optional
customExecutable: string
Returns Promise<number>
Code
gmsh: ((bindPath, fileIn, fileOut, callback, customExecutable?) => Promise<number>)
- (bindPath, fileIn, fileOut, callback, customExecutable?): Promise<number>
Parameters
- bindPath: string
- fileIn: string
- fileOut: string
- callback: ((data) => void)
- (data): void
Parameters
- data: {
data?: string;
error?: string;
pid?: number;
}Optional
data?: string
Optional
error?: string
Optional
pid?: number
Returns void
Optional
customExecutable: string
Returns Promise<number>
Code
pvpython: ((bindPath, script, fileIn, fileOut, parameters) => Promise<{
code: number;
data: string;
error: string;
}>)
- (bindPath, script, fileIn, fileOut, parameters): Promise<{
code: number;
data: string;
error: string;
}> Parameters
- bindPath: string
- script: string
- fileIn: string
- fileOut: string
- parameters: string[]
Returns Promise<{
code: number;
data: string;
error: string;
}>
Code, data, error
toThree: ((bindPath, fileIn, glbOut, brepOut?) => Promise<{
code: number;
data: string;
error: string;
}>)
- (bindPath, fileIn, glbOut, brepOut?): Promise<{
code: number;
data: string;
error: string;
}> Parameters
- bindPath: string
- fileIn: string
- glbOut: string
Optional
brepOut: string
Returns Promise<{
code: number;
data: string;
error: string;
}>
Code, data, error
Custom service