Git Product home page Git Product logo

asset-spacer's People

Contributors

boner-cmd avatar

Watchers

 avatar  avatar

asset-spacer's Issues

Warn on insufficient spacing

Need to explore dimensionality info to see if there is a programmatic way to check and warn the user if the objects are too large to space using the specified spacing amount at the given scale... maybe even recommend the correct scale appropriate to the desired spacing amount?

Centering tuning

Centering should base its offset, rather than on the "perfect" center, instead based on the center of an ideal object of the given ratio (i.e. a square matrix of 8 items should have the same centerpoint as a square matrix of 9 items. Possible solution, center each object as though centering an object of x * z?

I.e. if x row limit is 3 and shape is 1:1, if zcount reaches 3 before running out of items, then shift the entire offset by that of a the square of 3x3

For a clearer example, if 2:1 and x row limit is 4, center resulting matrix as though centering 8 items (4x2), even if the actual total number of items is 5, 6, or 7.

This may perform worse for non-identical objects (but unsure), where the attempt at idealized code is superior, but it would certainly improve consistency for objects like the unit cubes used for testing.

UI awful

Need to clean up UI before progressing, pop-up window is all kinds of messed up.

Center matrix

Currently top left corner of matrix is at 0,0. Need to add a checkbox option to roughly center the resulting matrix near 0,0 to improve aesthetics for those who prefer it

Script cannot handle multiple groups

While the script was only designed to handle one group at a time, running the script on different groups when more than one group is present should overlap them, around or centered on the origin. Testing revealed that if a second group is created, it shows abnormal behavior. Needs investigation.

Window doesn't update settings

Revealed during #22, despite trying to delete old window instances, new windows were not updating their attributes correctly. Needs investigation.

Build testing suite

Need to write a MEL script to act as a test suite (generates different scenarios, checks for position of each item to determine if it was successful)

Different matrix dimensions

Add radio buttons so the resulting matrix is not necessarily roughly square but instead can be roughly rectangular according to user preference

Improve group detection

Script currently does not detect groups. Additional testing required to uniquely identify groups as the target of the script, although potentially wontfix

Update spacing value on button press

Spacing can remain un-updated if cursor is still active in spacing field when go button is pressed. Force update of all variables before executing process

Fully automate import

Use file browser to add the content pack from file, automatically group it, name the group, and then act on the group according to dialog options

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.