Back to Website
Show / Hide Table of Contents

This section describes an obsolete packaging solution. We recommend using 3D mockups for packaging, which are integrated into the Customer's Canvas cloud.

GetDieCutModel

  • 1 minute to read

You can get parameters of a die-cut model using the ~/api/Origami/GetDieCutModel endpoint, which returns a JSON object containing parameters of the specified die-cut model.

Request type

[GET]

URL

~/api/Origami/GetDieCutModel?id=<modelId>

Required URL Param

id=[string] - a die-cut model name.

Example call

$.ajax({
    type: "GET",
    url: appUrl + "api/Origami/GetDieCutModel",
    dataType: 'json',
    data: {
        id: "FEFCO 0215"
    },
    contentType: "application/json; charset=utf-8",
    success: function (data, textStatus, jqXHR) {
        dieCutModel = data;
        console.log("dieCutModel: " + JSON.stringify(dieCutModel));
    }
});

Success response

Status Code: 200 OK
Content:
{  
    "name":"FEFCO 0215",
    "description":"",
    "params":{  
        "L":{  
            "type":"float",
            "rules":{  
                "min":50,
                "max":400
            }
        },
       "W":{  
           "type":"float",
           "rules":{  
               "min":50,
               "max":400,
               "lessOrEqual":"L"
           }
       },
       "H":{  
           "type":"float",
           "rules":{  
               "min":30,
               "max":400
           }
       },
       "material":{  
           "type":"material",
           "default":"corrugated"
       },
       "thickness":{  
           "type":"float",
           "default":3,
           "rules":{  
               "min":0.1,
               "max":10
           }
       },
       "flute":{  
           "type":"flute",
           "default":"B"
       }
    },
   "predefinedParams":{  
       "name":"DIMENSIONS_LWH",
       "params":[  
          {  
              "L":150,
              "W":100,
              "H":80
          },
          {  
              "L":200,
              "W":100,
              "H":150
          },
          {  
              "L":300,
              "W":200,
              "H":190
          }
       ]
   }
}

This model contains three parameters in the params object:

  • L (Length), which should be at least 50 mm and less than or equal to 400 mm.
  • W (Width), which should be at least 50 mm, less than or equal to 400 mm, and less than or equal to the value of the L (Length) parameter.
  • H (Height), which should be at least 30 mm and less than or equal to 400 mm.
  • material is the material type with two valid values:
    • corrugated - corrugated fibreboard
    • folding - folding carton
  • thickness - the material thickness, which should be at least 0.1 mm and less than or equal to 100 mm.
  • flute - the flute type (a type of corrugated fibreboard) with the following valid values:
    • F
    • E
    • B
    • C
    • EB
    • BC

The predefined parameters (predefinedParams) specify popular or optimal size sets. This model defines the following boxes:

  • 150x 100 x80 mm
  • 200 x 100 x 150 mm
  • 300x 200 x 190 mm
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback