Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Add-on: OnMesh Control is a great way to work with Hooks

3

Renderberg writes:

OnMesh controls - attached to the mesh and the mesh effect.

Add-on download here (file ON_MESH_CONTROL.PY.ZIP click on the right arrow)

3 Comments

  1. Is anyone else getting an error when they try to make controls? I get a dependency loop warning and it halts the process.

    Here's the error:
    -------------------------------------------
    Dependency cycle detected:
    Cube depends on CTRL.L through Hook Modifier.
    constraint_to_mesh.CTRL.L depends on Cube through Vertex Parent.
    rig depends on constraint_to_mesh.CTRL.L through Copy Location.
    location.CTRL.L depends on rig through Driver.
    CTRL.L depends on location.CTRL.L through Copy Location.

    skipping driver 'var', automatic scripts are disabled
    skipping driver 'var', automatic scripts are disabled
    skipping driver 'var', automatic scripts are disabled
    skipping driver 'var * -1', automatic scripts are disabled
    skipping driver 'var * -1', automatic scripts are disabled
    skipping driver 'var * -1', automatic scripts are disabled
    skipping driver 'var', automatic scripts are disabled
    skipping driver 'var', automatic scripts are disabled
    skipping driver 'var', automatic scripts are disabled
    skipping driver 'var * -1', automatic scripts are disabled
    skipping driver 'var * -1', automatic scripts are disabled
    skipping driver 'var * -1', automatic scripts are disabled
    Info: Ok!

    Dependency cycle detected:
    CTRL.L depends on location.CTRL.L through Copy Location.
    Cube depends on CTRL.L through Hook Modifier.
    constraint_to_mesh.CTRL.L depends on Cube through Vertex Parent.
    rig depends on constraint_to_mesh.CTRL.L through Copy Location.
    location.CTRL.L depends on rig through Driver.

    skipping driver 'var * -1', automatic scripts are disabled
    skipping driver 'var * -1', automatic scripts are disabled
    skipping driver 'var * -1', automatic scripts are disabled
    skipping driver 'var', automatic scripts are disabled
    skipping driver 'var', automatic scripts are disabled
    skipping driver 'var', automatic scripts are disabled

  2. So enabling "Auto run python scripts" seems to help a little. That was the initial issue. At least now I can create one control on surface. But that's it. Enabling the new depsgraph does allow me to mirror that first control but after that it just complains about the dependency loop like crazy and doesn't let you move any of them. It also won't create let me create anymore after that.

    There is clearly something that the developer is not telling us about his setup. the script does't really work on my side. I'd love to hear from others if they've managed to get it to work. Because if it does work, it looks like a massively cool solution to an age old problem.

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×