Compare commits

..

1 Commits

Author SHA1 Message Date
e8977ac2f9 优化NCWriter参数格式和用法 2025-08-14 10:34:08 +08:00
3 changed files with 12 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cut-abstractions",
"version": "0.3.5",
"version": "0.3.2",
"description": "",
"files": [
"dist/**/*"

View File

@@ -10,7 +10,7 @@ import { ConfigBase } from "../config";
*
* 注20250730 暂无配置 留个位置
*/
export class CutOrderConfig extends ConfigBase {
export class CutorderConfig extends ConfigBase {
// [key:string] : any
}
@@ -20,24 +20,24 @@ export class CutOrderConfig extends ConfigBase {
export type CutOrderInput = {
/**开料大板 宽 */
boardWidth: number,
/** 开料大板 */
boardLength: number,
/** 开料大板 */
boardHeight: number,
/** 刀头大小(含修边) */
gap: number,
/** 小板数据集合 */
blocks: CutOrderInputBlock[]
blocks: CutorderInputBlock[]
}
/**
* 处理器输出数据 开料顺序(新)
*/
export type CutOrderOutput = {
blocks: CutOrderoutputBlock[]
export type CutorderOutput = {
blocks: CutorderoutputBlock[]
}
/**
* 小板类型 输入
*/
export type CutOrderInputBlock = {
export type CutorderInputBlock = {
/** 小板唯一标识 */
id: string | number,
/** 排版长 */
@@ -52,6 +52,6 @@ export type CutOrderInputBlock = {
/**
* 小板类型 输出
*/
export type CutOrderoutputBlock = CutOrderInputBlock & {
CutOrder: number
export type CutorderoutputBlock = CutorderInputBlock & {
cutOrder: number
}

View File

@@ -17,10 +17,9 @@ export type HoleToModelOutput = {
/** 孔转造型 后的 造型数据 */
modelData: HoleToModelProcessingItem[],
/** 未处理的孔数据 以及信息 */
noHandleItem: NoHandleItemType[]
noHandleItem: noHandleItemType[]
}
/** 孔转造型 未处理的数据 */
export type NoHandleItemType = {
export type noHandleItemType = {
/** 未处理的孔信息 */
holeData: HoleToModelProcessingItem,
/** 未处理 说明 */