Giter Club home page Giter Club logo

tools-for-models's Introduction

Tools-for-Models

Written to help automate preparation of models created in Masterpiece VR. This add-on does (optionally) all of the recommended steps from this forum post by one of the Masterpiece VR developers: http://forum.masterpiecevr.com/t/how-to-uv-unwrap-an-exported-mpvr-model-in-blender/135

Functions (as of v0.7):

  • Remove doubles from all meshes in a scene, given minimum distance.
  • Decimate all meshes, optionally triangulating and mirroring along specified plane.
  • Undecimate all meshes.
  • Smart UV Project, with the option to delete existing UV maps and recreating new ones. If you run without the "Delete UV Maps" box ticked then it runs the UV project only on meshes that do not already have a UV map.

Installation

Simply open the script in a Blender text editor window and click "Run Script". (If you don't know how to do that, see below.)

You should immediately see a panel at the bottom of the Tools tab in any 3D View that looks like this: Alt text (I've moved it to the top of my Tools panel. You can do that if you'd like.)

If you need help beyond this (below), I could create a video tutorial if needed. I'm looking into making this an "official" add-on, but have no idea of the process.

For now, if you hold your mouse cursor over the 3D view and press CTRL-right twice, you should get the code workspace. There you should see the text editor. At the bottom of that window there is a menu, and you want Text->Open Text Block. Then navigate to the.py file that you downloaded and open it. You should then see the "Run Script" button.

Note that at the top of the code work space, there is a console output that will show the status. But if you click the Remove Doubles Globally button, it will also print an information message at the very end and tell you how many meshes it processed and how many verts it removed.

If you tick the 'Register' checkbox at the bottom of your text window, it will automatically run the script the next time you open this blend file. Note that you may get an error when you do this. If so, you can click the "Reload Trusted" button at the top of the window. That will allow you to actually auto-register the script every time you load the Blender file.

Alt text

If you want the script to always load at startup, you can import it as an add-on (I think... I'll look into this later), or open your startup scene, open the textblock and take the "Register" box and then save the startup scene (File -> Save Startup File). This latter method is confirmed by me to work, so I'd recommend that until I look into actual Blender plugins.

Usage

Make sure you're not in Edit mode and then just change the settings and click the buttons to execute.

Future Plans

None at the moment. Should this panel do anything else? You're welcome to create an Issue here (to help me remember feature suggestions).

tools-for-models's People

Contributors

lelandg avatar

Stargazers

Jose avatar MW avatar  avatar Theun Kohlbeck avatar

Watchers

James Cloos avatar  avatar MW 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.