@deepblend/dsh-blender-contracts 0.2.17 → 0.2.19
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.
|
@@ -497,6 +497,14 @@
|
|
|
497
497
|
"$ref": "#/$defs/rigidBody",
|
|
498
498
|
"description": "This entity takes part in physics (SPEC \u00a720 M6, complex simulation). WHAT THIS SLICE DOES: rigid bodies \u2014 active ones fall and collide, passive ones are what they collide with, and the compile BAKES the result into the checkpoint so a render shows it. WHAT IT DOES NOT DO YET: cloth, soft bodies and fluids, which are the next slices."
|
|
499
499
|
},
|
|
500
|
+
"cloth": {
|
|
501
|
+
"$ref": "#/$defs/cloth",
|
|
502
|
+
"description": "This entity is simulated as FABRIC. A different field from `rigidBody` because it is a different mechanism rather than a different setting: a rigid body is a body type on the object, while cloth is a modifier that deforms the mesh. WHAT THIS SLICE DOES NOT DO YET: soft bodies and fluids, which are the next slices."
|
|
503
|
+
},
|
|
504
|
+
"softBody": {
|
|
505
|
+
"$ref": "#/$defs/softBody",
|
|
506
|
+
"description": "This entity is simulated as a SOFT BODY: it deforms and it remembers its shape, which is what separates it from cloth. A separate field because it is a separate modifier with separate settings; WHAT THIS DOES NOT DO YET: fluids, the last slice."
|
|
507
|
+
},
|
|
500
508
|
"generator": {
|
|
501
509
|
"$ref": "#/$defs/generator"
|
|
502
510
|
},
|
|
@@ -910,6 +918,50 @@
|
|
|
910
918
|
"description": "Blender's own default applies when absent."
|
|
911
919
|
}
|
|
912
920
|
}
|
|
921
|
+
},
|
|
922
|
+
"cloth": {
|
|
923
|
+
"type": "object",
|
|
924
|
+
"additionalProperties": false,
|
|
925
|
+
"properties": {
|
|
926
|
+
"pinTop": {
|
|
927
|
+
"type": "boolean",
|
|
928
|
+
"default": true,
|
|
929
|
+
"description": "Hang the cloth from its top edge, which is what makes it drape rather than fall. The compiler builds the vertex group Blender needs from the geometry, because a group name in the file would be a reference to something no generator creates."
|
|
930
|
+
},
|
|
931
|
+
"mass": {
|
|
932
|
+
"type": "number",
|
|
933
|
+
"exclusiveMinimum": 0,
|
|
934
|
+
"description": "Kilograms per square metre. Blender's own default applies when absent."
|
|
935
|
+
},
|
|
936
|
+
"stiffness": {
|
|
937
|
+
"type": "number",
|
|
938
|
+
"minimum": 0,
|
|
939
|
+
"maximum": 1,
|
|
940
|
+
"description": "How much the fabric resists bending, 0 to 1. Blender's own default applies when absent."
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"softBody": {
|
|
945
|
+
"type": "object",
|
|
946
|
+
"additionalProperties": false,
|
|
947
|
+
"properties": {
|
|
948
|
+
"pinTop": {
|
|
949
|
+
"type": "boolean",
|
|
950
|
+
"default": false,
|
|
951
|
+
"description": "Hold the top edge in place, so the body deforms around it rather than falling freely."
|
|
952
|
+
},
|
|
953
|
+
"goal": {
|
|
954
|
+
"type": "number",
|
|
955
|
+
"minimum": 0,
|
|
956
|
+
"maximum": 1,
|
|
957
|
+
"description": "How strongly the body remembers its shape, 0 to 1. Blender's own default applies when absent, and that default is high \u2014 which is why a soft body falls while keeping its shape rather than collapsing, and why both of those are asserted."
|
|
958
|
+
},
|
|
959
|
+
"mass": {
|
|
960
|
+
"type": "number",
|
|
961
|
+
"exclusiveMinimum": 0,
|
|
962
|
+
"description": "Kilograms. Blender's own default applies when absent."
|
|
963
|
+
}
|
|
964
|
+
}
|
|
913
965
|
}
|
|
914
966
|
}
|
|
915
967
|
}
|
package/package.json
CHANGED