|
|
|
@ -146,6 +146,10 @@ export function Conver2DxfEntity(e: Entity, dxf: DxfWriter, blkName?: string)
|
|
|
|
|
else if (e instanceof LineAngularDimension)
|
|
|
|
|
{
|
|
|
|
|
option.extrusion = e.Normal;
|
|
|
|
|
|
|
|
|
|
let mtx = MakeMatrix4FromNormal(e.Normal);//任意轴坐标系
|
|
|
|
|
let mtxInv = new Matrix4().getInverse(mtx);
|
|
|
|
|
|
|
|
|
|
return new AngularDimLines(
|
|
|
|
|
{
|
|
|
|
|
start: e.L1StartPoint,
|
|
|
|
@ -155,7 +159,7 @@ export function Conver2DxfEntity(e: Entity, dxf: DxfWriter, blkName?: string)
|
|
|
|
|
start: e.L2StartPoint,
|
|
|
|
|
end: e.L2EndPoint
|
|
|
|
|
},
|
|
|
|
|
e.DimPoint,
|
|
|
|
|
e.DimPoint.applyMatrix4(mtxInv),
|
|
|
|
|
option
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|