更新时间:2024-12-02 GMT+08:00
分享

输入准备

方形件API输入数据示例如下:

{
    "input_json": {
        "items": [
            {
                "item_id": 0,
                "item_material": "18mm金丝白橡零度木刺刨花板E0",
                "item_length": 60.0,
                "item_width": 553.0,
                "item_turn": false,
                "item_num": 1,
                "item_name": "F-补板/立档条",
                "item_thick": 18,
                "label_info": {}
            }
        ],
        "parameters": [
            {
                "calculate_time": 30,
                "first_cut_direction": 1,
                "item_backward_trim": 0.0,
                "item_forward_trim": 0.0,
                "kerf_horizontal": 4.4,
                "kerf_vertical": 4.4,
                "max_program_num": 2,
                "max_stack_height": 80,
                "plate_trim_horizontal": 10.0,
                "plate_trim_vertical": 10.0
            }
        ],
        "plates": [
            {
                "plate_grain": true,
                "plate_id": 0,
                "plate_length": 2440.0,
                "plate_material": "18mm金丝白橡零度木刺刨花板E0",
                "plate_num": 9999,
                "plate_thick": 18.0,
                "plate_width": 1220.0
            }
        ]
    }
}

相关文档