Jump to content

Radial Groom brushes used on Geo OBJ pop you out of SOPs


abvfx

Recommended Posts

Hey guys,

I'm basically using the guideGroom sop inside of a regular Geometry object. But if i use the radial menus or shelf to switch to screen brush or plant guides it pops me out of SOPs and now im at OBJ level and puts me into select mode.

It works just fine if i use a Guide OBJ but I want to do this inside a regular Geometry OBJ.

What would i need to add to the shelf scripts to do this?

I took a look at the furtoolutils

 

def startGrooming(kwargs, tool=None):
    active_pane = toolutils.activePane(kwargs)

    if isinstance(active_pane, hou.SceneViewer):
        groomobject = getGroomObject(
            active_pane,
            'Select an object to groom and press Enter to complete.',
            acceptlegacyfurobject=True)

Not sure how to edit this so that it will accept regualr OBJ nodes. 

 

The workflow i currently use is with the guide groom node active, hit select, grab a couple curves, then radial menu what brush i want.... but if this is done in an OBJ node, it pops me out wanting me to select a groom object. Im trying to not use a Guide Groom node, because its quite heavy there is an extra subnet full of unnecessary calculations. 

cheers

Andrew

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...