示例#1
0
        protected override void OnMouseUpAction(Mouse3DPosition mouseData)
        {
            if (SelectedShapes.Count >= 2)
            {
                return;
            }

            Inputs[InputNames.SelectionContainerPipe].Send(NotificationNames.BuildSelections, mouseData);
            var filletEntities =
                Inputs[InputNames.SelectionContainerPipe].GetData(NotificationNames.GetEntities).Get
                <List <SceneSelectedEntity> >();


            SelectedShapes.AddRange(filletEntities);
            if (SelectedShapes.Count != 2)
            {
                ShowHint(ModelingResources.FilletStep2);
                return;
            }
            _filletNodes.Clear();
            _filletNodes.AddRange(SelectedShapes);

            BuildDialog("Chamfer length");
        }