Variable defaultConst

    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;
          }>
        • Custom service

          Parameters

          • bindPath: string

            Path

          • executable: string

            Executable

          • args: string[]

            Arguments

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

          Code, data, error

          Description

          Use tanatloc/worker docker custom command

    • freefem: ((bindPath, script, callback, nCores, customExecutable?) => Promise<number>)
        • (bindPath, script, callback, nCores, customExecutable?): Promise<number>
        • FreeFEM service

          Parameters

          • bindPath: string

            Path

          • script: string

            Script (POSIX path)

          • callback: ((data) => void)

            Callback

              • (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

            Custom executable

          Returns Promise<number>

          Code

    • gmsh: ((bindPath, fileIn, fileOut, callback, customExecutable?) => 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) => void)

            Callback

              • (data): void
              • Parameters

                • data: {
                      data?: string;
                      error?: string;
                      pid?: number;
                  }
                  • Optional data?: string
                  • Optional error?: string
                  • Optional pid?: number

                Returns void

          • Optional customExecutable: string

            Custom executable

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

          Parameters

          • bindPath: string

            Path

          • fileIn: string

            In file (POSIX path)

          • glbOut: string

            Out file (POSIX path)

          • Optional brepOut: string

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

          Code, data, error

          Description

          Convert step, dxf, mesh, vtu to threeJS

          Memberof

          Services

    Generated using TypeDoc and TypeDoc Airthium Plugin