Overview
/
Developer Tools
/
API Reference
/
File
/
Get CAD file density.

Get CAD file density

Query string parameters

  • ?src_format=

    "acis"+12
    • //ACIS part format.
      "acis"
    • //CATIA part format.
      "catia"
    • //PTC Creo part format.
      "creo"
    • //Autodesk Filmbox (FBX) format. <https://en.wikipedia.org/wiki/FBX>
      "fbx"
    • //glTF 2.0.
      "gltf"
    • //Autodesk Inventor part format.
      "inventor"
    • //Siemens NX part format.
      "nx"
    • //The OBJ file format. <https://en.wikipedia.org/wiki/Wavefront_.obj_file> It may or may not have an an attached material (mtl // mtllib) within the file, but we interact with it as if it does not.
      "obj"
    • //Parasolid part format.
      "parasolid"
    • //The PLY file format. <https://en.wikipedia.org/wiki/PLY_(file_format)>
      "ply"
    • //SolidWorks part (SLDPRT) format.
      "sldprt"
    • //The STEP file format. <https://en.wikipedia.org/wiki/ISO_10303-21>
      "step"
    • //The STL file format. <https://en.wikipedia.org/wiki/STL_(file_format)>
      "stl"
    //
  • &material_mass=

    double
    //
  • &material_mass_unit=

    "g"+2
    • //Grams <https://en.wikipedia.org/wiki/Gram>
      "g"
    • //Kilograms <https://en.wikipedia.org/wiki/Kilogram>
      "kg"
    • //Pounds <https://en.wikipedia.org/wiki/Pound_(mass)>
      "lb"
    //
  • &output_unit=

    "lb:ft3"+1
    • //Pounds per cubic feet.
      "lb:ft3"
    • //Kilograms per cubic meter.
      "kg:m3"
    //

HTTP Request

  • HTTP BodyBinary

    Content-Type:application/octet

Response

  • 201 Created
    • //
      • completed_at:

        stringISO-8601,
        //
      • created_at:

        stringISO-8601,
        //
      • density:

        numberdouble,
        //
      • error:

        string,
        //
      • id:

        stringUUID,
        //
      • material_mass:

        numberdouble,
        //
      • started_at:

        stringISO-8601,
        //
      • updated_at:

        stringISO-8601,
        //
      • user_id:

        stringUUID,
        //
      • material_mass_unit:

        "g"+2
        • //Grams <https://en.wikipedia.org/wiki/Gram>
          "g"
        • //Kilograms <https://en.wikipedia.org/wiki/Kilogram>
          "kg"
        • //Pounds <https://en.wikipedia.org/wiki/Pound_(mass)>
          "lb"
        ,
        //
      • output_unit:

        "lb:ft3"+1
        • //Pounds per cubic feet.
          "lb:ft3"
        • //Kilograms per cubic meter.
          "kg:m3"
        ,
        //
      • src_format:

        "acis"+12
        • //ACIS part format.
          "acis"
        • //CATIA part format.
          "catia"
        • //PTC Creo part format.
          "creo"
        • //Autodesk Filmbox (FBX) format. <https://en.wikipedia.org/wiki/FBX>
          "fbx"
        • //glTF 2.0.
          "gltf"
        • //Autodesk Inventor part format.
          "inventor"
        • //Siemens NX part format.
          "nx"
        • //The OBJ file format. <https://en.wikipedia.org/wiki/Wavefront_.obj_file> It may or may not have an an attached material (mtl // mtllib) within the file, but we interact with it as if it does not.
          "obj"
        • //Parasolid part format.
          "parasolid"
        • //The PLY file format. <https://en.wikipedia.org/wiki/PLY_(file_format)>
          "ply"
        • //SolidWorks part (SLDPRT) format.
          "sldprt"
        • //The STEP file format. <https://en.wikipedia.org/wiki/ISO_10303-21>
          "step"
        • //The STL file format. <https://en.wikipedia.org/wiki/STL_(file_format)>
          "stl"
        ,
        //
      • status:

        "queued"+4
        • //The async API call is queued.
          "queued"
        • //The async API call was uploaded to be converted.
          "uploaded"
        • //The async API call is in progress.
          "in_progress"
        • //The async API call has completed.
          "completed"
        • //The async API call has failed.
          "failed"
        //
      }

Examples

post
/file/density
201 Created
Response