-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhypar copy.json
63 lines (63 loc) · 1.46 KB
/
hypar copy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"$schema": "https://hypar.io/Schemas/Function.json",
"id": "a9cac5a1-f68d-4d2e-bfdd-0d204359bbe4",
"name": "Core By Floors",
"model_dependencies": [
{
"name": "Floors"
}
],
"model_output": "Core",
"description": "Creates a schematic building core from floors.",
"language": "C#",
"input_schema": {
"type": "object",
"properties": {
"Length": {
"type": "number",
"description": "The Length.",
"minimum": 1.0,
"maximum": 50,
"default": 18,
"multipleOf": 0.1,
"$hyparUnitType": "length"
},
"Width": {
"type": "number",
"description": "The Width.",
"minimum": 1.0,
"maximum": 50,
"default": 10,
"multipleOf": 0.1,
"$hyparUnitType": "length"
}
}
},
"overrides": {
"Cores": {
"context": "[*discriminator=Elements.ServiceCore]",
"identity": {
"Centroid": {
"$ref": "https://hypar.io/Schemas/Geometry/Vector3.json"
}
},
"schema": {
"Profile": {
"type": "object",
"properties": {
"Perimeter": {
"$ref": "https://hypar.io/Schemas/Geometry/Polygon.json"
}
}
}
}
}
},
"outputs": [],
"repository_url": "https://github.com/hypar-io/function",
"source_file_key": null,
"preview_image": null,
"element_types": [
"https://prod-api.hypar.io/schemas/ServiceCore"
]
}