-
Notifications
You must be signed in to change notification settings - Fork 288
/
mv_commands.html
191 lines (187 loc) · 5.35 KB
/
mv_commands.html
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
<!-- ephtracy content page --->
<h3><strong>Commands</strong></h3>
<img src="image/commands.png" style="margin-bottom: 10px"></img>
<p>
Press <kbd>TAB</kbd> to Enable/Enter Commands <br/>
Press <kbd>Enter</kbd> to Confirm Commands <br/>
Press <kbd>UP/DOWN</kbd> to Select History Input <br/>
</p>
<table class="table table-bordered">
<tbody>
<tr>
<th><b>Command Format</b> </th>
<th><b>Description</b> </th>
<th><b>Example</b> </th>
</tr>
<tr>
<td>sel_none</td>
<td>select none</td>
<td></td>
</tr>
<tr>
<td>sel_all</td>
<td>select all</td>
<td></td>
</tr>
<tr>
<td>sel_inv</td>
<td>select inverse</td>
<td></td>
</tr>
<tr>
<td>copy</td>
<td>copy voxels</td>
<td></td>
</tr>
<tr>
<td>cut</td>
<td>cut voxels</td>
<td></td>
</tr>
<tr>
<td>paste</td>
<td>paste voxels</td>
<td></td>
</tr>
<tr>
<td>size <span class="text-warning">[x y z]</span></td>
<td>resize model</td>
<td>size 45 60 120</td>
</tr>
<tr>
<td>shrink</td>
<td>fit model size</td>
<td></td>
</tr>
<tr>
<td>zero</td>
<td>clear all voxels</td>
<td></td>
</tr>
<tr>
<td>full</td>
<td>full volume</td>
<td></td>
</tr>
<tr>
<td>fill</td>
<td>paint all voxels with same color</td>
<td></td>
</tr>
<tr>
<td>inv</td>
<td>inverse solid and empty space</td>
<td></td>
</tr>
<tr>
<td>flip <span class="text-warning">[axis]</span></td>
<td>flip model</td>
<td>flip x y</td>
</tr>
<tr>
<td>loop <span class="text-warning">[axis] [offset]</span></td>
<td>move model</td>
<td>loop z 1 x -2</td>
</tr>
<tr>
<td>scale <span class="text-warning">[xyz] [factor]</span></td>
<td>scale model (xyz is optional) </td>
<td>scale x 0.5 yz 2.8 | scale 2.0</td>
</tr>
<tr>
<td>x2</td>
<td>double model size</td>
<td></td>
</tr>
<tr>
<td>rot <span class="text-warning">[axis] [degree]</span> </td>
<td>rotate model </td>
<td>rot x 30 </td>
</tr>
<tr>
<td>rot90 <span class="text-warning">[axis]</span> </td>
<td>rotate model 90 degree </td>
<td>rot90 x </td>
</tr>
<tr>
<td>repeat <span class="text-warning">[xyz] [factor]</span> </td>
<td>repeat model, negative value for mirror repeat (xyz is optional)</td>
<td>repeat xy 4 z -0.5 | repeat 2.0</td>
</tr>
<tr>
<td>mir <span class="text-warning">[axis]</span> </td>
<td>mirror symmetry, default axis is x</td>
<td>mir x | mir</td>
</tr>
<tr>
<td>dia <span class="text-warning">[axis]</span> </td>
<td>diagonal symmetry, default axis is z</td>
<td>dia x | dia</td>
</tr>
<tr>
<td>dil <span class="text-warning">[axis]</span></td>
<td>dilation, +z : positive direction, -z : negative direction, z : both directions</td>
<td>dil +z | dil xyz </td>
</tr>
<tr>
<td>ero <span class="text-warning">[axis]</span></td>
<td>erosion, +z : positive direction, -z : negative direction, z : both directions</td>
<td>ero +z-yx </td>
</tr>
<tr>
<td>flood <span class="text-warning">[colorIndex]</span> </td>
<td>if colorIndex == 0, remove all invisible voxels</td>
<td>flood 0</td>
</tr>
<tr>
<td></td>
<td>otherwise, fill all invisible space with colorIndex </td>
<td>flood 73 </td>
</tr>
<tr>
<td>noise <span class="text-warning">[seed scale min max]</span> </td>
<td>default value : scale = 0.03 min = 0.2 max = 0.5 </td>
<td>noise 123 0.03 0.2 0.5 </td>
</tr>
<tr>
<td>rand <span class="text-warning">[min max]</span> </td>
<td>paint model with random color index between min and max </td>
<td>rand 10 15 </td>
</tr>
<tr>
<td>maze <span class="text-warning">[edge length]</span> </td>
<td>generate maze shape</td>
<td>maze 8</td>
</tr>
<tr>
<td>pal mask </td>
<td>mask out all unused color swatches</td>
<td></td>
</tr>
<tr>
<td>pal fill <span class="text-warning">[index]</span> </td>
<td>fill palette with chosen color index</td>
<td>pal fill 100</td>
</tr>
<tr>
<td>pal bw/mac </td>
<td>generate grey or default mac palette </td>
<td>pal bw</td>
</tr>
<tr>
<td>o <span class="text-warning">[file type]</span> </td>
<td>export model </td>
<td>o obj | o slice</td>
</tr>
<tr>
<td>odir <span class="text-warning">[file type] </span></td>
<td>export all models in current folder displayed in model list </td>
<td>odir obj </td>
</tr>
<tr>
<td>xs <span class="text-warning">[option] [shader name] [arg0] [arg1] ... </b> </td>
<td>generate model/anim by custom voxel shader in folder [shader/] </td>
<td>xs wave (-n : num interations; -prev : based on previoud frame; -cur : based on current frame )</td>
</tr>
</tbody>
</table>