Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Archived

This topic is now archived and is closed to further replies.

Krutoy242

MagicaVoxel .vox converter for print3d

Recommended Posts

Sorry for my English, im just Russian.

 

http://codepen.io/Krutoy242/full/xGOgJG/

 

This converter allows you to open .vox files from awesome MagicaVoxel program and convert them to format for print3d program.

 

eVezYHA.png

 

 

Usage

  1. Download and open MagicaVoxel. Make model of your dreams. Save it.
    HUXf12yl.png
     
  2. Open file in my converter written on JavaScript, and it will instantly generate chunks from model and show result, ready to copy-past in OC file for printing.

Converter have options:

  • Split to states will split your model in two by X coordinate (to right), if it will be more then 16 voxels length, and will make second state from this model. Use this to make two-stated prints, like buttons of trapdoors.
  • Label, tooltip, redstone, button mode and light level just add this fields to model.
  • You can determine textures and tint colors in table for each color, used in MagicaVoxel.

Program slightly optimized, but sometime human brain can make model with 2-3 less chunks.

Result in minecraft:

uxEEG70.png

 


Please, write here if you want some additional features or if you found bugs.

Share this post


Link to post
Share on other sites

Aww!.. It seems to be very good program, so it is only making worse the fact this link doesn't work for me - it seems that it was deleted from that website somehow, but I may be mistaken... If it is broken, could you please fix it? If it is not, I'm really asking for help with the issue. >.<

I simply *adore* 3D-printer since it's discovery only a few hours ago (:D) - (freshly-baken Security Uranium Rod and Forcefield should go well together ^^), but making models with 'edit' just too slow and hard, as imagining all these coordinates at once is a challenge... Utility from F0x06 is much better (thank you, F0x06!) than bare text editing, despite it eats too much CPU on my not-so-optimized PC. But if I could use the MagicaVoxel instead... o-oh, that would be totally new level of construction and design!

P.S. Заранее ÑпаÑибо. :3

Share this post


Link to post
Share on other sites

this is awesome and everything, but can you please make a better compression algorithm for using less parts, so we can print higher detailed models, thanks!

Share this post


Link to post
Share on other sites

this is awesome and everything, but can you please make a better compression algorithm for using less parts, so we can print higher detailed models, thanks!

Can you show example of model and result that required better algorithm?

Sometimes, my algorithm define 1-3 more chunks then human can do. But in most cases it works 100% effectively.

Share this post


Link to post
Share on other sites

This does not work for me either, i am using Safari and OS X Ei Captain i don't belive this would cause a problem seeing as you used JS but i know its important Info, your webpage loads so its not a 404 it just fails to load/display/convert the model its stuck with a blank screen? i can't figure out what i have done wrong, 

Share this post


Link to post
Share on other sites

This does not work for me either, i am using Safari and OS X Ei Captain i don't belive this would cause a problem seeing as you used JS but i know its important Info, your webpage loads so its not a 404 it just fails to load/display/convert the model its stuck with a blank screen? i can't figure out what i have done wrong, 

Please show me model that you try to convert (upload to dropbox please).

Share this post


Link to post
Share on other sites

Converter is updated!

sHwzIWD.png

  • Fixed problem with new version of .vox files from MagicaVoxels 0.98
  • Added some small tips (red chunks cont if more then 24 for example)

Please test and tell is everything working fine.

Share this post


Link to post
Share on other sites
14 hours ago, Fingercomp said:

Well, because this is the default OC chunk limit. You can increase (or decrease) the limit in the configuration file.

Yeah i figured this out a few hours after i posted that. now if only the dev(i think its lizzy.. right?) would add the option to make prints into working chairs or even Moar usefull things.

Share this post


Link to post
Share on other sites
4 hours ago, Mods_o_joy said:

Yeah i figured this out a few hours after i posted that. now if only the dev(i think its lizzy.. right?) would add the option to make prints into working chairs or even Moar usefull things.

Some 3D print features:

  • They can glow (unfortunately, the light can't be toggled).
  • They can act as switch, lever, or whatever else, emitting the redstone signal in active state.
  • A 3D print can consist of two states (well, one "3D print" block can actually have two different 3D models), toggled by clicking.

A lot of things can be created already!

And, well, chairs. There is a 3D print of chair. It was created by Krutoy242.

ayiZsqC.pngXU92W4A.png

The bottom part can be toggled by clicking. Stand on the seat, click on it, and, tada, you're "sitting" on the chair.

{
  label = "Крутое кресло",
  tooltip = "Для работы за крутым компьютером",
  buttonMode=true,
  shapes = {
    { 0,0,7,2,2,9,texture = "coal_block" },
    { 7,0,0,9,2,2,texture = "coal_block" },
    { 7,0,14,9,2,16,texture = "coal_block" },
    { 14,0,7,16,2,9,texture = "coal_block" },
    { 1,2,7,15,3,9,texture = "iron_block", tint = 0xc4dbee },
    { 7,2,1,9,3,15,texture = "iron_block", tint = 0xc4dbee },
    { 6,3,7,10,8,9,texture = "coal_block" },
    { 7,3,6,9,8,10,texture = "coal_block" },
    { 7,8,7,9,12,9,texture = "coal_block" },
    { 1,12,7,2,14,14,texture = "iron_block", tint = 0xc4dbee },
    { 2,12,2,6,14,14,texture = "coal_block" },
    { 4,12,0,6,14,14,texture = "coal_block" },
    { 6,12,0,10,14,14,texture = "wool_colored_white", tint = 0x00c3ff },
    { 10,12,0,12,14,14,texture = "coal_block" },
    { 12,12,2,14,14,14,texture = "coal_block" },
    { 14,12,7,15,14,14,texture = "iron_block", tint = 0xc4dbee },
    { 0,14,12,1,16,14,texture = "coal_block" },
    { 1,14,12,2,16,14,texture = "iron_block", tint = 0xc4dbee },
    { 2,14,12,14,16,15,texture = "coal_block" },
    { 14,14,12,15,16,14,texture = "iron_block", tint = 0xc4dbee },
    { 15,14,12,16,16,14,texture = "coal_block" },
    { 0,0,0,16,7,16,texture = "iron_block", tint = 0xc4dbee , state=true},
  }
},
 
{
  label = "Крутое кресло",
  tooltip = "Для работы за крутым компьютером",
  shapes = {
    { 1,0,11,2,4,13,texture = "iron_block", tint = 0xc4dbee },
    { 1,0,13,2,2,14,texture = "iron_block", tint = 0xc4dbee },
    { 2,0,12,6,5,14,texture = "coal_block" },
    { 6,0,12,10,5,14,texture = "wool_colored_white", tint = 0x00c3ff },
    { 10,0,12,14,5,14,texture = "coal_block" },
    { 14,0,11,15,4,13,texture = "iron_block", tint = 0xc4dbee },
    { 14,0,13,15,2,14,texture = "iron_block", tint = 0xc4dbee },
    { 1,2,4,2,4,13,texture = "iron_block", tint = 0xc4dbee },
    { 2,2,14,6,12,15,texture = "coal_block" },
    { 6,2,14,10,11,15,texture = "wool_colored_white", tint = 0x00c3ff },
    { 10,2,14,14,12,15,texture = "coal_block" },
    { 14,2,4,15,4,13,texture = "iron_block", tint = 0xc4dbee },
    { 0,3,4,2,4,11,texture = "iron_block", tint = 0xc4dbee },
    { 15,3,4,16,4,11,texture = "iron_block", tint = 0xc4dbee },
    { 0,4,4,2,5,11,texture = "coal_block" },
    { 14,4,4,16,5,11,texture = "coal_block" },
    { 2,5,13,6,12,15,texture = "coal_block" },
    { 6,5,13,10,11,15,texture = "wool_colored_white", tint = 0x00c3ff },
    { 10,5,13,14,12,15,texture = "coal_block" },
    { 4,12,13,12,15,15,texture = "coal_block" },
    { 5,15,13,11,16,15,texture = "coal_block" },
  }
}

By the way, Lizzy is a forum administrator. The author of the mod is Sangar.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.