limit to this class
This commit is contained in:
parent
f1c95ef8cf
commit
61a1f48204
1 changed files with 7 additions and 2 deletions
|
|
@ -51,17 +51,22 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
{
|
||||
public class RadialPinchObject3D : OperationSourceContainerObject3D, IPropertyGridModifier, IEditorDraw
|
||||
{
|
||||
public class EditableVertexStorage : VertexStorage
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public RadialPinchObject3D()
|
||||
{
|
||||
// make sure the path editor is registered
|
||||
PropertyEditor.RegisterEditor(typeof(VertexStorage), new PathEditor());
|
||||
PropertyEditor.RegisterEditor(typeof(EditableVertexStorage), new PathEditor());
|
||||
|
||||
Name = "Radial Pinch".Localize();
|
||||
}
|
||||
|
||||
[PathEditor.TopAndBottomMoveXOnly]
|
||||
[PathEditor.XMustBeGreaterThan0]
|
||||
public VertexStorage PathForHorizontalOffsets { get; set; } = new VertexStorage();
|
||||
public EditableVertexStorage PathForHorizontalOffsets { get; set; } = new EditableVertexStorage();
|
||||
|
||||
[Description("Specifies the number of vertical cuts required to ensure the part can be pinched well.")]
|
||||
[Slider(0, 50, snapDistance: 1)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue