Skip to content
Snippets Groups Projects
Select Git revision
  • ae68b653b56d3eab44d20afeb31cf43db3bf3ec0
  • CyclesPhi-dev default
  • anari2
  • anari
  • anary-cycles-device
  • xml-exporter-main
  • main protected
  • npr-prototype
  • blender-v4.4-release
  • blender-v4.2-release
  • remote-asset-library-monolithic
  • blender-v3.6-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
  • 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

Worlddoc.txt

Blame
  • user avatar
    Joseph Gilbert authored
    a7fe79a1
    History
    Worlddoc.txt 2.75 KiB
    METABALL Module documentation
    
    INTRODUCTION
    The metaball module effect allows you to access all the data of an metaball.
    A metaball consists of several (maybe only one) metaelems, which are spheres, interacting with each other, thus creating soft organic volumes.
    
    functions of the module :
    New(name) : creates ans returns a metaball object. 
    Get(opt : name) : if the parameter name is given, returns the metaball object whose name has been passed, or Py_None, if no such metaball exists in the current scene. If no parameter is given, returns a list of all the metaballs in the current scene.
    get : alias for Get
    
    Metaball  object member functions :
    
    getName()Return Metaball  name
    setName(string newname) - Sets Metaball  name
    getWiresize() - Return Metaball  wire size
    setWiresize(float val) - Sets Metaball  wire size
    getRendersize() - Return Metaball  render size
    setRendersize(float newval- Sets Metaball  render size
    getThresh()- Return Metaball  threshold
    setThresh(float newval)- Sets Metaball  threshold 
    getBbox,- Return Metaball bounding box(a list of eight lists of three elements)
    getNMetaElems() Returns the number of Metaelems (basic spheres)
    getMetatype(int num_metaelem): returns the type of the metaelem number num_metaelem.
    0 : ball
    1 : tubex
    2 : tubey
    3 : tubez
    setMetatype(int num_metaelem,int newtype) : sets the type of the metaelem number num_metaelem.
    getMetadata(field_name,int num_metaelem)  gets Metaball MetaData. Explained later.
    setMetadata(field_name,int num_metaelem,newval) sets Metaball MetaData. Explained later.
    getMetalay(int num_metaelem) 
    getMetax(int num_metaelem) : gets the x coordinate of the metaelement
    setMetax(int num_metaelem,float newval) : sets the x coordinate of the metaelement 
    getMetay(int num_metaelem) : gets the y coordinate of the metaelement
    setMetay(int num_metaelem,float newval) : sets the y coordinate of the metaelement 
    getMetaz(int num_metaelem) : gets the z coordinate of the metaelement
    setMetaz(int num_metaelem,float newval) : sets the z coordinate of the metaelement 
    getMetas(int num_metaelem) : gets the s coordinate of the metaelement
    setMetas(int num_metaelem,float newval) : sets the s coordinate of the metaelement 
    getMetalen(int num_metaelem)  : gets the length of the metaelement. Important for tubes.
    setMetalen(int num_metaelem,float newval)  : sets the length of the metaelement. Important for tubes.
    getloc, - Gets Metaball loc values
    setloc, (f f f) - Sets Metaball loc values
    getrot, () - Gets Metaball rot values
    setrot,, (f f f) - Sets Metaball rot values
    getsize,() - Gets Metaball size values
    setsize,(f f f) - Sets Metaball size values
    
    
    
    
    The Object.attribute syntax
    
    The attribute can take these values : seed,nabla,sta,end,lifetime,normfac,obfac,randfac,texfac,randlife,vectsize,totpart,force,mult,life,child,mat,defvec.