GithubHelp home page GithubHelp logo

schemtovox's Introduction

SchemToVox

Converts WorldEdit schematic (.schem) files into MagicaVoxel voxel (.vox) models.
You can make schematic files by creating a selection with the wand (or //pos1-//pos2), running //copy and then //schem save <schematic_filename>.
The saved .schem file will be in your .minecraft/config/worldedit/schematics directory.
Models are capped at 2000x2000x1000 voxels. For large schematic captures I'd recommend a local Paper server running FastAsyncWorldEdit.

Requires the NBT package.

Usage: python schem2vox.py <parameters> schem_file
You can also drag the schematic file onto the script.

Parameters

  • -o/--outfile <filename>:
    Sets the name of the file to write the output to.
    Defaults to out.vox.

  • -c/--compression <value from 0 to 10>:
    Will merge similar colours - a higher value means a lower threshold for merging.
    May be desirable for larger or more detailed schematics.

  • -u/--cull:
    Will remove any invisible voxels (voxels with every face covered by an opaque voxel).
    Significantly decreases filesize for larger schematics, though will increase processing time.

  • -t/--truncate:
    Will discard as many block types as needed to fit into the 256-colour palette.
    Keeps the 256 most-used blocks.
    May be required for larger or more detailed schematics.

Examples






schemtovox's People

Contributors

kbd2 avatar

Stargazers

kurple avatar  avatar Ralf Brandenstein avatar  avatar Agenttomate avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.