6 Replies Latest reply on Dec 14, 2013 10:46 AM by Todd_Kopriva

    apply 3D stroke to a shape layer?

    lmaclanphere Level 1

      hi all

      I have some animated paths set up in a 3D scene, using shape layers (I used shape layers to have square capped lines instead of round caps:)

       

      I wanted to try using 3D stroke, instead, to give a bit of thickness to these lines/paths... but I'm having trouble

       

      Is it even possible to apply 3D stroke to a shape layer?  When I try it, the path just disappears (story of my life haha)

       

      cheers

       

      LML

        • 1. Re: apply 3D stroke to a shape layer?
          Mylenium Most Valuable Participant

          No, 3D Stroke works on masks only.

           

          Mylenium

          • 2. Re: apply 3D stroke to a shape layer?
            lmaclanphere Level 1

            ok, thanks for confirming

             

            know of any way to convert shapes to masks (quicker than just starting over)?

             

            LML

            • 3. Re: apply 3D stroke to a shape layer?
              Mylenium Most Valuable Participant

              Normal shape layer paths can be copy&pasted to mask paths. Parametric shape items can, however, not and due to how shape layer coordinates a treated differently than otehr layer types, the alignment may be off, no matter what.

               

              Mylenium

              1 person found this helpful
              • 4. Re: apply 3D stroke to a shape layer?
                Rick Gerard Adobe Community Professional & MVP

                If you have a shape layer that is anything other than a path you can always generate a mask by using Layer>Auto Trace set to alpha. Any Shape layer created with the shape layer tools (q on the keyboard to select) are defined by formulas not paths so there is no direct correlation.

                 

                Any shape layer created with the pen tool (g on the keyboard to select) must therefore be a path and you can copy and paste to your heart's content. The only catch is that your copy and paste must take place in the Timeline and you must select the actual path you want to copy, not the 'Path.' What I mean by that is that you must select the Path with the stopwatch to the left. Once copied you must start a path on the layer you want to apply the mask to. Once the Shape Path is copied I usually select the pen tool (g) then simply paste (Ctrl/Cmnd + V). Nothing else will work reliably.

                1 person found this helpful
                • 5. Re: apply 3D stroke to a shape layer?
                  lmaclanphere Level 1

                  great--going to give this a try

                   

                  LML

                  • 6. Re: apply 3D stroke to a shape layer?
                    lmaclanphere Level 1

                    works! (pen tool method described above)

                    thanks Rick

                    LML

                    • 7. Re: apply 3D stroke to a shape layer?
                      Todd_Kopriva Level 8

                      The After Effects CC (12.2) update makes creating Bezier paths easier and more obvious.

                       

                      option for creating shape layers based on Bezier paths:

                       

                      When a shape tool (Rectangle, Rounded Rectangle, Polygon, Star, or Ellipse tool) is active, you can use the new Bezier Path option in the Tools panel to create a new shape based on a Bezier path, as opposed to the default of creating a new shape based on a parametric path. Holding the Alt (Windows) or Option (Mac OS) key while drawing a shape causes the opposite behavior—i.e., if the Bezier Path option is enabled, holding the Alt or Option key causes the shape tool to create a parametric path; if the Bezier Path option is disabled, holding the Alt or Option key causes the shape tool to create a Bezier path.

                       

                      command for converting a parametric shape layer path to a Bezier path:

                       

                      You can convert a parametric path to a Bezier path after the parametric path has already been created by context-clicking (right-clicking or Control-clicking on Mac OS) the property group for the parametric path (e.g., Rectangle Path 1) and choosing the Convert To Bezier Path command from the context menu. If the parametric path is animated (keyframed), the converted Bezier path is a static path based on the parametric path at the current time; keyframes are lost.

                       

                      IMPORTANT: When you use the Convert To Bezier Path command to convert a parametric shape path to a Bezier shape path, the Bezier path that is created does not animate well (i.e., interpolation between paths behaves strangely and unpredictably). This is related to path direction and how transformations are stored. For now, you should not use these converted paths for animated paths (interpolation between paths); but, if you do want to try, you may be able to work around the issues by reversing the path before conversion.