同步版本

This commit is contained in:
ChenX
2023-07-21 15:56:48 +08:00
parent 48e15326a5
commit b535db4ba8
455 changed files with 4017 additions and 1391 deletions

View File

@@ -1,7 +1,7 @@
import { Board } from "../DatabaseServices/Entity/Board";
import { Curve } from "../DatabaseServices/Entity/Curve";
import { ExtrudeContourCurve } from "../DatabaseServices/Entity/Extrude";
import { IHighSealedItem } from "../UI/Store/BoardInterface";
import { IHighSealedItem } from "../UI/Store/OptionInterface/IHighSealedItem";
type CurveGroups = (Curve[])[];
/**
* 将曲线分段(根据高级封边的特性 (因为圆弧无法单独使用封边,所以和圆弧在一起的曲线必须和圆弧一样的封边,否则偏移失败))
@@ -26,7 +26,14 @@ export interface BrSealedData {
highSeals: IHighSealedItem[];
}
/**
* 计算封边轮廓
* 获取板件的轮廓(没有扣封边)(拆单时表现)
* 在拆单的时候 我们用这个轮廓(为了数据对应准确性)
* 修改时 请注意函数 GetSealedBoardContour
*/
export declare function GetBoardContour(br: Board): ExtrudeContourCurve | undefined;
/**
* 获取板件(扣封边后的)轮廓(拆单时)
* 修改时 请注意函数 GetBoardContour
*/
export declare function GetSealedBoardContour(br: Board): BrSealedData | undefined;
/**