提交代码

This commit is contained in:
yuding
2026-04-20 10:38:42 +08:00
parent 0b730da6f4
commit 9a185699ae
36 changed files with 17961 additions and 13149 deletions

View File

@@ -61,6 +61,7 @@ export class SectionAxisDialogManager extends BaseDialogManager {
this.panel = new SectionAxisPanel({
defaultAxis: 'x',
defaultHidden: false,
defaultFill: this.engineComponent?.getFillCutFace() ?? false,
onHideToggle: (isHidden) => {
console.log('[SectionAxisDialogManager] 隐藏切换:', isHidden);
if (isHidden) {
@@ -69,6 +70,9 @@ export class SectionAxisDialogManager extends BaseDialogManager {
this.engineComponent?.recoverSection();
}
},
onFillToggle: (isFilled) => {
this.engineComponent?.setFillCutFace(isFilled);
},
onReverse: () => {
this.engineComponent?.reverseSection();
},