Help with Node Editor

Next
 From:  fcwilt
12053.1 
Hi,

Reference the attached file.

I am trying to use Node Editor to allow rotating each of the two arms (orange and green) while keeping the green arm sensibly attached to the orange arm.

So far I have failed to obtain the desired behavior.

Rotating each arm is simple.

Moving the rotation point of the green arm to where it should be based on the rotation of the orange arm is where I am failing.

Thanks much.

Frederick
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
12053.2 In reply to 12053.1 
you can't make group of group(s) ?
---
Pilou
Is beautiful that please without concept!
My Moi French Site
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  fcwilt
12053.3 In reply to 12053.2 
Hi,

"group of groups"

I have no idea what that means.

Can you clarity?

Frederick
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
12053.4 In reply to 12053.3 
Object A = Group 1
Object B = Group 2
Select Group 1, Group 2
Group 3 = Selected
When you rotate something there is inheritance...from arm to fingers! :) (theory)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  MO (MO_TE)
12053.5 In reply to 12053.1 
Hi Frederick,
The NodeEditor is not designed to do kinematics, but you can track the arm's rotation points via the "Select Filtered" node inside the Select menu. (Select/Select Filtered)

Pass the "Arm v01 Part 2 Shaft" (after rotation) into this node and set the mode to "Select Circle Edges", then use a "Bbox" node to determine its center point. (Objects/Bounding Box)

Here is the latest NodeEditor Plus version:
https://moi3d.com/forum/messages.php?webtag=MOI&msg=11614.1
Attachments:

Image Attachments:
Size: 4.9 KB, Downloaded: 2 times, Dimensions: 400x400px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  fcwilt
12053.6 In reply to 12053.5 
Hi MO,

Thanks for the feedback.

I'm going to have to study what you have done - it looks a bit complicated but it works a treat.

While waiting for feedback I asked Google AI about the issue and it came back with a solution using vector math that works, at least for simple lines, which is what I tested it with.

I don't know if that approach will work for the 3DM file I posted here, with the arms representing real world objects, as opposed to simple lines.

See attached.

Frederick

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  MO (MO_TE)
12053.7 In reply to 12053.6 
Hi,
Yes, I think the better solution would be to calculate the angles; my method was more of a workaround. You can still add points as rotation center points and use those instead of the cylinder objects.

Please check out the attached nod file.
I just found this node in my archives! I created it a while ago using points and vectors for three arms. It behaves more like a mechanism! You can add or remove arms easily by copying and pasting nodes and setting your desired pin joint points. Let me know if this is close to what you want.

Here is a tutorial that shows how to use the point picker node:
https://moi3d.com/forum/messages.php?webtag=MOI&msg=11887.1
Attachments:

Image Attachments:
Size: 13.7 KB, Downloaded: 0 times, Dimensions: 400x400px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All