Skip to content
Snippets Groups Projects
Select Git revision
  • 83804a7173c7ed0096d2b585ed1d958a665bccbb
  • CyclesPhi-dev default
  • anari-v4.5
  • anari3
  • main protected
  • anari2
  • anari
  • blender-v4.5-release
  • anary-cycles-device
  • xml-exporter-main
  • blender-v4.4-release
  • blender-v4.3-release
  • temp-sculpt-dyntopo
  • blender-v3.3-release
  • brush-assets-project
  • pr-extensions-tidy-space
  • blender-v4.0-release
  • universal-scene-description
  • blender-v4.1-release
  • blender-v3.6-temp_wmoss_animrig_public
  • gpencil-next
  • v4.4.0
  • v4.2.8
  • v3.6.21
  • v4.2.7
  • v3.6.20
  • v4.2.6
  • v4.3.2
  • v4.2.5
  • v3.6.19
  • v4.3.1
  • v4.3.0
  • v3.6.18
  • v4.2.4
  • v3.6.17
  • v4.2.3
  • v3.6.16
  • v4.2.2
  • v4.2.1
  • v3.6.15
  • v4.2.0
41 results

Ipodoc.txt

Blame
  • user avatar
    Jacques Guignot authored
    81dae537
    History
    Ipodoc.txt 2.01 KiB
    IPO Module documentation
    
    
    INTRODUCTION
    The module ipo allows you to access all the data of an ipo.
    The most important part(s) of an ipo is its ipocurve(s). The ipocurve has a set of bezier points (defined by 9 coordinates). The ipo module grants the user read/write access to these points.
    
    
    
    
    functions of the module :
    
    Get(Name:string) : returns the Ipo associated whose name is Name.
    
    get : same as Get
    
    New(Name:string , idcode:int ) : Creates and returns a new Ipo Object.
    The parameters are mandatory. If the name is already used, blender will change it to name.XXX (XXX is an integer)
    
    
    
    Ipo object member functions :
    
    getName() : Retrieves the name of the Ipo Object.
    
    setName(newname:string) : Sets the name of the Ipo Object.
    
    getBlocktype() : Retrieves the blocktype of the Ipo Object.
    
    setBlocktype(newblocktype:string) : Sets the blocktype of the Ipo Object.
    
    getShowkey() : Retrieves the showkey of the Ipo Object.
    
    setShowkey(val:int) : Sets the showkey of the Ipo Object.
    
    getPad() : Retrieves the pad of the Ipo Object.
    
    setPad(val:int) : Sets the pad of the Ipo Object.
    
    getRctf() : Retrieves the rctf of the Ipo Object.
    
    setRctf(val:int) : Sets the rctf of the Ipo Object.
    
    I do not fully understand the meaning of these parameters.
    
    
    
    getNcurves() : returns the number of ipocurves the ipo object contains.
    
    getBP() : returns the basepoint of the ipo object (generally NULL)
    
    getCurveCurval(numcurve:int) : returns the current value of the ipo curve number numcurve.
    
    getCurveBeztriple(numcurve:int,numpoint:int) : returns a list of 9 floats, which are the coordinates of the control point number numpoint of the ipocurve number numcurve.
    
    
    
    setCurveBeztriple(numcurve:int,numpoint:int,newvalues : list of 9 floats) : sets the coordinates of the control point number numpoint of the ipocurve number numcurve to newvalues. (the z coordinate should be 0, but blender does not complain if non null values are passed)
    
    
    
    Example :
    import Blender
    
    d = Blender.Ipo.Get('ObIpo') # hope there is an ipo named "ObIpo"...Else create it before.