@@ -62,12 +62,7 @@ define_modeling_cmd_enum! {
62
62
) ]
63
63
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
64
64
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
65
- pub struct StartPath {
66
- #[ cfg( feature = "ts-rs" ) ]
67
- /// Work around issue with ts-rs not allowing tag on an empty variant.
68
- #[ serde( default , skip) ]
69
- _fix_ts_rs: ( ) ,
70
- }
65
+ pub struct StartPath { }
71
66
72
67
/// Move the path's "pen".
73
68
/// If you're in sketch mode, these coordinates are in the local coordinate system,
@@ -275,12 +270,7 @@ define_modeling_cmd_enum! {
275
270
#[ derive( Debug , Clone , Default , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
276
271
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
277
272
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
278
- pub struct DefaultCameraGetSettings {
279
- #[ cfg( feature = "ts-rs" ) ]
280
- /// Work around issue with ts-rs not allowing tag on an empty variant.
281
- #[ serde( default , skip) ]
282
- _fix_ts_rs: ( ) ,
283
- }
273
+ pub struct DefaultCameraGetSettings { }
284
274
285
275
/// Change what the default camera is looking at.
286
276
#[ derive( Debug , Clone , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
@@ -562,12 +552,7 @@ define_modeling_cmd_enum! {
562
552
#[ derive( Debug , Clone , Default , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
563
553
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
564
554
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
565
- pub struct SceneClearAll {
566
- #[ cfg( feature = "ts-rs" ) ]
567
- /// Work around issue with ts-rs not allowing tag on an empty variant.
568
- #[ serde( default , skip) ]
569
- _fix_ts_rs: ( ) ,
570
- }
555
+ pub struct SceneClearAll { }
571
556
572
557
/// Replaces current selection with these entities (by UUID).
573
558
#[ derive( Debug , Clone , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
@@ -938,23 +923,13 @@ define_modeling_cmd_enum! {
938
923
#[ derive( Debug , Clone , Default , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
939
924
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
940
925
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
941
- pub struct SketchModeDisable {
942
- #[ cfg( feature = "ts-rs" ) ]
943
- /// Work around issue with ts-rs not allowing tag on an empty variant.
944
- #[ serde( default , skip) ]
945
- _fix_ts_rs: ( ) ,
946
- }
926
+ pub struct SketchModeDisable { }
947
927
948
928
/// Get the plane for sketch mode.
949
929
#[ derive( Debug , Clone , Default , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
950
930
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
951
931
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
952
- pub struct GetSketchModePlane {
953
- #[ cfg( feature = "ts-rs" ) ]
954
- /// Work around issue with ts-rs not allowing tag on an empty variant.
955
- #[ serde( default , skip) ]
956
- _fix_ts_rs: ( ) ,
957
- }
932
+ pub struct GetSketchModePlane { }
958
933
959
934
/// Get the plane for sketch mode.
960
935
#[ derive( Debug , Clone , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
@@ -994,25 +969,15 @@ define_modeling_cmd_enum! {
994
969
#[ derive( Debug , Clone , Default , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
995
970
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
996
971
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
997
- pub struct EnableDryRun {
998
- #[ cfg( feature = "ts-rs" ) ]
999
- /// Work around issue with ts-rs not allowing tag on an empty variant.
1000
- #[ serde( default , skip) ]
1001
- _fix_ts_rs: ( ) ,
1002
- }
972
+ pub struct EnableDryRun { }
1003
973
1004
974
/// Sets whether or not changes to the scene or its objects will be done as a "dry run"
1005
975
/// In a dry run, successful commands won't actually change the model.
1006
976
/// This is useful for catching errors before actually making the change.
1007
977
#[ derive( Debug , Clone , Default , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
1008
978
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
1009
979
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
1010
- pub struct DisableDryRun {
1011
- #[ cfg( feature = "ts-rs" ) ]
1012
- /// Work around issue with ts-rs not allowing tag on an empty variant.
1013
- #[ serde( default , skip) ]
1014
- _fix_ts_rs: ( ) ,
1015
- }
980
+ pub struct DisableDryRun { }
1016
981
1017
982
/// Set the background color of the scene.
1018
983
#[ derive( Debug , Clone , PartialEq , Serialize , Deserialize , JsonSchema , ModelingCmdVariant ) ]
@@ -1350,12 +1315,7 @@ define_modeling_cmd_enum! {
1350
1315
) ]
1351
1316
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
1352
1317
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
1353
- pub struct DefaultCameraSetOrthographic {
1354
- #[ cfg( feature = "ts-rs" ) ]
1355
- /// Work around issue with ts-rs not allowing tag on an empty variant.
1356
- #[ serde( default , skip) ]
1357
- _fix_ts_rs: ( ) ,
1358
- }
1318
+ pub struct DefaultCameraSetOrthographic { }
1359
1319
1360
1320
/// Use perspective projection.
1361
1321
#[ derive(
@@ -1442,36 +1402,21 @@ define_modeling_cmd_enum! {
1442
1402
#[ derive( Clone , Debug , Default , PartialEq , Deserialize , JsonSchema , Serialize , ModelingCmdVariant ) ]
1443
1403
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
1444
1404
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
1445
- pub struct SelectClear {
1446
- #[ cfg( feature = "ts-rs" ) ]
1447
- /// Work around issue with ts-rs not allowing tag on an empty variant.
1448
- #[ serde( default , skip) ]
1449
- _fix_ts_rs: ( ) ,
1450
- }
1405
+ pub struct SelectClear { }
1451
1406
1452
1407
/// Find all IDs of selected entities
1453
1408
#[ derive( Clone , Debug , Default , PartialEq , Deserialize , JsonSchema , Serialize , ModelingCmdVariant ) ]
1454
1409
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
1455
1410
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
1456
- pub struct SelectGet {
1457
- #[ cfg( feature = "ts-rs" ) ]
1458
- /// Work around issue with ts-rs not allowing tag on an empty variant.
1459
- #[ serde( default , skip) ]
1460
- _fix_ts_rs: ( ) ,
1461
- }
1411
+ pub struct SelectGet { }
1462
1412
1463
1413
/// Get the number of objects in the scene
1464
1414
#[ derive(
1465
1415
Clone , Debug , Default , PartialEq , Deserialize , JsonSchema , Serialize , ModelingCmdVariant ,
1466
1416
) ]
1467
1417
#[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
1468
1418
#[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
1469
- pub struct GetNumObjects {
1470
- #[ cfg( feature = "ts-rs" ) ]
1471
- /// Work around issue with ts-rs not allowing tag on an empty variant.
1472
- #[ serde( default , skip) ]
1473
- _fix_ts_rs: ( ) ,
1474
- }
1419
+ pub struct GetNumObjects { }
1475
1420
1476
1421
/// Make a new path by offsetting an object by a given distance.
1477
1422
/// The new path's ID will be the ID of this command.
0 commit comments