Giter Club home page Giter Club logo

mwpm's Introduction

Multiple Wall Points Mover (MWPM)

Gives the ability to move all wall endpoints that meet at the same point. Just hold alt while you let go of an endpoint you've grabbed, and any other endpoints that were sitting at it's original location will follow right along!

Configurable Settings:

  • Reverse Behaviour: Reverses key held behavior so that multiple walls move by default, and key must be used to move a single wall.
  • Key Code: Numerical key code to be used. You can use something like https://keycode.info/ to find the code.
  • Pixel Offset: Number of pixels to use as an offset if you want to also be able to grab walls endpoints that are close by.
  • Delete small walls: If both wall endpoints fall within the Pixel Offset, delete the wall instead of grabbing one endpoint.
  • Drag Resistance: Number of pixels you have to move your mouse on an endpoint before it registers as a drag (0 means default).

Special Thanks:

Huge thanks to Sk1mble for bringing this up to date for 0.8.1! You are a life saver!

mwpm's People

Contributors

jstapels avatar reaver01 avatar sk1mble avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mwpm's Issues

Option to reverse behavior and make moving all endpoints default without holding Alt.

Can we have an option to not need ALT to move all connected points, or a reverse of the current situation where ALT is needed only to move individual point but without it all endpoints are moved.

It is a bit hard to get how to use ALT (not when moving the endpoint but while an endpoint is moved) otherwise you move all the walls. It also is often the case where you want to move all connected endpoints together, and should be optionally a way to make this the default.

Improvement: Add ability to move all endpoints at same location

Suggested improvement: If the user holds down the Shift key (or some other modifier available for use), then move all of the endpoints that share the same location. This can allow the user to fine tune the walls/shapes they are creating with a single drag instead of one per endpoint that shares the same location.

As a side note, I really like the auto-delete of short walls.

wall.data deprecation

Hiya!

The deprecations for the wall.data object introduced in v10 have now fully been completed and mwpm doesn't work in the v12 prototype.

I have edited the mwpm.js file to edit instances of .data. to . and it is now working once again and ready for the future.

I have attached the edited version of the file to a comment.

can

The min version being 0.8.1, which is alpha. Can this be installed on 0.7.9?

Sorry finger fumble and I can't edit the title

0.8.1 compatibility

Hello! I love this module; it's one of the few that're indispensible to me. I've been updating my system to be compatible with Foundry 0.8.1 and I've also made some tweaks to MWPM to make it work, too. Let me know if you'd like the edited version.

The changes mostly relate to changes to the hook parameters.

Doesn't work with Foundry 9

@Reaver01, I've found this to be an invaluable module to aid in wall creation. I've recently upgraded to Foundry 9 and noticed this module doesn't work. It looks like @Sk1mble may have a pull request that would solve this. Can we get that pull request reviewed & released if it works?

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.