Jump to content

Recommended Posts

Posted (edited)

Hi There,

I've recently completed a binvox to LDR python script that creates optimised LDraw .ldr model files - the python script allows you to go from 3D model files (like obj) to LDraw models, swapping out individual 1x1 voxels/bricks for larger bricks where appropriate and each layer of the model is rotated at 90 degrees to add strength to the final LDRAW model.

CowRotate.gif

You can download the python script from my blog cultofthebrick.blogspot.com

My script uses Python 2.7 and numpy - Binvox is a small tool that creates voxel representations of 3D obj files and my script uses binvox-rw by Daniel Maturana to read the binvox file.

Enjoy

Edited by pennyforge

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...