造型处理器接口 #9

Merged
xief merged 2 commits from dev_li into main 2025-08-13 15:41:20 +08:00
Collaborator
No description provided.
lixiang requested review from xief 2025-08-11 10:17:50 +08:00
lixiang added 1 commit 2025-08-11 10:18:50 +08:00
xief changed title from 处理器类提交 to 造型处理器接口 2025-08-11 10:56:18 +08:00
xief changed title from 造型处理器接口 to WIP: 造型处理器接口 2025-08-13 09:11:02 +08:00
xief requested changes 2025-08-13 09:12:12 +08:00
Dismissed
@@ -0,0 +5,4 @@
/** 小板数据 */
block: ModelProcessPointsInputBlock,
/** 小板的最终的放置位置 */
targetPosition: PositionType
Owner

这个是做什么用的?

这个是做什么用的?
Author
Collaborator

`
let blockInput: ModelProcessPointsInputBlock = {
id: block.blockNo,
x: block.placeX,
y: block.placeY,
length: block.length,
width: block.width,
models: models,
positionType: PositionType.FRONT, // 这里模拟刚优化完 里面的加工坐标没转换 都是 基于 正面的数据 所以 设为正面 实际情况 这里 根据需求传入 表示放置方式变化前 的放置方式
offsetInfo,
}
let input: ModelProcessPointsInput = {
block: blockInput,
targetPosition: block.placeStyle // 最终的放置方式
}

`

用来做 造型坐标转换的
http://gitea.cf/imes/imes-modelProcessPoints

示例地址

` let blockInput: ModelProcessPointsInputBlock = { id: block.blockNo, x: block.placeX, y: block.placeY, length: block.length, width: block.width, models: models, positionType: PositionType.FRONT, // 这里模拟刚优化完 里面的加工坐标没转换 都是 基于 正面的数据 所以 设为正面 实际情况 这里 根据需求传入 表示放置方式变化前 的放置方式 offsetInfo, } let input: ModelProcessPointsInput = { block: blockInput, targetPosition: block.placeStyle // 最终的放置方式 } ` 用来做 造型坐标转换的 http://gitea.cf/imes/imes-modelProcessPoints [示例地址](http://gitea.cf/imes/imes-modelProcessPoints/src/branch/main/src/processors/modelProcessPoints/modelProcessPoints.test.ts)
@@ -0,0 +86,4 @@
}
/** 点坐标类 */
export interface IPoint { x: number, y: number; }
Owner

已有公用类型

已有公用类型
lixiang marked this conversation as resolved
@@ -0,0 +117,4 @@
*
*
*/
export const transitions_PositionToAction: any = {
Owner

这个类型不需要公用

这个类型不需要公用
lixiang marked this conversation as resolved
@@ -0,0 +169,4 @@
}
/** 放置方式 翻转后的转换关系 */
export const transitions_PositionTurnFace: any = {
Owner

这个也不需要在接口中

这个也不需要在接口中
lixiang marked this conversation as resolved
CZY approved these changes 2025-08-13 15:10:14 +08:00
lixiang added 1 commit 2025-08-13 15:29:44 +08:00
1、移除关系转换类
2、移除多写的Ipoint类
xief approved these changes 2025-08-13 15:40:49 +08:00
xief changed title from WIP: 造型处理器接口 to 造型处理器接口 2025-08-13 15:40:58 +08:00
xief merged commit a430d40f14 into main 2025-08-13 15:41:20 +08:00
xief deleted branch dev_li 2025-08-13 15:41:20 +08:00
xief referenced this issue from a commit 2025-08-13 15:41:21 +08:00
Sign in to join this conversation.
No Reviewers
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MES-FE/cut-abstractions#9
No description provided.