CascadeStudio_3D_Manual

Форк
0
147 строк · 4.3 Кб
1
{
2
  "settings": {
3
    "hasHeaders": true,
4
    "constrainDragToContainer": true,
5
    "reorderEnabled": true,
6
    "selectionEnabled": false,
7
    "popoutWholeStack": false,
8
    "blockedPopoutsThrowError": true,
9
    "closePopoutsOnUnload": true,
10
    "showPopoutIcon": false,
11
    "showMaximiseIcon": false,
12
    "showCloseIcon": false,
13
    "responsiveMode": "onload",
14
    "tabOverlapAllowance": 0,
15
    "reorderOnTabMenuClick": true,
16
    "tabControlOffset": 10
17
  },
18
  "dimensions": {
19
    "borderWidth": 5,
20
    "borderGrabWidth": 15,
21
    "minItemHeight": 10,
22
    "minItemWidth": 10,
23
    "headerHeight": 20,
24
    "dragProxyWidth": 300,
25
    "dragProxyHeight": 200
26
  },
27
  "labels": {
28
    "close": "close",
29
    "maximise": "maximise",
30
    "minimise": "minimise",
31
    "popout": "open in new window",
32
    "popin": "pop in",
33
    "tabDropdown": "additional tabs"
34
  },
35
  "content": [
36
    {
37
      "type": "row",
38
      "isClosable": true,
39
      "reorderEnabled": true,
40
      "title": "",
41
      "content": [
42
        {
43
          "type": "stack",
44
          "width": 50,
45
          "isClosable": true,
46
          "reorderEnabled": true,
47
          "title": "",
48
          "activeItemIndex": 0,
49
          "content": [
50
            {
51
              "type": "component",
52
              "componentName": "codeEditor",
53
              "title": "thinbox.json",
54
              "componentState": {
55
                "code": [
56
                  "// Welcome to Cascade Studio!   Here are some useful functions:",
57
                  "//  Translate(), Rotate(), Scale(), Union(), Difference(), Intersection()",
58
                  "//  Box(), Sphere(), Cylinder(), Cone(), Text3D(), Polygon()",
59
                  "//  Offset(), Extrude(), RotatedExtrude(), Revolve(), Pipe(), Loft(), ",
60
                  "//  FilletEdges(), ChamferEdges(),",
61
                  "//  Slider(), Button(), Checkbox()",
62
                  "",
63
                  "let box = Box(30,40,30)",
64
                  "let smallbox = Offset(box,-0.5,0.001,true)",
65
                  "let smallbox2 = Translate([0,0,2.5],smallbox)",
66
                  "let inner = Union([smallbox,smallbox2])",
67
                  "let thin  = Difference(box,[inner])",
68
                  "",
69
                  "let rounded = Offset(thin,1.2,0.001,false)",
70
                  "let rounded1 = Offset(rounded,-0.95,0.01,false)",
71
                  ""
72
                ]
73
              },
74
              "width": 50,
75
              "isClosable": false,
76
              "reorderEnabled": true
77
            }
78
          ]
79
        },
80
        {
81
          "type": "column",
82
          "isClosable": true,
83
          "reorderEnabled": true,
84
          "title": "",
85
          "width": 50,
86
          "content": [
87
            {
88
              "type": "stack",
89
              "height": 80,
90
              "isClosable": true,
91
              "reorderEnabled": true,
92
              "title": "",
93
              "activeItemIndex": 0,
94
              "content": [
95
                {
96
                  "type": "component",
97
                  "componentName": "cascadeView",
98
                  "title": "CAD View",
99
                  "componentState": {
100
                    "componentName": "cascadeView",
101
                    "MeshRes": 0.1,
102
                    "MeshResRange": [
103
                      0.01,
104
                      2
105
                    ],
106
                    "Cache?": true,
107
                    "Radius": 30,
108
                    "RadiusRange": [
109
                      20,
110
                      40
111
                    ]
112
                  },
113
                  "isClosable": false,
114
                  "reorderEnabled": true
115
                }
116
              ]
117
            },
118
            {
119
              "type": "stack",
120
              "height": 20,
121
              "isClosable": true,
122
              "reorderEnabled": true,
123
              "title": "",
124
              "activeItemIndex": 0,
125
              "content": [
126
                {
127
                  "type": "component",
128
                  "componentName": "console",
129
                  "title": "Console",
130
                  "componentState": {},
131
                  "height": 20,
132
                  "isClosable": false,
133
                  "reorderEnabled": true
134
                }
135
              ]
136
            }
137
          ]
138
        }
139
      ]
140
    }
141
  ],
142
  "isClosable": true,
143
  "reorderEnabled": true,
144
  "title": "",
145
  "openPopouts": [],
146
  "maximisedItemId": null
147
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.