@deepblend/dsh-blender-contracts 0.2.17 → 0.2.18

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,10 @@
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
+ },
500
504
  "generator": {
501
505
  "$ref": "#/$defs/generator"
502
506
  },
@@ -910,6 +914,28 @@
910
914
  "description": "Blender's own default applies when absent."
911
915
  }
912
916
  }
917
+ },
918
+ "cloth": {
919
+ "type": "object",
920
+ "additionalProperties": false,
921
+ "properties": {
922
+ "pinTop": {
923
+ "type": "boolean",
924
+ "default": true,
925
+ "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."
926
+ },
927
+ "mass": {
928
+ "type": "number",
929
+ "exclusiveMinimum": 0,
930
+ "description": "Kilograms per square metre. Blender's own default applies when absent."
931
+ },
932
+ "stiffness": {
933
+ "type": "number",
934
+ "minimum": 0,
935
+ "maximum": 1,
936
+ "description": "How much the fabric resists bending, 0 to 1. Blender's own default applies when absent."
937
+ }
938
+ }
913
939
  }
914
940
  }
915
941
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepblend/dsh-blender-contracts",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "type": "module",
5
5
  "description": "DeepBlend Studio Service Definition, protocol contracts, and stable error codes.",
6
6
  "main": "lib/index.js",