Giter Site home page Giter Site logo

bblanimation / assemblme Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 6.0 587 KB

Iterative object assembly animations made simple

Home Page: https://www.blendermarket.com/products/assemblme

License: GNU General Public License v3.0

Python 100.00%
lego blender-addon blender-scripts blender-python blender-plugin bpy python3

assemblme's Introduction

assemblme's People

Contributors

bblanimation avatar

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

Watchers

 avatar  avatar

assemblme's Issues

crash

Please copy the following form and paste it into a new issue at https://github.com/bblanimation/assemblme/issues

Don't forget to include a description of your problem! The more information you provide (what you were trying to do, what action directly preceeded the error, etc.), the easier it will be for us to squash the bug.

COPY EVERYTHING BELOW THIS LINE

Description of the Problem:

Blender Version: 002.082.007
Addon Version: 1, 3, 3
Platform Info:
system = Windows
platform = Windows-10-10.0.18362-SP0
version = 10.0.18362
python = 3.7.4
Error:
EXCEPTION (<class 'AttributeError'>): 'NoneType' object has no attribute 'name'
C:\Users\David Buckley\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\assemblme_v1-3-3\operators\create_build_animation.py
000 0150:is_valid() if i == scn.aglist_index or not scn.aglist[i].animated or c.name == ag.collection.name:
001 0051:execute() if not self.is_valid(scn, ag):

Error when creating presets containing spaces or special characters

I was using Assemblme to create build animations for sets with around 850 pieces. I applied the preset "Standard Build" and changed some of the settings. I attempted to name a new preset "Medium Set" and click create.

Clicking on the create button with a bad character results in the following error:

Description of the Problem:

Blender Version: 004.000.000
Addon Version: 1, 7, 0
Platform Info:
system = Windows
platform = Windows-10-10.0.19045-SP0
version = 10.0.19045
python = 3.10.13
Error:
EXCEPTION (<class 'FileNotFoundError'>): [Errno 2] No such file or directory: 'C:\Users\XXXX\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\presets\assemblme\medium\ set.py'
C:\Users\XXXX\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\assemblme_v1-7-0\operators\presets.py
000 0110:write_new_preset() f = open(new_preset_path, "w")
001 0061:execute() self.write_new_preset(new_preset_name)

I was able to rectify the problem by naming the preset "Medium". Upon further testing, it seems the problem arises when including a space character in the preset name, as well as when including some special characters (!, #, $, ^, *) The following isn't necessarily an issue, but I also noticed that using an underscore "Medium_Set" will result in a preset named "Medium set", removing the underscore and capitalization of the second word. Naming a preset "MEDIUM_SET" will result in a preset named "Medium set" as well.

It would likely be preferable to pop up a message warning users about using some these characters, or supporting their use.
Great addon by the way!

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.