@deepblend/dsh-blender-contracts 0.2.19 → 0.2.20

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.
@@ -505,6 +505,10 @@
505
505
  "$ref": "#/$defs/softBody",
506
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
507
  },
508
+ "fluid": {
509
+ "$ref": "#/$defs/fluid",
510
+ "description": "This entity takes part in a FLUID simulation (SPEC \u00a720 M6, complex simulation). Unlike the other three mechanisms, a fluid needs more than one entity \u2014 a domain and something flowing into it \u2014 which is why the field carries a role."
511
+ },
508
512
  "generator": {
509
513
  "$ref": "#/$defs/generator"
510
514
  },
@@ -962,6 +966,50 @@
962
966
  "description": "Kilograms. Blender's own default applies when absent."
963
967
  }
964
968
  }
969
+ },
970
+ "fluid": {
971
+ "type": "object",
972
+ "additionalProperties": false,
973
+ "required": [
974
+ "role"
975
+ ],
976
+ "properties": {
977
+ "role": {
978
+ "type": "string",
979
+ "enum": [
980
+ "domain",
981
+ "inflow",
982
+ "outflow"
983
+ ],
984
+ "description": "A fluid takes at least TWO entities: one DOMAIN, which is the volume the liquid lives in, and one or more INFLOW/OUTFLOW objects inside it. That is why this is a role rather than a flag \u2014 there is no such thing as a single entity that is a fluid."
985
+ },
986
+ "domainType": {
987
+ "type": "string",
988
+ "enum": [
989
+ "liquid",
990
+ "gas"
991
+ ],
992
+ "default": "liquid",
993
+ "description": "On a domain: what fills it. THE DEFAULT IS `liquid` AND THAT IS DELIBERATE: Blender's own default is `gas`, and MEASURED, a LIQUID inflow into a GAS domain produces nothing at all \u2014 the bake reports success, both caches report baked, and the domain's evaluated mesh is its own cube. A default that produces nothing while every signal says it worked is the exact trap this product exists around."
994
+ },
995
+ "resolution": {
996
+ "type": "integer",
997
+ "minimum": 8,
998
+ "maximum": 256,
999
+ "description": "On a domain: the simulation's grid resolution. It is the cost knob \u2014 the bake's time and memory grow with it \u2014 so it is stated rather than left to a default nobody can see."
1000
+ },
1001
+ "flowType": {
1002
+ "type": "string",
1003
+ "enum": [
1004
+ "liquid",
1005
+ "smoke",
1006
+ "fire",
1007
+ "both"
1008
+ ],
1009
+ "default": "liquid",
1010
+ "description": "On an inflow or outflow: what it emits."
1011
+ }
1012
+ }
965
1013
  }
966
1014
  }
967
1015
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepblend/dsh-blender-contracts",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "type": "module",
5
5
  "description": "DeepBlend Studio Service Definition, protocol contracts, and stable error codes.",
6
6
  "main": "lib/index.js",