Comment #3 on issue 290 by
syoyofuj...@gmail.com: "-sl" option in Maya
Yes > Did you have anything selected in your scene?
1) Create a simple plane geometry & select it in Maya
2) AbcExport -j "-sl -file /path/to/file.abc";
Then, what I actually get is,
$ ls -la file.abc
-rw-r--r-- 1 syoyo staff 4487 Sep 7 02:37 geometry.abc
// Alembic file info:
# of children: 1
ScalarProperty name=statistics:interpretation=:datatype=string:numsamps=1
ScalarProperty
name=.childBnds:interpretation=box:datatype=float64_t[6]:numsamps=1
Xform:
trans
Object: name = /pPlane1
CompoundProperty name=.xform:schema=AbcGeom_Xform_v3
ScalarProperty name=.ops:interpretation=:datatype=uint8_t:numsamps=1
ArrayProperty
name=.animChans:interpretation=:datatype=uint32_t:numsamps=1
ScalarProperty
name=isNotConstantIdentity:interpretation=:datatype=bool_t:numsamps=1
ScalarProperty name=.inherits:interpretation=:datatype=bool_t:numsamps=1
ScalarProperty
name=.vals:interpretation=:datatype=float64_t[3]:numsamps=1
# of samples: 0
min time : 0
max time : 0
There are node info, but lacks any primitive parameters(e.g. P, N)
3) AbcExport -j "-root |pPlane1 -file /path/to/file.abc";
When I specify a geometry explicitly, which gives,
$ ls -la file.abc
-rw-r--r-- 1 syoyo staff 9686 Sep 7 02:32 file.abc
// Alembic file info:
# of children: 1
ScalarProperty name=statistics:interpretation=:datatype=string:numsamps=1
ScalarProperty
name=.childBnds:interpretation=box:datatype=float64_t[6]:numsamps=1
Xform:
trans
Object: name = /pPlane1
CompoundProperty name=.xform:schema=AbcGeom_Xform_v3
ScalarProperty name=.ops:interpretation=:datatype=uint8_t:numsamps=1
ArrayProperty
name=.animChans:interpretation=:datatype=uint32_t:numsamps=1
ScalarProperty
name=isNotConstantIdentity:interpretation=:datatype=bool_t:numsamps=1
ScalarProperty name=.inherits:interpretation=:datatype=bool_t:numsamps=1
ScalarProperty
name=.vals:interpretation=:datatype=float64_t[3]:numsamps=1
PolyMesh:
# of samples = 1
# of positions = 4
# of counts = 1
Object: name = /pPlane1/pPlaneShape1
CompoundProperty name=.geom:schema=AbcGeom_PolyMesh_v1
ArrayProperty
name=.faceCounts:interpretation=:datatype=int32_t:numsamps=1
ArrayProperty
name=.faceIndices:interpretation=:datatype=int32_t:numsamps=1
ArrayProperty
name=P:interpretation=point:datatype=float32_t[3]:numsamps=1
ArrayProperty
name=N:interpretation=normal:datatype=float32_t[3]:numsamps=1
ScalarProperty
name=.selfBnds:interpretation=box:datatype=float64_t[6]:numsamps=1
# of samples: 1
min time : 0
max time : 0
As far as I know, I didn't get this strange behavior in Alembic 1.0.4.
FYI, I'm using Maya 2012 x64 SP on Mac SnowLeopard.