Jump to content

Make a coil follow a path


Recommended Posts

I'm trying to model a spring that follows a path. This is an exercise for our user group's 5th annual Solid Modeling Challenge. The spring is in a stapler, and it travels straight for 1-1/2", then turns a slight curve, and then goes straight for 1//2". The angle of the long section is 20° relative to the short section. The curve between the two sections is about a 1/4" radius. Any suggestions how to model this?

Link to comment

Bruce, can you post a photo of the spring?

AEB's idea could work.

I twisted an extruded circle for the coil. It flattens the profile, so EAP would probably be better choice. Controlling the bend could probably use a better guide object than my center cylinder. But, just tried it for fun!

-B

ubbthreads.php?ubb=download&Number=13978&filename=CoilBend.png

Edited by Benson Shaw
Link to comment

Is this what you are after?

What i did was create the spring with the sweep command then extracted the curved line using the extract iso-parametric curve (3d tools extract) then added the additional lines and joined them and then EOP to get this narrow coil spring.

HTH

Edited by Alan Woodwell
Link to comment

Ah, Now I understand the shape. The bend tool will form it. The closed position of the stapler lid would deform the spring even more.

So, it's worth trying to model this with a straight spring made from a Sweep with pitch (pitch value = wire diameter plus a little extra) or an EAP of a helix. Then bend with the deform tool.

If the bend at a finite length is too sharp, break the coil into segments and apply the symmetric mode to the portion needing a bend.

Anyway, I'm looking forward to seeing the assembled model with components from your user group!

-B

Link to comment

OK, Now I'm miffed. The Deform> Bend tool apparently cannot bend lots of objects. I tried lots of base objects: Sweep (pitched), Expansion Spring, Helix (3d Power Pack), an EAP of the helix, A NURBS conversion of the helix, and the various ungroupings, extracted edges, etc, etc of those higher level objects. I also tried different combos of the Bend modes on all the above.

The only thing I found that would model this bent spring is to make a twist of an extrude, bend the twist, extract the egde and EAP that edge. Whew!

Anybody else get this to work more easily or more predictably?

-B

ubbthreads.php?ubb=download&Number=13999&filename=BentCoil.png

Edited by Benson Shaw
Link to comment

Sympathy accepted.

Certain limitations of the Deform>Bend tool sort of make sense. For instance it would seem weird to bend a door or a window.

A bend in the coil requires spreading the outer components and, depending on the center of the bend, possibly compressing the inner components. That might present some difficulties in the programming, but somehow the tool manages to bend the twisted extrude.

I always thought NURBS curves were pretty mutable. But I couldn't bend a helical NURBS curve with the Deform>Bend tool. Generic Solid versions of the Sweep or the EAP were also unbendable in my trials. Most objects present a promising live preview of the bend as the spine and bend extent are dragged around on the drawing plane. But final click yields a fail message. Maybe there is some radius limit or other factor I missed.

This was a quite a challenge. For me anyway!

-B

Link to comment

Hi,

Computer didn't like it but I created a helix spiral from the 3d power pack and I could deform this and then converted it to 3d polys and EAP. Computer said NO, but went black so left for a few moments and came back like this. Kept saying invalid path object if you move but does not fall apart but eventually stay like this.

The helix spiral is a good place to start then EOP.

The #3 is a Nurbs Curve and convert to a helix spiral then EAP.

Finally #04 is the easiest.

Simply draw a polygon with a few bends then vertexs to get a nice radius, then create a Helix spiral and use the polyline and then adjust the setting of the Spiral to get the desired shape.

Coil-04.jpg I think this was the simplest and the computer didn't spit the dummy. It was all very quick.

Explanation in short video here.

Edited by Alan Woodwell
Link to comment

Alan -

#4 - Perfect! So simple and obvious. I forgot the helix could be formed from something other than a straight line!!

Regarding bending a helix spiral - My Deform tool will not recognize/select the helix (or a NURBS curve) to deform it.

I made another attempt at bending an existing coil EAP. Extracted the whole surface and converted to NURBS surface. Deform tool failed to bend it.

You mention converting the helix to 3d poly prior to EAP. I am able to EAP the helix spiral object without prior conversion to 3d poly.

-B

Link to comment

Thanks,

Started with polygon and when you convert to helix the path becomes a Nurbs curve so later you want to change the path you click on spring and edit path then right click again and edit and you get back to the Nurbs curve. Moving the nodes around had some limitations which will not always allow you recreate and I am not sure but it could be to do with overlapping geometry after moving the path.

Link to comment
  • 4 months later...

Hi,

Not near a computer to test this for a bit but what I would try is to get an external thread that I wanted and create a cylinder of the external pipe and place them together and subtract solid and remove the bolt, you should end up with a tube with an internal thread.

You may have to explode the bolt first to do the subtraction.

HTH

Link to comment

@Matt

This is Alan's suggestion with a set screw instead of bolt. No need to explode or convert the screw. Note that lots of these in a file can make the file laggy. So if many are needed, either convert the solid subtractions to Generic Solids, or make a symbol for every type, or convert & symbol.

-B

ubbthreads.php?ubb=download&Number=15535&filename=Female%20Thread.png

Edited by Benson Shaw
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...