Initializing a Spline Grid on my tag plugin



  • On 18/03/2014 at 14:41, xxxxxxxx wrote:

    Hey Everyone
    I have the following code but it doesn't seem to initialize the spline grid for my tag plugin

    spline_default = c4d.SplineData()
          print spline_default
          if spline_default.MakeLinearSplineBezier(2) :
              print "Spline Working"
          bc.SetData(MOVEMENT_SPLINE_Y,spline_default)

    I am positive that I'm doing something wrong but I need a little direction.
    Thanks plugin cafe!



  • On 18/03/2014 at 16:36, xxxxxxxx wrote:

    I have a very simple python splineGUI tag example on my site that might help you get started.
    It's the one named "R13 SplineGUI".

    https://sites.google.com/site/scottayersmedia/plugins

    -ScottA



  • On 19/03/2014 at 09:41, xxxxxxxx wrote:

    Scott,
    That is exactly what I need, thank you.  I actually ditched my code and used yours as a shell, is that ok?  I will give you credit if you'd like?
    Jimmy



  • On 19/03/2014 at 11:36, xxxxxxxx wrote:

    Glad to help.
    No need for credits. Most of what I know is learned from other peple too.

    -ScottA


Log in to reply