Jump to: Board index » General » Fusion

LOCKED POLYLINE

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

vinayragbotra

  • Posts: 25
  • Joined: Sat Apr 04, 2015 4:35 pm

LOCKED POLYLINE

PostTue Sep 12, 2017 8:11 am

Hi,
Please check below settings of fusion polygon tool
the poly-line of this polygon tool is locked.
It is locked in that way , we can edit or move vertexes only where key-frame is already existed.
We cant add any new key-frame.

When tried to solve, I opened this setting in script editor and found this line " Locked = true, ".
Now I need know that how poly-line got locked in fusion.
I didn't find any option to lock poly-line in this way.


Code: Select all
{
   Tools = ordered() {
      Polygon1 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         CtrlWZoom = false,
         Inputs = {
            MaskWidth = Input { Value = 2048, },
            MaskHeight = Input { Value = 1556, },
            PixelAspect = Input { Value = { 1, 1, }, },
            ClippingMode = Input { Value = FuID { "None", }, },
            Polyline = Input {
               SourceOp = "Polygon1Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
         },
         ViewInfo = OperatorInfo { Pos = { 485, 71, }, },
      },
      Polygon1Polyline = BezierSpline {
         SplineColor = { Red = 173, Green = 255, Blue = 47, },
         Locked = true,
         NameSet = true,
         KeyFrames = {
            [4] = { 0, RH = { 5, 0.333333333333333, }, Flags = { Linear = true, LockedY = true, }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.272099435329437, Y = -0.174545451998711, LX = -0.0832830974742363, LY = -0.0334466980654497, RX = 0.081491708645724, RY = 0.0327272718783581, },
                     { Linear = true, X = -0.0276243090629578, Y = -0.0763636380434036, LX = -0.081491708645724, LY = -0.0327272718783581, RX = -0.00230202589245791, RY = -0.0515151509552291, },
                     { X = -0.0345303863286972, Y = -0.230909094214439, LX = 0.0110497241685404, LY = 0.0090909057855606, RX = -0.0740898614293704, RY = -0.0609557251969502, },
                     { X = -0.280000001192093, Y = -0.109907120466232, LX = 0.0856898767170126, LY = -0.0909788494725786, RX = 0.0694117651032466, RY = 0.0299277604856481, },
                     { Linear = true, X = -0.0717647075653076, Y = -0.0201238393783569, LX = -0.0694117651032466, LY = -0.0299277604856481, RX = 0.0180392162472594, RY = -0.0773993806819306, },
                     { X = -0.0176470596343279, Y = -0.252321988344193, LX = 0.0176470580127309, LY = 0.018575844473145, RX = -0.0679949189115091, RY = -0.0715735754794427, },
                  },
               }, },
            [7] = { 1, LH = { 6, 0.666666666666667, }, Flags = { Linear = true, LockedY = true, }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.272099435329437, Y = -0.174545451998711, LX = -0.102003142102512, LY = -0.0351784342610044, RX = 0.081491708645724, RY = 0.0327272718783581, },
                     { Linear = true, X = -0.0276243090629578, Y = -0.0763636380434036, LX = -0.081491708645724, LY = -0.0327272718783581, RX = -0.00230202589245791, RY = -0.0515151509552291, },
                     { X = -0.0345303863286972, Y = -0.230909094214439, LX = 0.0110497241685404, LY = 0.0090909057855606, RX = -0.0740898614293704, RY = -0.0609557251969502, },
                     { X = -0.280000001192093, Y = -0.109907120466232, LX = 0.0856898767170126, LY = -0.0909788494725786, RX = 0.0694117651032466, RY = 0.0299277604856481, },
                     { Linear = true, X = -0.0717647075653076, Y = -0.0201238393783569, LX = -0.0694117651032466, LY = -0.0299277604856481, RX = 0.0349019610110461, RY = -0.0882352934348725, },
                     { X = 0.0329411756597897, Y = -0.284829728282273, LX = 0.0216826874037245, LY = 0.0228238740236949, RX = -0.0823416317263738, RY = -0.0866753735104539, },
                  },
               }, },
         },
      },
   },
   ActiveTool = "Polygon1",
}
Offline
User avatar

Tanawat Wattanachinda

  • Posts: 88
  • Joined: Sat Dec 20, 2014 3:47 pm
  • Location: Bangkok, Thailand

Re: LOCKED POLYLINE

PostWed Sep 13, 2017 8:23 am

In spline tab
Look for your Polygon1/Polyline
Right click on Polyline/ goto Modes/ Unchecked Locked
This is hidden under the radar, very hard to find

Fusion should do something about it. Better indication of the lock on GUI perhap

CTRL + L not working in spline tab either
You have to actually RMB/Modes/Locked
Offline

vinayragbotra

  • Posts: 25
  • Joined: Sat Apr 04, 2015 4:35 pm

Re: LOCKED POLYLINE

PostWed Sep 13, 2017 2:21 pm

Thank You so much Sir.
Offline
User avatar

Tanawat Wattanachinda

  • Posts: 88
  • Joined: Sat Dec 20, 2014 3:47 pm
  • Location: Bangkok, Thailand

Re: LOCKED POLYLINE

PostThu Sep 14, 2017 5:29 am

vinayragbotra wrote:Thank You so much Sir.

Your Welcome

Return to Fusion

Who is online

Users browsing this forum: No registered users and 6 guests