1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
use crate::{each_cmd::*, output as out, ModelingCmd, ModelingCmdVariant};

impl<'de> ModelingCmdVariant<'de> for MovePathPen {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::MovePathPen(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for ExtendPath {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::ExtendPath(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Extrude {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Extrude(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for ClosePath {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::ClosePath(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for CameraDragStart {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::CameraDragStart(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for CameraDragMove {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::CameraDragMove(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for CameraDragEnd {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::CameraDragEnd(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EnableSketchMode {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EnableSketchMode(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for DefaultCameraLookAt {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::DefaultCameraLookAt(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for DefaultCameraZoom {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::DefaultCameraZoom(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for DefaultCameraEnableSketchMode {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::DefaultCameraEnableSketchMode(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for DefaultCameraDisableSketchMode {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::DefaultCameraDisableSketchMode(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for DefaultCameraFocusOn {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::DefaultCameraFocusOn(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Export {
    type Output = out::Export;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Export(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EntityGetParentId {
    type Output = out::EntityGetParentId;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EntityGetParentId(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EntityGetNumChildren {
    type Output = out::EntityGetNumChildren;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EntityGetNumChildren(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EntityGetChildUuid {
    type Output = out::EntityGetChildUuid;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EntityGetChildUuid(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EntityGetAllChildUuids {
    type Output = out::EntityGetAllChildUuids;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EntityGetAllChildUuids(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EntityGetDistance {
    type Output = out::EntityGetDistance;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EntityGetDistance(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EditModeEnter {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EditModeEnter(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SelectWithPoint {
    type Output = out::SelectWithPoint;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SelectWithPoint(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SelectAdd {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SelectAdd(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SelectRemove {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SelectRemove(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SelectReplace {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SelectReplace(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for HighlightSetEntity {
    type Output = out::HighlightSetEntity;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::HighlightSetEntity(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for HighlightSetEntities {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::HighlightSetEntities(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for NewAnnotation {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::NewAnnotation(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for UpdateAnnotation {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::UpdateAnnotation(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for ObjectVisible {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::ObjectVisible(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for ObjectBringToFront {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::ObjectBringToFront(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for GetEntityType {
    type Output = out::GetEntityType;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::GetEntityType(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Solid2dAddHole {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Solid2dAddHole(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Solid3dGetAllEdgeFaces {
    type Output = out::Solid3dGetAllEdgeFaces;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Solid3dGetAllEdgeFaces(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Solid3dGetAllOppositeEdges {
    type Output = out::Solid3dGetAllOppositeEdges;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Solid3dGetAllOppositeEdges(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Solid3dGetOppositeEdge {
    type Output = out::Solid3dGetOppositeEdge;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Solid3dGetOppositeEdge(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Solid3dGetNextAdjacentEdge {
    type Output = out::Solid3dGetNextAdjacentEdge;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Solid3dGetNextAdjacentEdge(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Solid3dGetPrevAdjacentEdge {
    type Output = out::Solid3dGetPrevAdjacentEdge;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Solid3dGetPrevAdjacentEdge(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SendObject {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SendObject(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for ObjectSetMaterialParamsPBR {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::ObjectSetMaterialParamsPBR(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EntitySetOpacity {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EntitySetOpacity(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for EntityFade {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::EntityFade(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for MakePlane {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::MakePlane(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for PlaneSetColor {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::PlaneSetColor(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SetTool {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SetTool(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for MouseMove {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::MouseMove(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for MouseClick {
    type Output = out::MouseClick;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::MouseClick(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SketchModeEnable {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SketchModeEnable(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SketchModeDisable {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SketchModeDisable(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for CurveGetType {
    type Output = out::CurveGetType;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::CurveGetType(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for CurveGetControlPoints {
    type Output = out::CurveGetControlPoints;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::CurveGetControlPoints(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for TakeSnapshot {
    type Output = out::TakeSnapshot;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::TakeSnapshot(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for MakeAxesGizmo {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::MakeAxesGizmo(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for PathGetInfo {
    type Output = out::PathGetInfo;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::PathGetInfo(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for PathGetCurveUuidsForVertices {
    type Output = out::PathGetCurveUuidsForVertices;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::PathGetCurveUuidsForVertices(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for PathGetVertexUuids {
    type Output = out::PathGetVertexUuids;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::PathGetVertexUuids(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for HandleMouseDragStart {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::HandleMouseDragStart(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for HandleMouseDragMove {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::HandleMouseDragMove(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for HandleMouseDragEnd {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::HandleMouseDragEnd(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for RemoveSceneObjects {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::RemoveSceneObjects(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for CurveSetConstraint {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::CurveSetConstraint(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for PlaneIntersectAndProject {
    type Output = out::PlaneIntersectAndProject;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::PlaneIntersectAndProject(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for CurveGetEndPoints {
    type Output = out::CurveGetEndPoints;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::CurveGetEndPoints(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for ReconfigureStream {
    type Output = ();
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::ReconfigureStream(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for ImportFiles {
    type Output = out::ImportFiles;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::ImportFiles(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Mass {
    type Output = out::Mass;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Mass(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Volume {
    type Output = out::Volume;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Volume(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for Density {
    type Output = out::Density;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::Density(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for SurfaceArea {
    type Output = out::SurfaceArea;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::SurfaceArea(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for CenterOfMass {
    type Output = out::CenterOfMass;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::CenterOfMass(self)
    }
}
impl<'de> ModelingCmdVariant<'de> for GetSketchModePlane {
    type Output = out::GetSketchModePlane;
    fn into_enum(self) -> ModelingCmd {
        ModelingCmd::GetSketchModePlane(self)
    }
}