@@ -1124,7 +1124,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
1124
1124
elif i == 1 : vec = Vector ((0 , radius , - radius ))
1125
1125
elif i == 2 : vec = Vector ((0 , - radius , 0 ))
1126
1126
vec .rotate (rotN )
1127
- locN = loc + vec
1127
+ locN = Vector ( loc ) + vec
1128
1128
### Enable linear spring
1129
1129
setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' )
1130
1130
if CT != 7 :
@@ -1160,7 +1160,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
1160
1160
elif i == 2 : vec = Vector ((0 , - radius , - radius ))
1161
1161
elif i == 3 : vec = Vector ((0 , - radius , radius ))
1162
1162
vec .rotate (rotN )
1163
- locN = loc + vec
1163
+ locN = Vector ( loc ) + vec
1164
1164
### Enable linear spring
1165
1165
setConstParams (cData ,cDatb ,cDef , loc = locN ,rotm = rotm , ct = 'GENERIC_SPRING' )
1166
1166
if CT != 8 :
@@ -1225,7 +1225,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
1225
1225
elif j == 1 : vec = Vector ((0 , radius , - radius ))
1226
1226
elif j == 2 : vec = Vector ((0 , - radius , 0 ))
1227
1227
vec .rotate (rotN )
1228
- locN = loc + vec
1228
+ locN = Vector ( loc ) + vec
1229
1229
### Lock direction for compressive force and enable linear spring
1230
1230
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 )
1231
1231
if props .asciiExport :
@@ -1242,7 +1242,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
1242
1242
elif j == 1 : vec = Vector ((0 , radius , - radius ))
1243
1243
elif j == 2 : vec = Vector ((0 , - radius , 0 ))
1244
1244
vec .rotate (rotN )
1245
- locN = loc + vec
1245
+ locN = Vector ( loc ) + vec
1246
1246
### Lock direction for tensile force and enable linear spring
1247
1247
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 )
1248
1248
if props .asciiExport :
@@ -1259,7 +1259,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
1259
1259
elif j == 1 : vec = Vector ((0 , radius , - radius ))
1260
1260
elif j == 2 : vec = Vector ((0 , - radius , 0 ))
1261
1261
vec .rotate (rotN )
1262
- locN = loc + vec
1262
+ locN = Vector ( loc ) + vec
1263
1263
### Lock directions for shearing force and enable linear spring
1264
1264
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 )
1265
1265
if props .asciiExport :
@@ -1295,7 +1295,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
1295
1295
elif j == 2 : vec = Vector ((0 , - radius , - radius ))
1296
1296
elif j == 3 : vec = Vector ((0 , - radius , radius ))
1297
1297
vec .rotate (rotN )
1298
- locN = loc + vec
1298
+ locN = Vector ( loc ) + vec
1299
1299
### Lock direction for compressive force and enable linear spring
1300
1300
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 )
1301
1301
if props .asciiExport :
@@ -1313,7 +1313,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
1313
1313
elif j == 2 : vec = Vector ((0 , - radius , - radius ))
1314
1314
elif j == 3 : vec = Vector ((0 , - radius , radius ))
1315
1315
vec .rotate (rotN )
1316
- locN = loc + vec
1316
+ locN = Vector ( loc ) + vec
1317
1317
### Lock direction for tensile force and enable linear spring
1318
1318
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 )
1319
1319
if props .asciiExport :
@@ -1331,7 +1331,7 @@ def setConstraintSettings(objs, objsEGrp, emptyObjs, objsID, connectsPair, conne
1331
1331
elif j == 2 : vec = Vector ((0 , - radius , - radius ))
1332
1332
elif j == 3 : vec = Vector ((0 , - radius , radius ))
1333
1333
vec .rotate (rotN )
1334
- locN = loc + vec
1334
+ locN = Vector ( loc ) + vec
1335
1335
### Lock directions for shearing force and enable linear spring
1336
1336
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 )
1337
1337
if props .asciiExport :
0 commit comments