backhoe files (#65)
This commit is contained in:
@@ -1335,6 +1335,7 @@ void MbD::ASMTAssembly::runDragStep(std::shared_ptr<std::vector<std::shared_ptr<
|
||||
//Do not use
|
||||
//runPreDrag();
|
||||
//Assembly breaks up too easily because of redundant constraint removal.
|
||||
noop();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,14 @@ void sharedptrTest();
|
||||
|
||||
int main()
|
||||
{
|
||||
//ASMTAssembly::runFile("C:/Users/askoh/OneDrive/askoh/visualstudio/Ondsel/OndselFreeCAD/build/src/Main/runDragStep.asmt");
|
||||
//return 0;
|
||||
//auto assembly = ASMTAssembly::assemblyFromFile("C:/Users/askoh/OneDrive/askoh/visualstudio/Ondsel/OndselFreeCAD/build/src/Main/runPreDrag.asmt");
|
||||
//assembly->runDraggingLog("C:/Users/askoh/OneDrive/askoh/visualstudio/Ondsel/OndselFreeCAD/build/src/Main/dragging.log");
|
||||
//return 0;
|
||||
auto assembly = ASMTAssembly::assemblyFromFile("../testapp/runPreDragBackhoe3.asmt");
|
||||
assembly->runDraggingLog("../testapp/draggingBackhoe3.log");
|
||||
return 0;
|
||||
ASMTAssembly::runDraggingLogTest3();
|
||||
ASMTAssembly::runDraggingLogTest2();
|
||||
ASMTAssembly::runDraggingLogTest();
|
||||
|
||||
181
testapp/draggingBackhoe.log
Normal file
181
testapp/draggingBackhoe.log
Normal file
@@ -0,0 +1,181 @@
|
||||
runPreDrag
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609362 246.14265489562052 253.32068641460711
|
||||
RotationMatrix
|
||||
1 8.5315509986766142e-16 -6.9730381650433764e-16
|
||||
-5.6896396660939749e-16 0.9417564194421234 0.33629577225940765
|
||||
9.4360279866149955e-16 -0.33629577225940765 0.9417564194421234
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609362 231.91107428749419 230.56173395337717
|
||||
RotationMatrix
|
||||
1 9.8407153844126819e-16 -5.7350642347673679e-16
|
||||
-6.3993057595018121e-16 0.90195483026701673 0.43183038818267183
|
||||
9.422288832886159e-16 -0.43183038818267183 0.90195483026701673
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609359 230.54657205048977 228.6307121066431
|
||||
RotationMatrix
|
||||
1 9.9921288620447956e-16 -6.230916208726642e-16
|
||||
-6.230916208726642e-16 0.89798059298351651 0.44003506067695569
|
||||
9.9921288620447956e-16 -0.44003506067695569 0.89798059298351651
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609356 206.34135980399631 199.47190696388017
|
||||
RotationMatrix
|
||||
1 8.7021303874403191e-16 -3.6927058019229671e-16
|
||||
-5.0821245446451844e-16 0.82427129494613838 0.56619504795416231
|
||||
7.9708945252263065e-16 -0.56619504795416231 0.82427129494613838
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609359 204.49318099231027 197.56999952548679
|
||||
RotationMatrix
|
||||
1 7.3277567204119518e-16 -2.9240446728894131e-16
|
||||
-4.3171837329137711e-16 0.81843888617954064 0.57459358644975578
|
||||
6.6036338798316333e-16 -0.57459358644975578 0.81843888617954064
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609356 175.67571493415798 172.26402695509583
|
||||
RotationMatrix
|
||||
1 9.2763236055410637e-16 -2.2719732682100727e-16
|
||||
-5.1577012879417648e-16 0.72475878074409805 0.68900269210963783
|
||||
8.0380445128490902e-16 -0.68900269210963783 0.72475878074409805
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609359 177.90392659196868 173.96500642745093
|
||||
RotationMatrix
|
||||
1 8.3410192525840197e-16 -1.4920007221107213e-16
|
||||
-5.090743226267607e-16 0.73216332112978877 0.68112911492036354
|
||||
6.7736992648748945e-16 -0.68112911492036354 0.73216332112978877
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609359 181.88125023660805 177.09781883723142
|
||||
RotationMatrix
|
||||
1 7.8074948800260913e-16 -1.7714322588159073e-16
|
||||
-4.6380508850708728e-16 0.7453194810219852 0.66670748549054004
|
||||
6.5255982512487346e-16 -0.66670748549054004 0.7453194810219852
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609353 187.58339728125137 181.81556826702484
|
||||
RotationMatrix
|
||||
1 9.2054452819843451e-16 -2.543977068798313e-16
|
||||
-5.3920146159933275e-16 0.76403844726573866 0.64517071469476917
|
||||
7.8827800011857391e-16 -0.64517071469476917 0.76403844726573866
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609356 189.70613514898437 183.64334685277575
|
||||
RotationMatrix
|
||||
1 1.0048439426983228e-15 -1.6955847615524155e-16
|
||||
-6.6670780743298532e-16 0.77096192425978527 0.63688123801981256
|
||||
7.7068938329361923e-16 -0.63688123801981256 0.77096192425978527
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609362 209.71649192672839 203.04812033540847
|
||||
RotationMatrix
|
||||
1 8.826245488053596e-16 -4.3067345169543827e-16
|
||||
-4.997946666105774e-16 0.8348575575730256 0.55046603761104307
|
||||
8.4540582407311903e-16 -0.55046603761104307 0.8348575575730256
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609356 211.37731831097511 204.85878433457898
|
||||
RotationMatrix
|
||||
1 1.0027637738794164e-15 -4.5669579671464467e-16
|
||||
-5.9458409151258571e-16 0.84003476873623517 0.54253256797565608
|
||||
9.2767235329175712e-16 -0.54253256797565608 0.84003476873623517
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609359 213.21806092211594 206.90651261518428
|
||||
RotationMatrix
|
||||
1 1.0157417936383358e-15 -5.1533971241853538e-16
|
||||
-5.8408358962303233e-16 0.84574705527062233 0.53358403134002319
|
||||
9.778306452920748e-16 -0.53358403134002319 0.84574705527062233
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609362 259.48817267375375 281.11991791954932
|
||||
RotationMatrix
|
||||
1 7.1227603621182518e-16 -8.6952452050324499e-16
|
||||
-5.0131657703567554e-16 0.97501325411160111 0.22214669546654589
|
||||
1.0060276999701652e-15 -0.22214669546654589 0.97501325411160111
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609365 260.22512985340694 282.94221599710568
|
||||
RotationMatrix
|
||||
1 7.0897588957370123e-16 -8.7221742216101471e-16
|
||||
-5.0512528399960412e-16 0.97666887367375788 0.21475081186536438
|
||||
1.0041207551795482e-15 -0.21475081186536438 0.97666887367375788
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609373 278.72875700349914 384.22558957856529
|
||||
RotationMatrix
|
||||
1 1.1956353519705508e-16 -1.1258790041719967e-15
|
||||
-3.2266404603810177e-16 0.98326708610620284 -0.1821698037003312
|
||||
1.0852589020037874e-15 0.1821698037003312 0.98326708610620284
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609376 278.74276105329443 383.42908445126585
|
||||
RotationMatrix
|
||||
1 3.3245196444893106e-16 -1.2562368672240021e-15
|
||||
-5.5212692006258706e-16 0.98382198368524199 -0.17914883314617322
|
||||
1.1763550651826725e-15 0.17914883314617322 0.98382198368524199
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.5412084960937 -49.351167631470702 129.19010222388732
|
||||
RotationMatrix
|
||||
1 6.6684149280141491e-16 1.0616600206004809e-15
|
||||
-9.8648648095220641e-16 -0.10408350363132723 0.99456856187586562
|
||||
7.7372087910406367e-16 -0.99456856187586562 -0.10408350363132723
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.5412084960937 -46.187660147222971 128.34164394525152
|
||||
RotationMatrix
|
||||
1 5.9825599660564168e-16 9.8521286350327129e-16
|
||||
-9.2632877995713569e-16 -0.091515631854937052 0.99580363984381581
|
||||
6.8590787669340099e-16 -0.99580363984381581 -0.091515631854937052
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Boom
|
||||
Position3D
|
||||
-203.54120849609362 236.68461350117207 237.62740924653392
|
||||
RotationMatrix
|
||||
1 9.20182797045567e-16 -6.010048927763159e-16
|
||||
-6.010048927763159e-16 0.91566281475896383 0.40194727224810411
|
||||
9.20182797045567e-16 -0.40194727224810411 0.91566281475896383
|
||||
19
testapp/draggingBackhoe2.log
Normal file
19
testapp/draggingBackhoe2.log
Normal file
@@ -0,0 +1,19 @@
|
||||
runPreDrag
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Bucket
|
||||
Position3D
|
||||
-211.61702880859718 -23.837239233726564 1866.8236062252847
|
||||
RotationMatrix
|
||||
1 -2.1192882831536479e-15 -1.876295750018788e-15
|
||||
-1.2346138959807563e-15 0.26992023645611907 -0.96288268545626721
|
||||
2.547076185845669e-15 0.96288268545626721 0.26992023645611907
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Bucket
|
||||
Position3D
|
||||
-211.61702880859264 172.10251887747847 2.4183838706572942
|
||||
RotationMatrix
|
||||
1 2.2308684799113093e-15 -8.776108359573272e-16
|
||||
-1.0922759481826108e-15 0.74987897373328916 0.66157503335049539
|
||||
2.1339888020027877e-15 -0.66157503335049539 0.74987897373328916
|
||||
28
testapp/draggingBackhoe3.log
Normal file
28
testapp/draggingBackhoe3.log
Normal file
@@ -0,0 +1,28 @@
|
||||
runPreDrag
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Bucket
|
||||
Position3D
|
||||
-211.61702880859517 398.97577461467722 1516.6076698845482
|
||||
RotationMatrix
|
||||
1 -1.3173420037477579e-16 -1.9971430556615287e-15
|
||||
-1.3561413416916003e-15 0.68926876465995768 -0.72450574191246808
|
||||
1.4720105114028074e-15 0.72450574191246808 0.68926876465995768
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Bucket
|
||||
Position3D
|
||||
-211.61702880859661 -1556.6520645322319 1185.1923816901115
|
||||
RotationMatrix
|
||||
1 -7.6834819792503676e-16 1.8481275202406345e-15
|
||||
-5.6192590785863134e-16 -0.99401912279833282 -0.10920615143494797
|
||||
1.9209824461464246e-15 0.10920615143494797 -0.99401912279833282
|
||||
runDragStep
|
||||
Name
|
||||
AssemblyExample#Bucket
|
||||
Position3D
|
||||
-211.61702880859548 347.38549797281348 1582.3314863922897
|
||||
RotationMatrix
|
||||
1 -4.5522801212393094e-16 -1.9958935382340208e-15
|
||||
-1.2577026389407931e-15 0.63264657285670811 -0.77444064579066485
|
||||
1.6152422824418599e-15 0.77444064579066485 0.63264657285670811
|
||||
1556
testapp/runPreDragBackhoe.asmt
Normal file
1556
testapp/runPreDragBackhoe.asmt
Normal file
File diff suppressed because it is too large
Load Diff
1556
testapp/runPreDragBackhoe2.asmt
Normal file
1556
testapp/runPreDragBackhoe2.asmt
Normal file
File diff suppressed because it is too large
Load Diff
1556
testapp/runPreDragBackhoe3.asmt
Normal file
1556
testapp/runPreDragBackhoe3.asmt
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user