gs-cae-design 1.1.63 → 1.1.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -236,6 +236,10 @@ export class TubSectionObject
236
236
  radius3 = R2 / 2;
237
237
  radius4 = R2 / 2 - D2;
238
238
 
239
+ if(radius2 <= radius3) {
240
+ radius2 = radius3 * 1.01;
241
+ }
242
+
239
243
  // 内圆的三个点 外上 外下 内上
240
244
  let point4 = Longan.Vector.multiply(zAxis, radius3);
241
245
  let point5 = Longan.Vector.multiply(zAxis, -radius3);
@@ -96,7 +96,7 @@ export class ColorDivGrupThicknessObject extends ColorDivBaseObject {
96
96
  }
97
97
  } else if (
98
98
  grupSeg.section &&
99
- grupSeg.section.crossSectionType === "Tub"
99
+ grupSeg.section.crossSectionType === "TUB"
100
100
  ) {
101
101
  //
102
102
  console.log("Tub");
@@ -55,7 +55,7 @@ export default class ColorDivideByGrupThicknessConfig extends Config {
55
55
  }
56
56
  } else if (
57
57
  grupSeg.section &&
58
- grupSeg.section.crossSectionType === "Tub"
58
+ grupSeg.section.crossSectionType === "TUB"
59
59
  ) {
60
60
  let thickness = (
61
61
  grupSeg.section as TubSectionObject