[
{
"datas": {
"part_name": "201109-01", // Part name
"material": "Cold Rolled Steel", // Part material
"thickness": 1.0, // Part thickness
"gas": "Air", // Gas used for the part
"amount": 1, // Quantity of parts
"rotate_lock": 0, // Rotation lock: rotate_lock=1 locks rotation, default is 0
"fill_color": "800000", // Fill color of the part
"prop": { // Part properties
"Order Number": "1027594022", // Property-value pairs
"Material Number": "277516275",
"Other": "1"
}
},
"filename": "t21.dxf", // Corresponding dxf file name
"jobId": 1606, // ID of the job to which it needs to be uploaded
"optimization_parm": [ // Optimization parameters
{
"type": "layer_map",
"0": "process_work2",
"_文本替换": "process_work2",
"尺寸标注": "process_mark"
},
{
"type": "optimize",
"Smooth": {
"ConvertCircle": true,
"Enable": true,
"IgnoreBezier": true,
"Tolerance": 0.05
}
}
]
},
...
]{
"type": "layer_map", // Layer mapping
"0": "process_work1", // Processing method
"_文本替换": "process_work2",
"尺寸标注": "process_mark"
}
{
"type": "optimize", // Optimization parameters
"RemoveTrivial": { // Remove trivial shapes
"Enable": false, // Enable or disable (true or false)
"Tolerance": 0.2 // Minimum shape length
},
"RemoveDuplication": { // Remove duplicate lines
"Enable": false, // Enable or disable
"Tolerance": 0.2 // Precision for duplicate line detection
},
"ConnectNear": { // Connect near lines
"Enable": true, // Enable or disable
"Tolerance": 10, // Precision for near line detection
"GapTolerance": 0.2, // Merging precision
"First": 2 // Integer, 0 for direction priority, 1 for length priority, 2 for distance priority
},
"Smooth": { // Auto-smoothing
"Enable": false, // Enable or disable
"Tolerance": 0.2, // Precision for smoothing
"IgnoreBezier": false, // Don't smooth Bezier curves
"ConvertCircle": false // Auto-recognize and convert DXF/DWG files for whole circles
},
"Unit": { // Unit settings
"ImportUnit": 0 // Integer, 0 for metric, 1 for imperial, 2 for reading file unit format
},
"AutoExplode": { // Auto-explode
"ExplodeText": false // Automatically convert text to curves
},
"FreezeOutLine": { // Fix part outer contour direction
"FreezeOutLineStyle": 0 // Integer, 0 for all disabled, 1 for clockwise, 2 for counterclockwise
}
}
[
{
"type": "layer_map",
"尺寸标注": "process_mark",
"_文本替换": "process_work2",
"0": "process_work2"
},
{
"type": "optimize",
"RemoveTrivial": {
"Enable": true,
"Tolerance": 0.0001
},
"RemoveDuplication": {
"Enable": true,
"Tolerance": 0.1
},
"ConnectNear": {
"Enable": true,
"Tolerance": 10,
"GapTolerance": 0.0001,
"First": 2
},
"Smooth": {
"Enable": true,
"Tolerance": 0.05,
"IgnoreBezier": true,
"ConvertCircle": true
},
"Unit": {
"ImportUnit": 0
},
"AutoExplode": {
"ExplodeText": false
},
"FreezeOutLine": {
"FreezeOutLineStyle": 0
}
}
]