[Bf-committers] python nmesh setmode subsurf @ 1146518051

Johan Meskens CS3 jmcs3 johanmeskenscs3 at chromaticspaceandworld.com
Mon May 1 23:17:22 CEST 2006



 Intrah onat Diria .. Mon, 01 May 2006 14:05:37 -0700
  , Ken Hughes  wrote  "Revera y": 


> http://projects.blender.org/mailman/listinfo/bf-committers
> Bf-committers at projects.blender.org
> Bf-committers mailing list
> _______________________________________________
> ken
> 
> http://members.iinet.net.au/~cpbarton/ideasman/BPY_API/index.html
> 
> Cam has put a copy of the docs for the CVS API here:
> 
> module which will let you add a subsurf modifier to a mesh object.
> Subsurf is now a modifier; in the current CVS there is now a Modifier 

i see !
thanks :-)


in the above dox you have the following too:
 - so it should be updated -

setMode(m=None, m1=None, m2=None, m3=None)
Set the mode flags for this mesh. Given mode strings turn the mode "on". Modes not passed in are turned "off", so setMode() (without arguments) unsets all mode flags.

    Parameters:
        m - mode string or int. An int (see Modes) or from none to 5 strings can be given:

            * "NoVNormalsFlip"
            * "TwoSided"
            * "AutoSmooth"
            * "SubSurf"
            * "Optimal"


                   (type=string or int (bitflag)) 


thanks
good night
jmcs3

> 
> > how can one turn on subsurf using the new api ?
> > 
> > setMode( "SubSurf") throws an error
> > in NMesh
> > 
> > 
> > but i ask it again :-)
> > i asked this before
> > 
> > hello 
> Johan Meskens CS3 jmcs3 wrote:
> 







--------the following could be unreadable @ 1146518240   ::: 
o
 , ::c:::
 , aaenott
 , >
 , |
 , 48
 , |
 , 732
 , |
 , purpura
 , ||
 , -
 , 






More information about the Bf-committers mailing list