spherical spirals script?

Next
 From:  futagoza (STEFAN)
8144.1 
Hi all,

i like to ask if there is a spherical spirals (curves) script available for MoI, because i have seen this nice model on GrabCad and was wondering if there is such a script available for MoI?

https://grabcad.com/library/3dpw-spherical-spiral-gear-rack-1

Regards
Stefan
  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
8144.2 In reply to 8144.1 
Hi Stefan, I know Brian has made numerous kinds of spiral scripts and I found his post here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=4975.5

So the method is to take any curve on a sphere like the 180 degree arc seam edge will do (duplicate it to a standalone curve by copy/paste), then run Transform > Deform > Twist picking the twist axis along the sphere's axis. The result will be a spherical spiral:



- Michael
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:  mkdm
8144.3 In reply to 8144.1 
Hi Stefan,

You can also use an alternative and generative way with Project Elephant.

Here's a brief video : http://take.ms/1Kg2L

In order to use it, you need these things :

1) Latest Max's Project Elephant v.0.85_mod (http://moi3d.com/forum/get_attachment.php?webtag=MOI&hash=866df4d0fcf7ca688ec3191602149627&filename=nodeeditor.v.0.85_mod.zip)
Copy the "nodeeditor" folder into the Moi's "ui" folder.

2) My "PatternSelArray" node (http://take.ms/CRLDZ)
Copy the file "arraysExt.js" into "nodes" folder of Project Elephant (alias nodeeditor)

3) Add this line of code to the "index.html" file that is present into the "nodeeditor" folder :
code:
<script type="text/javascript" src="nodes/arraysExt.js"></script>


So you should have something like this :

code:
<html xmlns:moi>
	<head>
		<title>@'y'@  0.85</title>

		<link rel="stylesheet" type="text/css" href="css/style.css">
		<link rel="stylesheet" type="text/css" href="css/litegraph.css">
		<link rel="stylesheet" type="text/css" href="css/litegraph-editor.css">

		<script type="text/javascript" src="core/lang.js"></script>
		<script type="text/javascript" src="core/compatibility.js"></script>
		<script type="text/javascript" src="core/litegraph.js"></script>
		<script type="text/javascript" src="core/litegraph-editor.js"></script>

		<script type="text/javascript" src="nodes/basic.js"></script>
		<script type="text/javascript" src="nodes/points.js"></script>
		<script type="text/javascript" src="nodes/curves.js"></script>
		<script type="text/javascript" src="nodes/solids.js"></script>
...
...
...

		<script type="text/javascript" src="nodes/arraysExt.js"></script>


I hope I made myself clear :)

Best,

- Marco (mkdm)

EDITED: 24 Oct 2016 by MKDM

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:  futagoza (STEFAN)
8144.4 
Thank you very much, for the quick help, Michael and Marco!

Much appreciated!

Best regards
Stefan
  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
8144.5 
Here is a new _SphericalSpiral01 script, which does Archimedean spirals on a sphere.
The spiral seems to differ from the Twist version.








Next up are equidistant points and maybe voronoi.

- 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:  mkdm
8144.6 In reply to 8144.5 
Hi bemfarmer,

Thank you very much for this new cool script !

P.S. I already wrote this some times ago so I'm sorry if I repeat :
It would be great if all this particular scripts could be translated into "Project Elephant" nodes!
Ok...I know that Max wrote its excellent "MathPts" node, but many mathematical scripts perform very specific actions.

Personally, I haven't the required mathematical knowledge to deal with that type of effort...

Anyway, thanks again and have a nice day.

- Marco (mkdm)
  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:  futagoza (STEFAN)
8144.7 In reply to 8144.5 
Oh, super Brian!

Thanks a lot for your script!

Best regards
Stefan

EDITED: 27 Oct 2016 by STEFAN

  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:  Mindset (IGNITER)
8144.8 In reply to 8144.5 
Hi Brian ( bemfarmer ),

Tried your wonderful new script, circle arrayed result, and lofted adjacent spirals; got a threaded sphere.
How did you keep your surfaces on the sphere and avoid the threading?





Thanks for another great contribution!
-- Mindset

  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
8144.9 
Thanks everyone.

The spirals can be used to trim a Sphere of the same radius, rather than use loft.

Array of a point along a spiral curve makes relatively "equidistant" points, more or less.

Creating multiple spirals can be done with Circular array, or Rotate, or run the script multiple times with different start angles.

- Brian

EDITED: 27 Oct 2016 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
 From:  futagoza (STEFAN)
8144.10 
Hi Brian,

i just want to let you know that your script came in very handy for me in a real project, which will be 3D printed!

Thanks again for this very nice script!

Regards
Stefan
  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