@deepblend/dsh-blender-contracts 0.2.18 → 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.
|
@@ -501,6 +501,14 @@
|
|
|
501
501
|
"$ref": "#/$defs/cloth",
|
|
502
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
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
|
+
},
|
|
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
|
+
},
|
|
504
512
|
"generator": {
|
|
505
513
|
"$ref": "#/$defs/generator"
|
|
506
514
|
},
|
|
@@ -936,6 +944,72 @@
|
|
|
936
944
|
"description": "How much the fabric resists bending, 0 to 1. Blender's own default applies when absent."
|
|
937
945
|
}
|
|
938
946
|
}
|
|
947
|
+
},
|
|
948
|
+
"softBody": {
|
|
949
|
+
"type": "object",
|
|
950
|
+
"additionalProperties": false,
|
|
951
|
+
"properties": {
|
|
952
|
+
"pinTop": {
|
|
953
|
+
"type": "boolean",
|
|
954
|
+
"default": false,
|
|
955
|
+
"description": "Hold the top edge in place, so the body deforms around it rather than falling freely."
|
|
956
|
+
},
|
|
957
|
+
"goal": {
|
|
958
|
+
"type": "number",
|
|
959
|
+
"minimum": 0,
|
|
960
|
+
"maximum": 1,
|
|
961
|
+
"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."
|
|
962
|
+
},
|
|
963
|
+
"mass": {
|
|
964
|
+
"type": "number",
|
|
965
|
+
"exclusiveMinimum": 0,
|
|
966
|
+
"description": "Kilograms. Blender's own default applies when absent."
|
|
967
|
+
}
|
|
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
|
+
}
|
|
939
1013
|
}
|
|
940
1014
|
}
|
|
941
1015
|
}
|
package/package.json
CHANGED