ECToo / pymel

Automatically exported from code.google.com/p/pymel
0 stars 0 forks source link

Component.__add__ for like components on same object #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hypothetically, this is what we'd get:

In [1]: s = polySphere()[0]
In [2]: cmp1 = s.vtx[1:10]
In [3]: cmp2 = s.vtx[20:40:2]
In [4]: cmp1
Out[4]: MeshVertex(u'pSphereShape1.vtx[1:10]')
In [5]: cmp2
Out[5]: MeshVertex(u'pSphereShape1.vtx[20:40:2]')
In [6]: cmp3 = cmp1 + cmp2
Out[5]: MeshVertex(u'pSphereShape1.vtx[1:10,20:40:2]')

Original issue reported on code.google.com by chad...@gmail.com on 9 Apr 2009 at 4:10

GoogleCodeExporter commented 9 years ago
conflicts with PyNode.__add__, which is under debate, but it looks like we may 
keep

Original comment by chad...@gmail.com on 21 Nov 2009 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by chad...@gmail.com on 24 Jan 2010 at 7:22