更新整理
This commit is contained in:
@@ -1,31 +1,31 @@
|
||||
<ui:FluentWindowEx
|
||||
x:Class="ShrlAlgo.RvKits.RvCommon.ModelByCurveCreatorView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
|
||||
xmlns:local="clr-namespace:ShrlAlgo.RvKits.RvCommon"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
Title="曲线布置"
|
||||
Width="500"
|
||||
d:DataContext="{d:DesignInstance Type=local:ModelByCurveCreatorViewModel}"
|
||||
mc:Ignorable="d">
|
||||
mc:Ignorable="d"
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.RvCommon.ModelByCurveCreatorView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCommon"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:rvCommon="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCommon"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
<ui:AutoGrid Columns="*" Rows="*,Auto,Auto">
|
||||
<ui:AutoGrid
|
||||
Grid.Row="0"
|
||||
ChildMargin="5"
|
||||
Columns="*,*"
|
||||
Grid.Row="0"
|
||||
Rows="*">
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Stretch"
|
||||
Header="沿线放样">
|
||||
Grid.Row="0"
|
||||
Header="沿线放样"
|
||||
VerticalAlignment="Stretch">
|
||||
<ui:StackPanel Spacing="5">
|
||||
<ui:ComboBoxEx
|
||||
ItemTemplate="{StaticResource MultiDisplayMemberPath}"
|
||||
@@ -66,10 +66,10 @@
|
||||
</ui:StackPanel>
|
||||
</GroupBox>
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
VerticalAlignment="Stretch"
|
||||
Header="沿线布置">
|
||||
Grid.Row="0"
|
||||
Header="沿线布置"
|
||||
VerticalAlignment="Stretch">
|
||||
<ui:StackPanel Spacing="5">
|
||||
<ui:ComboBoxEx
|
||||
ItemTemplate="{StaticResource MultiDisplayMemberPath}"
|
||||
@@ -105,20 +105,20 @@
|
||||
</ui:AutoGrid>
|
||||
<GroupBox
|
||||
Grid.Row="1"
|
||||
Margin="5"
|
||||
Header="中心线类型">
|
||||
<UniformGrid VerticalAlignment="Center" Rows="1">
|
||||
Header="中心线类型"
|
||||
Margin="5">
|
||||
<UniformGrid Rows="1" VerticalAlignment="Center">
|
||||
<RadioButton
|
||||
Content="模型线"
|
||||
IsChecked="{Binding CenterCurveType, ConverterParameter={x:Static local:CenterCurveType.ModelCurve}, Converter={StaticResource ComparisonConverter}}"
|
||||
IsChecked="{Binding CenterCurveType, ConverterParameter={x:Static rvCommon:CenterCurveType.ModelCurve}, Converter={StaticResource ComparisonConverter}}"
|
||||
ToolTip="模型线的定位平面为绘制时的工作平面,
如在楼层楼层平面为该楼层高度" />
|
||||
<RadioButton
|
||||
Content="体量族"
|
||||
IsChecked="{Binding CenterCurveType, ConverterParameter={x:Static local:CenterCurveType.MassCurve}, Converter={StaticResource ComparisonConverter}}"
|
||||
IsChecked="{Binding CenterCurveType, ConverterParameter={x:Static rvCommon:CenterCurveType.MassCurve}, Converter={StaticResource ComparisonConverter}}"
|
||||
ToolTip="体量族中仅包含有一条连续的三维曲线" />
|
||||
<RadioButton
|
||||
Content="dwg链接"
|
||||
IsChecked="{Binding CenterCurveType, ConverterParameter={x:Static local:CenterCurveType.DWGCurve}, Converter={StaticResource ComparisonConverter}}"
|
||||
IsChecked="{Binding CenterCurveType, ConverterParameter={x:Static rvCommon:CenterCurveType.DWGCurve}, Converter={StaticResource ComparisonConverter}}"
|
||||
ToolTip="dwg中仅有一条连续的三维曲线" />
|
||||
</UniformGrid>
|
||||
</GroupBox>
|
||||
@@ -133,14 +133,14 @@
|
||||
Text="{Binding Precision, UpdateSourceTrigger=PropertyChanged}"
|
||||
ToolTip="数值越小,越拟合原曲线,
建议模型线(由于单条曲线较长)取值小一些,dwg的曲线(由于单条曲线较短)取值大一些" />
|
||||
<CheckBox
|
||||
HorizontalAlignment="Center"
|
||||
Content="两侧布置"
|
||||
HorizontalAlignment="Center"
|
||||
IsChecked="{Binding IsTwoSides}"
|
||||
ToolTip="在中心线两侧布置放样(会合并)和实例" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding CreateTrackCommand}"
|
||||
Content="创建" />
|
||||
Content="创建"
|
||||
HorizontalAlignment="Stretch" />
|
||||
</UniformGrid>
|
||||
</ui:AutoGrid>
|
||||
</ui:FluentWindowEx>
|
||||
|
||||
Reference in New Issue
Block a user