Variable defaultConst

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

    Type declaration

    • custom: ((bindPath: string, executable: string, args: string[]) => Promise<{
          code: number;
          data: string;
          error: string;
      }>)
        • (bindPath, executable, args): Promise<{
              code: number;
              data: string;
              error: string;
          }>
        • Custom service

          Use tanatloc/worker docker custom command

          Parameters

          • bindPath: string

            Path

          • executable: string

            Executable

          • args: string[]

            Arguments

          Returns Promise<{
              code: number;
              data: string;
              error: string;
          }>

          Code, data, error

    • freefem: ((bindPath: string, script: string, callback: ((data: {
          data?: string;
          error?: string;
          pid?: number;
      }) => void), nCores: number, customExecutable?: string) => Promise<number>)
        • (bindPath, script, callback, nCores, customExecutable?): Promise<number>
        • FreeFEM service

          Parameters

          • bindPath: string

            Path

          • script: string

            Script (POSIX path)

          • callback: ((data: {
                data?: string;
                error?: string;
                pid?: number;
            }) => void)

            Callback

              • (data): void
              • Parameters

                • data: {
                      data?: string;
                      error?: string;
                      pid?: number;
                  }
                  • Optionaldata?: string
                  • Optionalerror?: string
                  • Optionalpid?: number

                Returns void

          • nCores: number
          • OptionalcustomExecutable: string

            Custom executable

          Returns Promise<number>

          Code

    • gmsh: ((bindPath: string, fileIn: string, fileOut: string, callback: ((data: {
          data?: string;
          error?: string;
          pid?: number;
      }) => void), customExecutable?: string) => Promise<number>)
        • (bindPath, fileIn, fileOut, callback, customExecutable?): Promise<number>
        • Gmsh service

          Parameters

          • bindPath: string

            Path

          • fileIn: string

            In file (POSIX path)

          • fileOut: string

            Out file (POSIX path)

          • callback: ((data: {
                data?: string;
                error?: string;
                pid?: number;
            }) => void)

            Callback

              • (data): void
              • Parameters

                • data: {
                      data?: string;
                      error?: string;
                      pid?: number;
                  }
                  • Optionaldata?: string
                  • Optionalerror?: string
                  • Optionalpid?: number

                Returns void

          • OptionalcustomExecutable: string

            Custom executable

          Returns Promise<number>

          Code

    • pvpython: ((bindPath: string, script: string, fileIn: string, fileOut: string, parameters: string[]) => Promise<{
          code: number;
          data: string;
          error: string;
      }>)
        • (bindPath, script, fileIn, fileOut, parameters): Promise<{
              code: number;
              data: string;
              error: string;
          }>
        • pvpython service

          Parameters

          • bindPath: string

            Path

          • script: string

            Script (POSIX path)

          • fileIn: string

            File in (POSIX path)

          • fileOut: string

            File out (POSIX path)

          • parameters: string[]

            Parameters

          Returns Promise<{
              code: number;
              data: string;
              error: string;
          }>

          Code, data, error

    • toThree: ((bindPath: string, fileIn: string, glbOut: string, brepOut?: string) => Promise<{
          code: number;
          data: string;
          error: string;
      }>)
        • (bindPath, fileIn, glbOut, brepOut?): Promise<{
              code: number;
              data: string;
              error: string;
          }>
        • toThree service

          Convert step, dxf, mesh, vtu to threeJS

          Parameters

          • bindPath: string

            Path

          • fileIn: string

            In file (POSIX path)

          • glbOut: string

            Out file (POSIX path)

          • OptionalbrepOut: string

          Returns Promise<{
              code: number;
              data: string;
              error: string;
          }>

          Code, data, error

    Generated using TypeDoc and TypeDoc Airthium Plugin