User Tools

Site Tools


wiki:sns:snsscript:restraints

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:sns:snsscript:restraints [2017/07/14 09:30] – created zachwiki:sns:snsscript:restraints [2017/07/14 13:49] (current) claire
Line 1: Line 1:
-===== Restraints Specification =====+~~NOTOC~~ 
 +====== Restraints Specification ======
  
-==== boolSuccess = objSnSScript.AddFaceRestraint( GUID, RestraintDescription, FaceIndices, RestraintType) ====+===== boolSuccess = objSnSScript.AddFaceRestraint( GUID, RestraintDescription, FaceIndices, RestraintType) =====
  
 This function restrains the face(s) specified by the face indices on the object, in the coordinate directions given by the type of restraint. Equivalent to setting a face restraint in SnS. This function restrains the face(s) specified by the face indices on the object, in the coordinate directions given by the type of restraint. Equivalent to setting a face restraint in SnS.
Line 13: Line 14:
 |Boolean|True if the restraint was successfully added to the object, False otherwise.| |Boolean|True if the restraint was successfully added to the object, False otherwise.|
  
-==== boolSuccess = objSnSScript.AddEdgeRestraint( GUID, RestraintDescription, EdgeIndices, RestraintType) ====+===== boolSuccess = objSnSScript.AddEdgeRestraint( GUID, RestraintDescription, EdgeIndices, RestraintType) =====
  
 This function restrains the face(s) specified by the face indices on the object, in the coordinate directions given by the type of restraint. Equivalent to setting a face restraint in SnS. This function restrains the face(s) specified by the face indices on the object, in the coordinate directions given by the type of restraint. Equivalent to setting a face restraint in SnS.
wiki/sns/snsscript/restraints.1500046246.txt.gz · Last modified: 2017/07/14 09:30 by zach