Jump to content
Developer Wiki and Function Reference Links ×

Disappearing DPs


AlanW

Recommended Posts

Hi,

With the Downpipe objects in the files, there appears to be this unstable issue when you change a Marionett object in 3D mode it moves and in this case disapears. top plan view seems to adjust but in 3d the rectangular DP seems ok but not the circular one.

Could yo have a look at what might be the problem please.

Thanks as always.

Link to comment

Ok seems to have solved the disapearing issue.

Added the Convert to 3D Polys node.

Will see.

Another question is with a 2d poly I can place a bend at the vertex but with a 3D poly i dont see one similar to the 2d Node, am i missing one or do I need to make one??

Thanks

Still a but unstable when i copied them to the test house.

Edited by Alan Woodwell
Link to comment
  • Marionette Maven

What about using a Popup OIP control instead of a boolean? You could use the 'Planar Boolean' node in the Operations category as an example.

Basically you'd want to have it set up with Rectangle as option 1 in your OIP control, and Circle as 2.

Then all you would need to do in your code below is have your output equal to the value of your OIP control

Kind of like this:

@Marionette.NodeDefinition
class Params(metaclass = Marionette.OrderedClass):
this = Marionette.Node( "popup" ) 
op = Marionette.OIPControl( 'shape', Marionette.WidgetType.Popup, 0, ['rectangle','circle'])
out = Marionette.PortOut()

def RunNode(self):	
self.Params.out.value = self.Params.op.value

(okay, so exactly like that...)

Link to comment

Ah Amazing what you see in the clear light of day.

Understand where to place the Popup node so the drop down selection works in the OIP.

Now you get a drop down menu in the OIP.

Now all we have to do is figure out why in perspective mode anything that has EAP in it will disappear when you try to move it.

Top plan its ok.Also if you copy and move the angle goes haywire 0 - 13458deg etc.

Thanks

Edited by Alan Woodwell
Link to comment

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.   Restore formatting

  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...