syflex 2014 SP1

Discussions about simulation, hair and cloth in SOFTIMAGE©
caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 15:13

syflex 2014 SP1

Post by caledonian_tartan » 14 Jun 2013, 17:44

hi.
there was a change in syflex from 2013 to 2014.
now the pin constraint seems broken.

i did this in 2013 and 2014 SP1. it's offsetted in the newer version...

VBS:

Code: Select all

GetPrim "Null"
DeleteObj "null"
GetPrim "Null"
Translate , 0, 17.0409983985605, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , , , 0
Duplicate "null", , 2, 1, 1, 0, 0, 1, 0, 1, , , , , , , , , , , 0
Translate , 0.736596955270887, 5.26572865292793, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , , , 0
Undo    ' TranslateTool
Translate , 0, 4.38923862994641, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , , , 0
CreatePrim "Grid", "MeshSurface"
Rotate , 75, 0, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , 0
Rotate , 90, 0, 0, siAbsolute, siPivot, siObj, siX, , , , , , , , 0
Translate , -1.97652645278512, -11.3168622765805, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , , , 0
Undo    ' TranslateTool
DeselectAll
SelectObj "grid", , True
Translate , 3.98425326870251, 0, -19.3106137318447, siRelative, siLocal, siObj, siXYZ, , , , , , , , , , 0
SelectObj "null1", , True
Translate , 0, 1.33449222797373, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , , , 0
SelectObj "null", , True
DeselectAll
SelectObj "null", , True
Translate , 0, -0.735244161143747, 0, siRelative, siLocal, siObj, siXYZ, , , , , , , , , , 0
SelectObj "null1", , True
Translate , -1.57467312974857E-02, 22.3106137318447, -1.36613108468583E-15, siAbsolute, siView, siObj, siXYZ, True, , , , , , , , , 0
SelectObj "null", , True
Translate , -1.57467312974857E-02, 16.3106137318447, -9.98737044941622E-16, siAbsolute, siView, siObj, siXYZ, True, , , , , , , , , 0
DeselectAll
SelectObj "grid", , True
SelectObj "grid", , True
SetSelFilter "Vertex"
SelectGeometryComponents "grid.pnt[0]"
CreateCluster
SelectGeometryComponents "grid.pnt[8]"
CreateCluster
ActivateObjectSelTool
SelectObj "null", , True
Translate , -1.57467312974857E-02, 15.3106137318447, -9.37504704984254E-16, siAbsolute, siView, siObj, siXYZ, True, , , , , , , , , 0
SelectObj "null1", , True
Translate , -1.57467312974857E-02, 23.3106137318447, -1.4273634246432E-15, siAbsolute, siView, siObj, siXYZ, True, , , , , , , , , 0
SelectObj "grid", , True
ApplyOp "ICETree", "grid", siNode, , , 0
AddICECompoundNode "Syflex Cloth", "grid.polymsh.ICETree"
ConnectICENodes "grid.polymsh.ICETree.port1", "grid.polymsh.ICETree.Syflex_Cloth.Value"
AddICECompoundNode "Syflex Nail", "grid.polymsh.ICETree"
SelectObj "null1", , True
' VERBOSE : 5121-OpenAttachments - Could not find annotation or synoptic view attachements
OpenAttachments
AddICENode "GetDataNode", "grid.polymsh.ICETree"
SetValue "grid.polymsh.ICETree.SceneReferenceNode.reference", "null1"
SelectObj "grid", , True
SelectObj "grid.polymsh.cls.Point"
AddICENode "GetDataNode", "grid.polymsh.ICETree"
SetValue "grid.polymsh.ICETree.SceneReferenceNode[1].reference", "grid.polymsh.cls.Point"
ConnectICENodes "grid.polymsh.ICETree.Syflex_Nail.Point_Cluster", "grid.polymsh.ICETree.SceneReferenceNode[1].outname"
ConnectICENodes "grid.polymsh.ICETree.Syflex_Nail.Object", "grid.polymsh.ICETree.SceneReferenceNode.outname"
ConnectICENodes "grid.polymsh.ICETree.Syflex_Cloth.Force", "grid.polymsh.ICETree.Syflex_Nail.Force"
AddICECompoundNode "Syflex Nail", "grid.polymsh.ICETree"
ActivateObjectSelTool
SelectObj "grid", , True
SelectObj "grid.polymsh.cls.Point"
SelectObj "grid.polymsh.cls.Point1"
AddICENode "GetDataNode", "grid.polymsh.ICETree"
SetValue "grid.polymsh.ICETree.SceneReferenceNode[2].reference", "grid.polymsh.cls.Point1"
SelectObj "null1"
SelectObj "null"
AddICENode "GetDataNode", "grid.polymsh.ICETree"
SetValue "grid.polymsh.ICETree.SceneReferenceNode[3].reference", "null"
ConnectICENodes "grid.polymsh.ICETree.Syflex_Nail[1].Object", "grid.polymsh.ICETree.SceneReferenceNode[3].outname"
ConnectICENodes "grid.polymsh.ICETree.Syflex_Nail[1].Point_Cluster", "grid.polymsh.ICETree.SceneReferenceNode[2].outname"
AddPortToICENode "grid.polymsh.ICETree.Syflex_Cloth.Force", siNodePortDataInsertionLocationAfter
ConnectICENodes "grid.polymsh.ICETree.Syflex_Cloth.Force1", "grid.polymsh.ICETree.Syflex_Nail[1].Force"

the problem comes from the new pin compounds. (they also have a new map property which is not documented yet.)
if i use the old ones, everything is fine.
SI 2015 @ WIN7-64