MoI discussion forum
MoI discussion forum

Full Version: Spring shapes

Show messages:  1-20  21-24

From: mat10x
7 Apr 2018   [#1]
Hey Guys,

Wondering how to make helix/spring shapes...like the attached images? With specific number of coils, width and height dimensions too.

Thx.











Image Attachments:
spring.jpg  spring_2.jpg  Spring_vertical.png 


From: Michael Gibson
7 Apr 2018   [#2] In reply to [#1]
Hi mat, I'd probably start by making a rectangle and type in your desired width and height for that so those are set. Then draw arcs on the ends, snap the center point of the arc onto the midpoint of the rectangle's end, snap the end points of the arc on to the corners of the rectangle. So now you have an arc on the end of your rectangle. Drag the arc by its midpoint and release it on the midpoint of the rectangle's end.

Now you can delete the rectangle, put in 2 lines connecting the arcs and you should have a lozenge created of your desired width and height like this:



If that works for getting the profile and width and height sizes that you require, then the next steps after that might be something like turn on control points for the lines and move them in a side view to form one step of a coil. The goal will be to make a path curve that you can then use Construct > Sweep to sweep a circle curve around to make the final shape.

- Michael

Image Attachments:
mat_lozenge1.jpg 


From: ed (EDDYF)
7 Apr 2018   [#3]
Here is what I did:

Make a rectangle in side view.

Fillet the corners to round over.

Trim the curve in half lengthwise. Make the top half red and the bottom have blue for sake of illustration.

In top view rotate (pivot) the red curve 15 degrees. Rotate (pivot) the blue curve, in the opposite direction by the same number of degrees. Note: You must pivot each curve by the exact same number of degrees in opposite directions, otherwise they won't line up correctly for the following steps).

Join the red & blue curves.

In top view, select the Array Tool (Dir) and pick the Offset, Count option. Click once on the lower point of the curve, and click again on the highest point of the curve. This will duplicate and stack the curves in whatever quantity you chose. Select all the curves and Join. Note: You can compress or expand the spring by selecting it in top view, and resizing the boundary box.

Draw a small circle to represent the diameter of the wire. Sweep (Freeform) the spring using the small circle as the profile.

Finally, trim the ends of the spring as desired.

Ed Ferguson



From: bemfarmer
7 Apr 2018   [#4]
_CoilRectangular script:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8657.1
- Brian
I believe that the pitch is constant, not variable for the curves...
From: mat10x
8 Apr 2018   [#5] In reply to [#2]
Hi Michael,

Ah...great idea with the control points to make the coil steps. Sweep, got it.

Thx!
From: mat10x
8 Apr 2018   [#6] In reply to [#3]
Hi Ed,

Thanks for the great visuals and clear explanation.

Resizing with the bounding box...so handy!

Thx!
From: mat10x
8 Apr 2018   [#7] In reply to [#4]
Hi Brian,

You guys amaze me with your scripts! Tried the script...woooow. So easy, I feel like I'm cheating.

Thank you!
From: mat10x
8 Apr 2018   [#8]
Hi guys,

Tried out your suggestions, worked perfectly!

Combined moving the control points to make the "step" portion with, array and sweep.

Thanks so much for your help!

Mat







Image Attachments:
Screen Shot 1.png  Screen Shot 2.png 


From: Frenchy Pilou (PILOU)
8 Apr 2018   [#9]
And you can render with the free real time Simlab Composer Lite (Max 1920*1080)
http://www.simlab-soft.com/3d-products/simlab-composer-lite.aspx

Export from Moi in OBJ format
Have fun Sculpting Rendering!
From: mat10x
9 Apr 2018   [#10] In reply to [#9]
Hi Pilou,

Thanks for the suggestion. I'll have to try it.

Using Keyshot for renderings. Keyshot doesn't like Moi for some reason...so I have to save the MOI file in Rhino....then put it into Keyshot.

Thx.

M
From: Michael Gibson
9 Apr 2018   [#11] In reply to [#10]
Hi mat, I think Keyshot may only read Rhino display information from .3dm files, so using .3dm format may not work.

But what should work is to write out from MoI using .obj format with the "Output: Quads & Triangles" option in the meshing options dialog box. Then open that .obj file in Keyshot.

- Michael
From: mat10x
9 Apr 2018   [#12] In reply to [#11]
Hi Michael,

Thanks for the tip. Since I bounce between MOI and Rhino, I don't mind to save in 3dm.

I need to call Keyshot and request they update the software for MOI, ha.

Thx,

Mat
From: Finema
10 Apr 2018   [#13] In reply to [#10]
"Keyshot doesn't like Moi for some reason... "
HI,
I work with Moi and Keyshot and import directly 3dm files in it.
No need to save the file in Rhino.
From: Michael Gibson
10 Apr 2018   [#14] In reply to [#13]
Maybe this changed with some newer version of Keyshot, I can't remember the details.

- Michael
From: bemfarmer
10 Apr 2018   [#15]
Keyshot Pro, (Version 6 or 7), will directly import NURBS files, including MoI NURBS files.
It is my limited understanding that the less expensive Keyshot HD does not import NURBs..., but does import meshes.
(I purchased V6 some time ago, but never upgraded to v7)

- Brian
From: ed (EDDYF)
10 Apr 2018   [#16] In reply to [#15]
Correct - I have Keyshot Pro ver 7 and it imports 3DM files from MoI directly.

My spring below:



Ed Ferguson
From: mat10x
10 Apr 2018   [#17]
Hey guys,

I'm using Keyshot Pro 7.2.135.

Just tried a fresh MOI test file. No go. I get a window with a red stop sign "file.3dm did not appear to contain 3D geometry. Inside Rhino, please select View/Shade prior to saving it."

So I always have to re-save my MOI 3dm in Rhino...then open in KS.

Is there some setting somewhere in MOI or Keyshot? Sure would love to get MOI files to open in KS.

Thx,

Mat
From: Finema
10 Apr 2018   [#18] In reply to [#17]
In the Import panel > Geometry
Have you check Import Nurbs Data ?
From: mat10x
11 Apr 2018   [#19] In reply to [#18]
Success!

Thanks Finema!
From: Finema
11 Apr 2018   [#20] In reply to [#19]
great !

Show messages:  1-20  21-24