Jump to content

Sine Wave With Formula Curve


Mike Allen

Recommended Posts

The workings of the Formula Curve tool are still a bit of a mystery to me. Nevertheless, the other day I needed to model a curtain & decided to figure out how to make a sine wave with it.

 

Here's what I came up with:

sine_wave.jpg

 

This will give you a sine wave that is 60 inches long, with about a 2 inch wave (crest to trough.)

 

Then I copied the resulting 3D curve up to the desired height & used Ruled Surface to make the curtain.

 

(Note: Some end values work better than others. 50 works good, but 51.75 gets messed up toward the end.)

 

-Mike

Link to comment
Share on other sites

  • 1 month later...

Not sure if I understand your geometry correctly or not tom (something like a wavy washer?), but it sounds like you need to switch to polar coordinates, change the first available "expression" to a constant (the radius) and set the Z (height) to some trig function (i.e. sin([# "bumps"]*t) (see the sin washer attachment).

 

Of corse, if you are trying to get the line on a sphere (not a cylinder), then your Radius equation will need some more thought....

 

And the more times I read you post, the more I think I gave you bum info. If you want the thing to be planar, but have a "sine wave following a circle" type geometry, do something like the second attachment (flat sin washer)....the radius equation becomes: "[radius]+[bump amplitude]*sin([# of bumps]*t)"

post-1137-1133894701_thumb.jpg

post-1137-1133895241_thumb.jpg

Edited by Mike Twining
Link to comment
Share on other sites

Thanks Mike T

 

I managed to bypass the formula using the 3D curve and "tracing" over the cylinders edge incrementally. Then I select every other point and move down to get a wave effect. Believe it or not, it really didn't take along time to do, I was surprised ( not really wink.gif )

 

Anyway, I will try your second option also. Not a trig major (oh well).

 

Thanks

Tom

LC.JPG

Link to comment
Share on other sites

Tom-

 

I think you want the first option.... the second one will have the "stitch" in the wrong plane.

 

Go Polar, Go "Degrees", set your radius (first expression) to the stitch radius, and set the second expression (height) to something like:

 

[stitch height]*sin([# of stitches]*t)

 

With that being said, there is something extremely wacky going on with the interpritation of trig equations...I think a bug report is in order here.

 

 

Link to comment
Share on other sites

  • 6 years later...
  • 10 months later...

For the basic Sine wave, these are my settings to get a 46" curve:

Coordinate System = Cartesian

Variable Unit = Radians

Var. Name = t

Tolerance = 0.1

Start Value = 0

End Value = 46 (the length of the wave when X(t)=t)

 

Expression:

X(t) = t

Y(t) = sin(t)

z(t) = 0

 

If you use a multiplier for X(t), e.g. X(t)= t*2, you will need to change the End Value accordingly (in this case, 46/2=23) to get the same length sine wave.

Edited by Mike Allen
Link to comment
Share on other sites

Join the conversation

You are posting as a guest. 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.   Paste as plain text instead

  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...