@@ -1124,7 +1124,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
11241124 elif i == 1 : vec = Vector ((0 , radius , - radius ))
11251125 elif i == 2 : vec = Vector ((0 , - radius , 0 ))
11261126 vec .rotate (rotN )
1127- locN = loc + vec
1127+ locN = Vector ( loc ) + vec
11281128 ### Enable linear spring
11291129 setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' )
11301130 if CT != 7 :
@@ -1160,7 +1160,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
11601160 elif i == 2 : vec = Vector ((0 , - radius , - radius ))
11611161 elif i == 3 : vec = Vector ((0 , - radius , radius ))
11621162 vec .rotate (rotN )
1163- locN = loc + vec
1163+ locN = Vector ( loc ) + vec
11641164 ### Enable linear spring
11651165 setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' )
11661166 if CT != 8 :
@@ -1225,7 +1225,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
12251225 elif j == 1 : vec = Vector ((0 , radius , - radius ))
12261226 elif j == 2 : vec = Vector ((0 , - radius , 0 ))
12271227 vec .rotate (rotN )
1228- locN = loc + vec
1228+ locN = Vector ( loc ) + vec
12291229 ### Lock direction for compressive force and enable linear spring
12301230 setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' , ullx = 1 ,ully = 0 ,ullz = 0 , llxl = llxl ,llxu = 99999 , ulax = 0 ,ulay = 0 ,ulaz = 0 )
12311231 if props .asciiExport :
@@ -1242,7 +1242,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
12421242 elif j == 1 : vec = Vector ((0 , radius , - radius ))
12431243 elif j == 2 : vec = Vector ((0 , - radius , 0 ))
12441244 vec .rotate (rotN )
1245- locN = loc + vec
1245+ locN = Vector ( loc ) + vec
12461246 ### Lock direction for tensile force and enable linear spring
12471247 setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' , ullx = 1 ,ully = 0 ,ullz = 0 , llxl = - 99999 ,llxu = llxu , ulax = 0 ,ulay = 0 ,ulaz = 0 , uslx = 1 ,usly = 1 ,uslz = 1 , sdlx = springDamp ,sdly = springDamp ,sdlz = springDamp )
12481248 if props .asciiExport :
@@ -1259,7 +1259,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
12591259 elif j == 1 : vec = Vector ((0 , radius , - radius ))
12601260 elif j == 2 : vec = Vector ((0 , - radius , 0 ))
12611261 vec .rotate (rotN )
1262- locN = loc + vec
1262+ locN = Vector ( loc ) + vec
12631263 ### Lock directions for shearing force and enable linear spring
12641264 setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' , ullx = 0 ,ully = 1 ,ullz = 1 , llyl = llyl ,llyu = llyu ,llzl = llzl ,llzu = llzu , ulax = 0 ,ulay = 0 ,ulaz = 0 , uslx = 1 ,usly = 1 ,uslz = 1 , sdlx = springDamp ,sdly = springDamp ,sdlz = springDamp )
12651265 if props .asciiExport :
@@ -1295,7 +1295,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
12951295 elif j == 2 : vec = Vector ((0 , - radius , - radius ))
12961296 elif j == 3 : vec = Vector ((0 , - radius , radius ))
12971297 vec .rotate (rotN )
1298- locN = loc + vec
1298+ locN = Vector ( loc ) + vec
12991299 ### Lock direction for compressive force and enable linear spring
13001300 setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' , ullx = 1 ,ully = 0 ,ullz = 0 , llxl = llxl ,llxu = 99999 , ulax = 0 ,ulay = 0 ,ulaz = 0 )
13011301 if props .asciiExport :
@@ -1313,7 +1313,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
13131313 elif j == 2 : vec = Vector ((0 , - radius , - radius ))
13141314 elif j == 3 : vec = Vector ((0 , - radius , radius ))
13151315 vec .rotate (rotN )
1316- locN = loc + vec
1316+ locN = Vector ( loc ) + vec
13171317 ### Lock direction for tensile force and enable linear spring
13181318 setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' , ullx = 1 ,ully = 0 ,ullz = 0 , llxl = - 99999 ,llxu = llxu , ulax = 0 ,ulay = 0 ,ulaz = 0 , uslx = 1 ,usly = 1 ,uslz = 1 , sdlx = springDamp ,sdly = springDamp ,sdlz = springDamp )
13191319 if props .asciiExport :
@@ -1331,7 +1331,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
13311331 elif j == 2 : vec = Vector ((0 , - radius , - radius ))
13321332 elif j == 3 : vec = Vector ((0 , - radius , radius ))
13331333 vec .rotate (rotN )
1334- locN = loc + vec
1334+ locN = Vector ( loc ) + vec
13351335 ### Lock directions for shearing force and enable linear spring
13361336 setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' , ullx = 0 ,ully = 1 ,ullz = 1 , llyl = llyl ,llyu = llyu ,llzl = llzl ,llzu = llzu , ulax = 0 ,ulay = 0 ,ulaz = 0 , uslx = 1 ,usly = 1 ,uslz = 1 , sdlx = springDamp ,sdly = springDamp ,sdlz = springDamp )
13371337 if props .asciiExport :
0 commit comments