Giter Club home page Giter Club logo

color_by_axis's Introduction

Color By Axis - Blender Add-on

Color by Axis is a Blender add-on that allows you to check whether the edges of an object are aligned with the X, Y or Z axis, by creating a color overlay.

โš  This add-on is still a work in progress. Currently tested on Blender 3.0 and above.

Instalation

Download the source code as "zip" and install it like any other Blender add-on.

image

How it works

The add-on will create a Panel in the N-Panel, called Color by Axis. Here is an explanation about the main items:

  • Color by Axis checkbox:

    • Activates the overlay over any selected object.
    • Once created, it will allow will to navigate the viewport, but will be turned off as soon as you type or click.
  • Axis type option:

    • GLOBAL: Compare your object's edges with global axis.
    • LOCAL: Compare your object's edges with its local axis.
    • REFERENCE: Compare your object's edges with a selected reference object. If no reference is provided it will work as LOCAL.
  • Reference object:

    • Select the object which will be used by the REFERENCE axis type.

Note: the colors of the overlay are attached to Blender's default theme, for consistency. If you want to change this, you have to change preference > themes > user interface > axis & gizmos colors > Axis x, y, z

Quick example

  • Add a default cube, make a copy and rotate it 30 degrees in Z axis.
  • Add an empty and rotate it 30 degrees in Z axis.
  • Select both cubes and enter "Edit Mode".
  • Click the checkbox "Color by Axis" in the N-panel. The edges of the cube will be colored according to the global axis that they are parallel to.

image


  • If "LOCAL" Axis Type is selected, it will color the edges based on the local coordinates of the objects.

image


  • If "REFERENCE" Axis Type is selected, choose the empty object as reference. It will color the edges based on the local coordinates of the reference object.

image

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.