命名优化,达芬奇字体修改工具

This commit is contained in:
GG Z
2025-10-04 08:52:23 +08:00
parent 0d0afbc78e
commit 4722a4c881
121 changed files with 1801 additions and 1368 deletions

View File

@@ -16,18 +16,18 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
{
private readonly ActionEventHandler wallFinishHandler = new ();
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
private double wallBaseOffset;
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
public partial double WallBaseOffset { get; set; }
[ObservableProperty]
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
private double wallHeight;
[ObservableProperty]
private List<WallType> wallTypes = wallTypes;
[ObservableProperty]
public partial List<WallType> WallTypes { get; set; } = wallTypes;
[ObservableProperty]
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
private WallType selectedWallType;
@@ -103,7 +103,7 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
face.Intersect(bottomFace, out var intersectCurve);
doc.Invoke(
ts =>
_ =>
{
var curve = intersectCurve.CreateOffset(wallWidth / 2, XYZ.BasisZ).CreateReversed();
@@ -276,7 +276,7 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
//var loop = CurveLoop.Create(curs);
//var offestcurveloop = CurveLoop.CreateViaOffset(loop, wallwidth / 2, XYZ.BasisZ);
doc.Invoke(
ts =>
_ =>
{
for (var i = 0; i < curs.Count; i++)
{