-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathOpenscad.sublime-build
66 lines (62 loc) · 1.5 KB
/
Openscad.sublime-build
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
{
"shell": true,
"file_patterns": ["*.scad"],
"path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin",
"osx": {
"cmd": ["/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD $file"],
},
"linux": {
"cmd": [ "openscad $file" ],
},
"windows": {
"cmd": ["openscad.com $file"],
},
"variants": [
{
"name": "PNG",
"osx": {
"cmd": [
"/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD -o ${file/(.+)\\..+/$1/}.png $file"
],
},
"linux": {
"cmd": [
"openscad -o ${file/(.+)\\..+/$1/}.png ${file}"
],
},
"windows": {
"cmd": ["openscad.com", "-o", "${file/(.+)\\..+/$1/}.png", "${file}"],
}
}, {
"name": "DXF",
"osx": {
"cmd": [
"/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD -o ${file/(.+)\\..+/$1/}.dxf $file"
],
},
"linux": {
"cmd": [
"openscad -o ${file/(.+)\\..+/$1/}.dxf ${file}"
],
},
"windows": {
"cmd": ["openscad.com", "-o", "${file/(.+)\\..+/$1/}.dxf", "${file}"],
}
}, {
"name": "STL",
"osx": {
"cmd": [
"/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD -o ${file/(.+)\\..+/$1/}.stl $file"
],
},
"linux": {
"cmd": [
"openscad -o ${file/(.+)\\..+/$1/}.stl ${file}"
],
},
"windows": {
"cmd": ["openscad.com", "-o", "${file/(.+)\\..+/$1/}.stl", "${file}"],
}
}
]
}