Prototyping the curve tool
This commit is contained in:
parent
4106af6fe2
commit
e89ca312a1
6 changed files with 142 additions and 4 deletions
|
|
@ -501,12 +501,22 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
var pinch = new PinchObject3D();
|
||||
MeshWrapperObject3D.WrapSelection(pinch, scene);
|
||||
pinch.MakeNameNonColliding();
|
||||
},
|
||||
Icon = AggContext.StaticData.LoadIcon("pinch.png", 16, 16),
|
||||
IsEnabled = (scene) => scene.HasSelection,
|
||||
},
|
||||
new SceneSelectionOperation()
|
||||
{
|
||||
TitleResolver = () => "Curve".Localize(),
|
||||
Action = (scene) =>
|
||||
{
|
||||
var curve = new CurveObject3D();
|
||||
MeshWrapperObject3D.WrapSelection(curve, scene);
|
||||
},
|
||||
Icon = AggContext.StaticData.LoadIcon("curve.png", 16, 16),
|
||||
IsEnabled = (scene) => scene.HasSelection,
|
||||
},
|
||||
new SceneSelectionOperation()
|
||||
{
|
||||
TitleResolver = () => "Fit to Bounds".Localize(),
|
||||
Action = (scene) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue