|
|
@ -1,5 +1,6 @@
|
|
|
|
import { FilletUtils } from "../../../Add-on/FilletUtils";
|
|
|
|
import { FilletUtils } from "../../../Add-on/FilletUtils";
|
|
|
|
import { UpdateDraw } from "../../../Common/Status";
|
|
|
|
import { UpdateDraw } from "../../../Common/Status";
|
|
|
|
|
|
|
|
import { Intent, ToasterShowEntityMsg } from "../../../Common/Toaster";
|
|
|
|
import { FixIndex } from "../../../Common/Utils";
|
|
|
|
import { FixIndex } from "../../../Common/Utils";
|
|
|
|
import { PromptEntityResult } from "../../../Editor/PromptResult";
|
|
|
|
import { PromptEntityResult } from "../../../Editor/PromptResult";
|
|
|
|
import { Factory } from "../../CADFactory";
|
|
|
|
import { Factory } from "../../CADFactory";
|
|
|
@ -143,6 +144,15 @@ export class TemplateFilletAction extends TemplateAction
|
|
|
|
if (newValue < 0)
|
|
|
|
if (newValue < 0)
|
|
|
|
cu.LineData[Math.floor(arcParam)].bul *= -1;
|
|
|
|
cu.LineData[Math.floor(arcParam)].bul *= -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ToasterShowEntityMsg({
|
|
|
|
|
|
|
|
msg: `半径:${newValue} 倒角失败!请检查!`,
|
|
|
|
|
|
|
|
timeout: 5000,
|
|
|
|
|
|
|
|
intent: Intent.DANGER,
|
|
|
|
|
|
|
|
ent: br
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (br instanceof ExtrudeSolid)
|
|
|
|
if (br instanceof ExtrudeSolid)
|
|
|
|