@realsee/dnalogel 3.72.5-alpha.3 → 3.72.5-alpha.5

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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # CHANGELOG
2
+ ## 3.73.0
3
+
4
+ - feat(Sculpt): 多边形绘制增加 experimental_self_intersect_check 配置,为 true 时,绘制过程中会检查多边形是否自相交,如果自相交,则禁止添加下一个点
5
+
2
6
  ## 3.72.5
3
7
 
4
8
  - fix(*): 修复文本单词被截断换行问题,采用渐进降级策略(保持单词完整 → 连字符断词 → 省略号截断)
@@ -14,6 +14,11 @@ export type PolygonCreateConfig = Partial<PolygonStyle & CreateLimitConfig & Pol
14
14
  onPointPlaced?: (points: THREE.Vector3[]) => void;
15
15
  onUndo?: () => void;
16
16
  onRedo?: () => void;
17
+ /**
18
+ * @description 检测是否自相交,如果自交,禁止添加下一个点
19
+ * @default false
20
+ */
21
+ experimental_self_intersect_check?: boolean;
17
22
  };
18
23
  export declare class Polygon extends BaseObject<PolygonImportData> {
19
24
  readonly type = "Polygon";