mirror of https://gitee.com/cf-fz/WebCAD.git
!1953 修复:镜像板修改板尺寸后,板边数据错误
parent
ecdfb7b76b
commit
fa8cf28bda
@ -1,182 +1,371 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`板件镜像 1`] = `
|
||||
CADFiler {
|
||||
"_datas": Array [
|
||||
"Board",
|
||||
8,
|
||||
2,
|
||||
0,
|
||||
false,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
Array [
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
-1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
-1,
|
||||
0,
|
||||
3435.3422864514687,
|
||||
444.811074718357,
|
||||
-21.352872036479766,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
0,
|
||||
true,
|
||||
Array [
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
-1,
|
||||
0,
|
||||
2671.3422864514687,
|
||||
444.811074718357,
|
||||
-21.352872036479766,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
3,
|
||||
Array [
|
||||
"Board",
|
||||
8,
|
||||
2,
|
||||
0,
|
||||
false,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
Array [
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
-1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
-1,
|
||||
0,
|
||||
3435.3422864514687,
|
||||
444.811074718357,
|
||||
-21.352872036479766,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
0,
|
||||
true,
|
||||
Array [
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
-1,
|
||||
0,
|
||||
2671.3422864514687,
|
||||
444.811074718357,
|
||||
-21.352872036479766,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
3,
|
||||
764,
|
||||
500.00000000000006,
|
||||
18,
|
||||
true,
|
||||
"Polyline",
|
||||
8,
|
||||
2,
|
||||
0,
|
||||
false,
|
||||
0,
|
||||
7,
|
||||
0,
|
||||
Array [
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
0,
|
||||
true,
|
||||
Array [
|
||||
6.123233995736766e-17,
|
||||
-1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
6.123233995736766e-17,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
764,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
2,
|
||||
4,
|
||||
Array [
|
||||
0,
|
||||
764,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
500,
|
||||
764,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
500.00000000000006,
|
||||
18,
|
||||
true,
|
||||
"Polyline",
|
||||
8,
|
||||
2,
|
||||
0,
|
||||
false,
|
||||
0,
|
||||
7,
|
||||
0,
|
||||
Array [
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
4.678150772742889e-14,
|
||||
0,
|
||||
true,
|
||||
Array [
|
||||
6.123233995736766e-17,
|
||||
-1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
6.123233995736766e-17,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
764,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
],
|
||||
0,
|
||||
true,
|
||||
0,
|
||||
3,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
10,
|
||||
0,
|
||||
"晨丰顶板",
|
||||
"未命名",
|
||||
"晨丰一字柜测试",
|
||||
"",
|
||||
"水曲柳(默认材质)",
|
||||
"",
|
||||
0,
|
||||
1,
|
||||
"**多种**",
|
||||
2,
|
||||
4,
|
||||
2,
|
||||
1,
|
||||
4,
|
||||
3,
|
||||
"2",
|
||||
"4",
|
||||
"3",
|
||||
"1",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
4,
|
||||
"三合一",
|
||||
"铰链孔",
|
||||
"二合一",
|
||||
"不排",
|
||||
true,
|
||||
true,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
true,
|
||||
0,
|
||||
0,
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`板镜像后板边数据错误 1`] = `
|
||||
Array [
|
||||
"Board",
|
||||
8,
|
||||
2,
|
||||
0,
|
||||
false,
|
||||
0,
|
||||
8,
|
||||
0,
|
||||
Array [
|
||||
0,
|
||||
2,
|
||||
4,
|
||||
Array [
|
||||
0,
|
||||
764,
|
||||
],
|
||||
1,
|
||||
0,
|
||||
Array [
|
||||
500,
|
||||
764,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
500.00000000000006,
|
||||
0,
|
||||
],
|
||||
1,
|
||||
0,
|
||||
Array [
|
||||
4.678150772742889e-14,
|
||||
0,
|
||||
],
|
||||
1.2246467991473532e-16,
|
||||
0,
|
||||
true,
|
||||
-1.2246467991473532e-16,
|
||||
0,
|
||||
3,
|
||||
1,
|
||||
0,
|
||||
-523.6891679748768,
|
||||
34.536891679748834,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
0,
|
||||
true,
|
||||
Array [
|
||||
-1,
|
||||
0,
|
||||
-1.2246467991473532e-16,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
10,
|
||||
-1.2246467991473532e-16,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
"晨丰顶板",
|
||||
"未命名",
|
||||
"晨丰一字柜测试",
|
||||
"",
|
||||
"水曲柳(默认材质)",
|
||||
"",
|
||||
-1704.1891679749642,
|
||||
34.536891679748834,
|
||||
0,
|
||||
1,
|
||||
"**多种**",
|
||||
2,
|
||||
4,
|
||||
2,
|
||||
],
|
||||
0,
|
||||
3,
|
||||
569.9999999999945,
|
||||
88,
|
||||
17.5,
|
||||
false,
|
||||
"Polyline",
|
||||
8,
|
||||
2,
|
||||
0,
|
||||
false,
|
||||
0,
|
||||
7,
|
||||
0,
|
||||
Array [
|
||||
1,
|
||||
4,
|
||||
3,
|
||||
"2",
|
||||
"4",
|
||||
"3",
|
||||
"1",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
4,
|
||||
"三合一",
|
||||
"铰链孔",
|
||||
"二合一",
|
||||
"不排",
|
||||
true,
|
||||
true,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
true,
|
||||
569.9999999999945,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
0,
|
||||
true,
|
||||
Array [
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
0,
|
||||
2,
|
||||
6,
|
||||
Array [
|
||||
26.888366718995428,
|
||||
-569.9999999999945,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
26.888366718995428,
|
||||
-526.2850109890051,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
88,
|
||||
-526.2850109890051,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
88,
|
||||
0,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
0,
|
||||
0,
|
||||
],
|
||||
0,
|
||||
Array [
|
||||
0,
|
||||
-569.9999999999945,
|
||||
],
|
||||
"readIndex": 0,
|
||||
}
|
||||
0,
|
||||
true,
|
||||
0,
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
10,
|
||||
0,
|
||||
"辅助条(上收口)",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
0,
|
||||
0,
|
||||
"**多种**",
|
||||
2,
|
||||
6,
|
||||
1,
|
||||
2,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
"2",
|
||||
"4",
|
||||
"3",
|
||||
"1",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
6,
|
||||
"二合一",
|
||||
"铰链孔",
|
||||
"三合一",
|
||||
"二合一",
|
||||
"铰链孔",
|
||||
"不排",
|
||||
true,
|
||||
false,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
true,
|
||||
0,
|
||||
0,
|
||||
]
|
||||
`;
|
||||
|
Loading…
Reference in new issue