导出V型刀函数

This commit is contained in:
2020-10-30 15:53:48 +08:00
parent c214f61b34
commit 89fe505da6
81 changed files with 458 additions and 133 deletions

View File

@@ -1,4 +1,4 @@
import { Matrix3, Matrix4, Shape as TShape, Vector3, Box3 } from 'three';
import { Matrix3, Matrix4, Shape as TShape, Vector3 } from 'three';
import { ObjectSnapMode } from '../Editor/ObjectSnapMode';
import { CADFiler } from './CADFiler';
import { Contour } from './Contour';
@@ -11,7 +11,7 @@ export declare class Shape {
get Outline(): Contour;
get Holes(): Contour[];
get Area(): number;
get BoundingBox(): Box3;
get BoundingBox(): import("../Geometry/Box").Box3Ext;
set Outline(cus: Contour);
set Holes(cus: Contour[]);
get Shape(): TShape;
@@ -30,7 +30,7 @@ export declare class Shape {
GetStretchPoints(): Vector3[];
MoveStretchPoints(indexList: Array<number>, vec: Vector3): void;
IntersectionBoolOperation(targetShape: Shape): Shape[];
UnionBoolOperation(targetShape: Shape): Shape[];
UnionBoolOperation(targetShape: Shape, checkIntersect?: boolean): Shape[];
/**
* 如果完全被减掉,就返回0个.其他的返回1个或者n个
* @param targetShapes 已经是合并后的形状数组