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
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`板件镜像 1`] = `
|
exports[`板件镜像 1`] = `
|
||||||
CADFiler {
|
Array [
|
||||||
"_datas": Array [
|
"Board",
|
||||||
"Board",
|
8,
|
||||||
8,
|
2,
|
||||||
2,
|
0,
|
||||||
0,
|
false,
|
||||||
false,
|
0,
|
||||||
0,
|
2,
|
||||||
2,
|
0,
|
||||||
0,
|
Array [
|
||||||
Array [
|
0,
|
||||||
0,
|
1,
|
||||||
1,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
-1,
|
||||||
-1,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
-1,
|
||||||
-1,
|
0,
|
||||||
0,
|
3435.3422864514687,
|
||||||
3435.3422864514687,
|
444.811074718357,
|
||||||
444.811074718357,
|
-21.352872036479766,
|
||||||
-21.352872036479766,
|
1,
|
||||||
1,
|
],
|
||||||
],
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
true,
|
||||||
true,
|
Array [
|
||||||
Array [
|
1,
|
||||||
1,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
1,
|
||||||
1,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
-1,
|
||||||
-1,
|
0,
|
||||||
0,
|
2671.3422864514687,
|
||||||
2671.3422864514687,
|
444.811074718357,
|
||||||
444.811074718357,
|
-21.352872036479766,
|
||||||
-21.352872036479766,
|
1,
|
||||||
1,
|
],
|
||||||
],
|
0,
|
||||||
0,
|
3,
|
||||||
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,
|
764,
|
||||||
|
],
|
||||||
|
0,
|
||||||
|
Array [
|
||||||
|
500,
|
||||||
|
764,
|
||||||
|
],
|
||||||
|
0,
|
||||||
|
Array [
|
||||||
500.00000000000006,
|
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,
|
||||||
|
],
|
||||||
|
0,
|
||||||
|
Array [
|
||||||
|
4.678150772742889e-14,
|
||||||
0,
|
0,
|
||||||
true,
|
],
|
||||||
Array [
|
0,
|
||||||
6.123233995736766e-17,
|
true,
|
||||||
-1,
|
0,
|
||||||
0,
|
3,
|
||||||
0,
|
1,
|
||||||
1,
|
1,
|
||||||
6.123233995736766e-17,
|
1,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
10,
|
||||||
0,
|
0,
|
||||||
1,
|
"晨丰顶板",
|
||||||
0,
|
"未命名",
|
||||||
0,
|
"晨丰一字柜测试",
|
||||||
764,
|
"",
|
||||||
0,
|
"水曲柳(默认材质)",
|
||||||
1,
|
"",
|
||||||
],
|
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,
|
0,
|
||||||
2,
|
1,
|
||||||
4,
|
|
||||||
Array [
|
|
||||||
0,
|
|
||||||
764,
|
|
||||||
],
|
|
||||||
0,
|
0,
|
||||||
Array [
|
|
||||||
500,
|
|
||||||
764,
|
|
||||||
],
|
|
||||||
0,
|
0,
|
||||||
Array [
|
1,
|
||||||
500.00000000000006,
|
|
||||||
0,
|
|
||||||
],
|
|
||||||
0,
|
0,
|
||||||
Array [
|
1.2246467991473532e-16,
|
||||||
4.678150772742889e-14,
|
|
||||||
0,
|
|
||||||
],
|
|
||||||
0,
|
0,
|
||||||
true,
|
-1.2246467991473532e-16,
|
||||||
0,
|
0,
|
||||||
3,
|
|
||||||
1,
|
1,
|
||||||
|
0,
|
||||||
|
-523.6891679748768,
|
||||||
|
34.536891679748834,
|
||||||
|
0,
|
||||||
1,
|
1,
|
||||||
|
],
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
true,
|
||||||
|
Array [
|
||||||
|
-1,
|
||||||
|
0,
|
||||||
|
-1.2246467991473532e-16,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
1,
|
1,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
10,
|
-1.2246467991473532e-16,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
0,
|
0,
|
||||||
"晨丰顶板",
|
-1704.1891679749642,
|
||||||
"未命名",
|
34.536891679748834,
|
||||||
"晨丰一字柜测试",
|
|
||||||
"",
|
|
||||||
"水曲柳(默认材质)",
|
|
||||||
"",
|
|
||||||
0,
|
0,
|
||||||
1,
|
1,
|
||||||
"**多种**",
|
],
|
||||||
2,
|
0,
|
||||||
4,
|
3,
|
||||||
2,
|
569.9999999999945,
|
||||||
|
88,
|
||||||
|
17.5,
|
||||||
|
false,
|
||||||
|
"Polyline",
|
||||||
|
8,
|
||||||
|
2,
|
||||||
|
0,
|
||||||
|
false,
|
||||||
|
0,
|
||||||
|
7,
|
||||||
|
0,
|
||||||
|
Array [
|
||||||
1,
|
1,
|
||||||
4,
|
|
||||||
3,
|
|
||||||
"2",
|
|
||||||
"4",
|
|
||||||
"3",
|
|
||||||
"1",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
4,
|
|
||||||
"三合一",
|
|
||||||
"铰链孔",
|
|
||||||
"二合一",
|
|
||||||
"不排",
|
|
||||||
true,
|
|
||||||
true,
|
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
1,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
true,
|
569.9999999999945,
|
||||||
0,
|
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,
|
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