HELP WITH NODE - OBJECT TWIST CONTROLLED BY INPUT CURVE

Next
 From:  AlexPolo
10649.1 
Hi Guys,
My node skills lay in the poor to non existent was hoping a node master could help happy to contribute financially if required. I am trying to make a node with an object than can be twisted with curve input something like this.

Thanks for any guidance in advance
Alex.




EDITED: 4 Jul 2022 by ALEXPOLO

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)
10649.2 In reply to 10649.1 
When you say "Twist" that is something like that or other thing ?



If yes you have the Node Flow! ;)
  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:  bemfarmer
10649.3 In reply to 10649.1 
Hi Alex.

First of all do the Flow manually.
So the first thing to do is to rotate axis your input object by 90 degrees, using the straight control curve (base curve) as the rotate axis.
Then FLOW the input object, using the base curve straight line, and use the wavy line as the target curve for the flow.
Stretch may be used.
The input object seems to be too short...

- Brian

Then do the nodes.

The base line is not in the center of the input object, so direction of 90 degrees might make a slight difference?
  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:  Michael Gibson
10649.4 In reply to 10649.1 
Hi Alex, it's probably going to be very difficult to do that with a solid as the input object to be deformed.

What could work is if it took a cross section curve as the shape input and then copy and rotate the cross section curve and Loft them to make a solid. Would that produce a result like you need?

- Michael
  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:  bemfarmer
10649.5 In reply to 10649.1 
I guess that I misunderstood what is requested.
So you want to Twist the ribbon like a very complicated "airplane propeller, or very complex helicoid?

Variable Circular polarization?

- Brian

EDITED: 8 Apr 2022 by BEMFARMER

  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:  bemfarmer
10649.6 In reply to 10649.1 
I think you could scan along the wavy curve, and convert the angle to a cylindrical coordinate.
Assuming the ribbon is the same length as the wavy curve, the x value would stay the same.
The corresponding y value would convert to a cylindrical angle.
The radius of the cylinder would be the half width of the ribbon.
The result would be curve on a cylinder. A sweep of a bidirectional line segment from the origin to the cylinder curve, would be the twisted ribbon. Fatten it...

I vaguely recall doing a "scan" a few years ago, in a script.

- Brian
  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:  James (JFH)
10649.7 In reply to 10649.1 
Alex,

Is this the end result that you desire? If so I will upload 3DM & NOD files.


Have a great weekend,
James
https://www.instagram.com/nodeology/
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:  bemfarmer
10649.8 In reply to 10649.6 
Rather than scanning, the wavy curve could be Flowed to the cylinder.

- Brian
  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:  AlexPolo
10649.9 
Thanks all for varying inputs but James hit the nail right on the head - exactly what I was conceptualising the control would be to have as Brian mentioned a propeller prop but with varying sections of tight and loose twists to make a complex helicoid as mentioned.

Would be great to have a play with the NODE let me know if you need anything from my end.

The wealth of knowledge in this forum is deep and drawing from various pools making MOI one of the sharpest tools in the kit.

Amazing result.
  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:  James (JFH)
10649.10 In reply to 10649.9 
Alex,

To make it easier on myself I modified your 3DM, placing items on ground plane because NE generally defaults to Top view. Also I increase the size of your waveform to have a height of 360 units (180 either side of axis). This step was not necessary, it could have recalculated from your original, but doing so simplified the approach building the node circuit.

Please find new 3DM & NOD files attached
James
https://www.instagram.com/nodeology/

EDITED: 8 Apr 2022 by JFH


  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:  bemfarmer
10649.11 In reply to 10649.10 
James' node works!

EDITED: 8 Apr 2022 by BEMFARMER

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

Message 10649.12 deleted 9 Apr 2022 by JFH

Previous
Next
 From:  Frenchy Pilou (PILOU)
10649.13 In reply to 10649.12 
Curiously works not for me! :(

I have updated the last NodeEditor from here
http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.1

The only "red one" is this... and a free Node "Output" floating in the screen Node editor without link...(but it's not the final one)


EDITED: 8 Apr 2022 by PILOU

  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:  James (JFH)
10649.14 In reply to 10649.13 
Pilou,

You could use curves/rectangle followed by construct2/planar, or
alternatively add these nodes to nodes/extension folder:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1710

I want to overhaul the node libraries but it will be a major project
for which I don't have time for in foreseeable future.

James
https://www.instagram.com/nodeology/

EDITED: 9 Apr 2022 by JFH

  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)
10649.15 In reply to 10649.14 
Perfect!
(added the "Shapes" files .js! )

EDITED: 9 Apr 2022 by PILOU

  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:  AlexPolo
10649.16 
James - Wow one small Node request so many tangles true mastery in the NODE world works great had a quick play with more complex input shape will play some more and put it through its passes. Pilou thanks for the bread crumb trails in updating NODES to get it to work.

Here is quick play



  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)
10649.17 
Cool exploration of form!
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  AlexPolo
10649.18 
Pilou - random experiments as inspiration.
  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