@kudashi/kds-api 2.13.26 → 2.13.28

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.
Files changed (3) hide show
  1. package/README.md +156 -0
  2. package/api.d.ts +6534 -6330
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,162 @@
2
2
 
3
3
  # api changelog
4
4
 
5
+ # version 2.13.28(2025-02-11)
6
+ - 支持三方插件存储模型库
7
+ - 插件标题支持多语言机制,详情参考:https://manual.kujiale.com/kds-plugin-document/1.0.0/docs/tutorial/%E9%85%B7%E5%A4%A7%E5%B8%88%E6%8F%92%E4%BB%B6%E6%A0%BC%E5%BC%8F%E8%A6%81%E6%B1%82
8
+
9
+ # version 2.13.27(2028-01-07)
10
+ - KDesign.startOperation和KDesign.commitOperation之间的操作更加兼容undo/redo
11
+ - KGroupInstance.setCustomProperty和KGroupDefinition.setCustomProperty兼容undo/redo
12
+ - 增加KView.getModelSnapshot
13
+
14
+ # version 2.13.26(2024-11-26)
15
+ - 增加KTopoEdge.getKey()
16
+
17
+ # version 2.13.25(2024-11-25)
18
+ - 增加KSurface.getPoint()
19
+
20
+ # version 2.13.25(2024-11-25)
21
+ - 增加KSurface.getPoint()
22
+
23
+ # version 2.13.24
24
+ - deactivateGroupInstance改为异步
25
+
26
+ # version 2.13.23
27
+ - 个人库材质上传限制
28
+ - 增加KDesign.inflateFaces
29
+
30
+ # version 2.13.22
31
+ - 增加KDesign.saveInstanceAsLibraryProject
32
+
33
+ # version 2.13.21
34
+ - 增加KApplicationUI.getSelectControlAxises
35
+ - 增加KGroupInstance.getLocalBoundingBox
36
+
37
+ # version 2.13.20
38
+ - 增加KDesign.enterExpressMode
39
+
40
+ # version 2.13.19
41
+ - 支持插件multiViews
42
+
43
+ # version 2.13.14(2023-0919)
44
+ - 增加KPluginView接口对应multiViews中每个View
45
+ - 增加一些apaas api
46
+ - KApplication.getPluginViewById
47
+ - KApplication.registerMessageHandler
48
+ - KApplication.unRegisterMessageHandler
49
+ - KApplicationUI.toggleSketchToolBar
50
+ - KApplicationUI.togglePropertyPanelVisibility
51
+ - KApplicationUI.switchToCurrentPluginAssetPanel
52
+ - KApplicationUI.injectMenuItems
53
+ - KApplicationUI.injectToolItems
54
+ - KApplicationUI.toggleMaterialReplacePanel
55
+ - KDesign.createInstanceFromAnotherProject
56
+ - KPluginView
57
+ # version 2.13.12(2023-0718)
58
+ - 增加了一些apaas api:
59
+ - KDesign.thickenFaces
60
+ - KDesign.uploadMaterial
61
+ - KTestHelper增加了turnOffShellValidation和undefineShellValidation命令
62
+
63
+ # version 2.13.11(2023-07-0-7)
64
+ - 在KDesign中增加了:
65
+ - exitExpressMode
66
+
67
+ # version 2.13.10(2023-06-20)
68
+ - 在KDesign中增加了:
69
+ - breakGroupReference
70
+ - reparentGroupInstance
71
+
72
+ # version 2.13.9(2023-05-30)
73
+ - 在KDesign中增加了:
74
+ - assignMaterialForEntities()
75
+ - assignDecorationMaterialForEntities()
76
+ - brushDecorationMaterialToEntities()
77
+ - editMaterialParamsOfFace()
78
+ - adjustMaterialMapping()
79
+ - clearMaterial()
80
+ - getFacePavingGroupByFace()
81
+ - 在KCamera中增加了:
82
+ - setPosition()
83
+ - setTarget()
84
+ - 在KPickHelper中增加了:
85
+ - pickByPoint3d()
86
+ - 在KView中增加了:
87
+ - getScreenSnopShot()
88
+ - 添加材质连续对象KFacePavingGroup
89
+
90
+ # version 2.13.7(2023-05-18)
91
+ - 在KFace中增加了:
92
+ - getCustomProperty()
93
+ - setCustomProperty()
94
+ - deleteCustomProperty()
95
+ - 在KGroupDefinition和KGroupInstance中增加了:
96
+ - getCustomProperty()
97
+ - setCustomProperty()
98
+ - getAllCustomPropertiesKey()
99
+ - 在KGroupInstance中增加了:
100
+ - isInvisible()
101
+ - 在KDesign中增加了:
102
+ - shareModel()
103
+ - addFaceHoles()
104
+ - getMaterialOfFace()
105
+ - getMaterialParamsOfFace()
106
+ - findGroupInstancesByAppKey()
107
+ - findGroupInstancesByResource()
108
+ - toggleGroupInstancesVisible()
109
+ - alignShells()
110
+ - flipFace(face: KFace)
111
+ - 在KApplicationObserver中增加了:
112
+ - onModelChanged()
113
+ - 在KApplicationUI中增加了:
114
+ - toggleShowInvisibleModel()
115
+ - getActivePluginEntrancePosition()
116
+ - showPopover()
117
+ - isShownInvisibleModel()
118
+ - 增加了枚举类型:
119
+ - KGroupDefinitionType.Variable来表示变量化成组
120
+ - 在KTestHelper中增加了:
121
+ - purgeMaterialsInDesign()
122
+ - clearAllDecorationMaterials()
123
+ - 更新了math的apaas api版本,引入了很多新类型:
124
+ - "@qunhe/math-apaas-api": "3.0.0",
125
+ - "@qunhe/math-apaas-impl": "3.0.0",
126
+ - 修复了如下问题:
127
+ - boolean()没有导出KBooleanType类型的问题
128
+ - fillet()返回类型不能使用map类型的问题
129
+ - KSelection.getAllEntities()增加了默认参数,来控制是否包含vertex;默认为false保持和原来行为一致
130
+ - 吸附结果中添加了吸附点的normal值
131
+
132
+ # version 2.13.6(2022-11-29)
133
+ - Adjust the parameters of the following APIs:
134
+ - drawArrow3d
135
+ - drawCylinder
136
+
137
+ # version 2.13.5(2022-11-28)
138
+ - Add API:
139
+ - drawArrow3d
140
+ - getShortestPath
141
+
142
+ # version 2.13.4(2022-11-01)
143
+ - Add API:
144
+ - drawCylinder
145
+ - clearTemporaryShapesByIds
146
+ - getYunDesignInfo
147
+ - executeRequest
148
+ - Rebuilding API, change the return value of the following API from boolean to "{ id: string }":
149
+ - drawPoints
150
+ - drawLines
151
+ - drawPolylines
152
+ - drawText
153
+ - drawPromptLine
154
+
155
+ # version 2.13.3
156
+
157
+ # version 2.13.2(2022-07-15)
158
+ - Add KApplication Chinese comment
159
+ - Add KPluginUIAndStorage Chinese comment
160
+
5
161
  # version 2.13.2(2022-07-15)
6
162
  - Remove the qunhe brep api
7
163
  - Add KApplication Chinese comment