Actions

Console commands

From MagicaVoxel Community Wiki

Revision as of 17:05, 2 January 2019 by PatrikRoy (talk | contribs)


Notes

Press TAB to Enable/Enter Commands
Press Enter to Confirm Commands
Press UP/DOWN to Select History Input

Command Format Description Example
sel_none select none
sel_all select all
sel_inv select inverse
copy copy voxels
cut cut voxels
paste paste voxels
size [x y z] resize model size 45 60 120
shrink fit model size
zero clear all voxels
full full volume
fill paint all voxels with same color
inv inverse solid and empty space
flip [axis] flip model flip x y
loop [axis] [offset] move model loop z 1 x -2
scale [xyz] [factor] scale model (xyz is optional) scale 2.0
x2 double model size
rot [axis] [degree] rotate model rot x 30
rot90 [axis] rotate model 90 degree rot90 x
repeat [xyz] [factor] repeat model, negative value for mirror repeat (xyz is optional) repeat 2.0
mir [axis] mirror symmetry, default axis is x mir
dia [axis] diagonal symmetry, default axis is z dia
dil [axis] dilation, +z : positive direction, -z : negative direction, z : both directions dil xyz
ero [axis] erosion, +z : positive direction, -z : negative direction, z : both directions ero +z-yx
flood [colorIndex] if colorIndex == 0, remove all invisible voxels flood 0
otherwise, fill all invisible space with colorIndex flood 73
noise [seed scale min max] default value : scale = 0.03 min = 0.2 max = 0.5 noise 123 0.03 0.2 0.5
rand [min max] paint model with random color index between min and max rand 10 15
maze [edge length] generate maze shape maze 8
pal mask mask out all unused color swatches
pal fill [index] fill palette with chosen color index pal fill 100
pal bw/mac generate grey or default mac palette pal bw
[file type] export model o slice
odir [file type] export all models in current folder displayed in model list odir obj
xs [option] [shader name] [arg0] [arg1] ... generate model/anim by custom voxel shader in folder [shader/] xs wave (-n : num interations; -prev : based on previoud frame; -cur : based on current frame )

Source

Commands on the official github page.

MediaWiki spam blocked by CleanTalk.