forked from george-roberts/cam-posteditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
225 lines (225 loc) · 5.34 KB
/
package.json
File metadata and controls
225 lines (225 loc) · 5.34 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
{
"name": "hsm-post-processor",
"displayName": "Autodesk HSM Post Processor",
"description": "Autodesk HSM post processor utility.",
"version": "1.11.2",
"icon": "res/icons/logo.png",
"author": {
"name": "Autodesk",
"email": "cam.posts@autodesk.com",
"url": "http://cam.autodesk.com"
},
"publisher": "Autodesk",
"engines": {
"vscode": "^1.18.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.startHSMPlugin",
"onCommand:hsm.showDebuggedCode",
"onCommand:hsm.changePostExe",
"onCommand:disableLineSelection",
"*",
"onView:variableList",
"onView:functionList",
"onView:cncList"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.startHSMPlugin",
"title": "Post Utility",
"category": "HSM"
},
{
"command": "variableList.searchVars",
"title": "Search"
},
{
"command": "variableList.clearSearch",
"title": "Clear Search"
},
{
"command": "functionList.refreshEntry",
"title": "Refresh functions",
"icon": "res/icons/ref.svg"
},
{
"command": "hsm.disableLineSelection",
"title": "Disable auto line selection",
"category": "HSM"
},
{
"command": "hsm.showDebuggedCode",
"title": "HSM: Show debugged code"
},
{
"command": "cncList.refreshCNCList",
"title": "Refresh CNC List",
"icon": "res/icons/ref.svg"
},
{
"command": "hsm.changePostExe",
"title": "Change post executable",
"category": "HSM"
},
{
"command": "hsm.downloadCNCExtractor",
"title": "Download CNC exporting post processor",
"category": "HSM"
},
{
"command": "hsm.deleteCNCFile",
"title": "Delete CNC File",
"category": "HSM"
},
{
"command": "hsm.showVarHelpFile",
"title": "Post help",
"category": "HSM"
}
],
"keybindings": [
{
"command": "HSM.selectCNCFile",
"key": "Ctrl+Alt+c"
},
{
"command": "HSM.postProcess",
"key": "ctrl+alt+g"
}
],
"views": {
"explorer": [
{
"id": "variableList",
"name": "Variable List"
},
{
"id": "functionList",
"name": "Function List"
},
{
"id": "cncList",
"name": "CNC Selector"
}
]
},
"menus": {
"view/title": [
{
"command": "variableList.searchVars",
"when": "view == variableList",
"group": "vars"
},
{
"command": "variableList.clearSearch",
"when": "view == variableList",
"group": "vars"
},
{
"command": "functionList.refreshEntry",
"when": "view == functionList",
"group": "navigation"
},
{
"command": "cncList.refreshCNCList",
"when": "view == cncList",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "hsm.deleteCNCFile",
"when": "view == cncList&&viewItem == customFile"
},
{
"command": "hsm.showVarHelpFile",
"when": "view == variableList&&viewItem == child"
}
]
},
"configuration": {
"type": "object",
"title": "HSM Post Utility",
"properties": {
"HSMPostUtility.sortFunctionListAlphabetically": {
"type": "boolean",
"default": true,
"description": "Alphabetically sort the function list"
},
"HSMPostUtility.postOnSave": {
"type": "boolean",
"default": false,
"description": "Post processes the active CPS file when the document is saved. This will only post if the debug window is open"
},
"HSMPostUtility.autoUpdateFunctionList": {
"type": "boolean",
"default": true,
"description": "Updates the function list automatically, without the need for refreshing"
},
"HSMPostUtility.shortenOutputCode": {
"type": "boolean",
"default": true,
"description": "Limits the outputted movement blocks to the value set by shortenOutputLineLimit setting, making the outputted code easier to navigate"
},
"HSMPostUtility.shortenOutputLineLimit": {
"type": "integer",
"default": 50,
"description": "Set the number of movement blocks to be used by the Shorten Output setting"
},
"HSMPostUtility.outputUnits": {
"type": "string",
"enum": [
"MM",
"IN"
],
"default": "MM",
"description": "Sets the desired output units for post processing"
},
"HSMPostUtility.postOnCNCSelection": {
"type": "boolean",
"default": false,
"description": "If true, post processing will occur as soon as a CNC file is selected"
},
"HSMPostUtility.colorOutput":{
"type": "boolean",
"default": false,
"description": "If true, the code output from onLinear, onRapid and onCircular are colored"
},
"HSMPostUtility.linearColor":{
"type": "string",
"default": "lightgreen"
},
"HSMPostUtility.rapidColor":{
"type": "string",
"default": "yellow"
},
"HSMPostUtility.circularColor":{
"type": "string",
"default": "lightblue"
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.5.2",
"vscode": "^1.0.5",
"mocha": "^3.5.0",
"eslint": "^4.6.1",
"@types/node": "^7.0.0",
"@types/mocha": "^2.2.42"
},
"__metadata": {
"id": "da746f7c-d627-49de-a2c4-7adecc8e7073",
"publisherId": "ea315e41-783a-47fe-9531-1a81dfe2a24d",
"publisherDisplayName": "Autodesk"
}
}