Git Product home page Git Product logo

blenderaddons's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blenderaddons's Issues

Code to modify if you get stuck in "Needs at least two selected objects" when distributing objects

The issue is in the selector "bpy.selection_osc". The script will work if you modify distrubute.py in "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\oscurart_tools\object".

def ObjectDistributeOscurart(self, X, Y, Z):
    if len(bpy.context.selected_objects[:]) > 1:
        # VARIABLES
        dif = bpy.context.selected_objects[-1].location - bpy.context.selected_objects[0].location
        chunkglobal = dif / (len(bpy.context.selected_objects[:]) - 1)
        chunkx = 0
        chunky = 0
        chunkz = 0
        deltafst = bpy.context.selected_objects[0].location

        # ORDENA
        for OBJECT in bpy.context.selected_objects[:]:
            if X:
                OBJECT.location.x = deltafst[0] + chunkx
            if Y:
                OBJECT.location[1] = deltafst[1] + chunky
            if Z:
                OBJECT.location.z = deltafst[2] + chunkz
            chunkx += chunkglobal[0]
            chunky += chunkglobal[1]
            chunkz += chunkglobal[2]
    else:
        self.report({'INFO'}, "Needs at least two selected objects")

Question

Hi,

I really like your add-on and use it for a while but I was wondering if I could import my own fixtures models directly into your extension when creating a new light.

Yours sincerely,

William

Some add ons won't install

Some of the files are missing the bl_info dictionary at the top and as a result fail to install even after manually compiling to bytecode. I would add them myself but I don't know what some of the keys should be, specifically the api, location, description, & category keys.

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.