Sine wave with native tools

I wanted to draw a sine wave and found this post, but it occurred to me you could just draw it in SketchUp with native tools. Faceted, of course, like SU circles, but good enough for many purposes. You could probably do this with just inferencing, and no guidelines, but I found that prone to errors and not as easy to see.

I had to break down the GIF into three smaller ones to be manageable.

Step 1

Step 2

Step 3

Are the GIFs sufficient, or do they need further explanation?

4 Likes

I know this one…

sine

explode the circle << tape measure one edge and set to a whole unit >> use move to align point to previous >> move the set unit length >> rinse and repeat…

I could make a proper gif later maybe, if you can;t follow what I mean…

john

2 Likes

I did something similar to John. A circle is cos(theta) X sin(theta), and if you change one of those to Xn, you get a sine or cosine wave. In SketchUp terms that just means moving the points of the circle to an Xn position, while constraining the other axis movement.

This is only part of the recording, once you’re moving the left half points it becomes easier if you move all of the points over to the right.

sinesmall

2 Likes

For your interest…

1 Like

@Geo, isn’t Ruby Console a native tool…

here’s one from v16

john

3 Likes

You had to write the Ruby program that generates the circular sine wave in the first place, yes?

yes, but I did it in the native Ruby Console…

Jeff’s DC that Geo linked is sightly less native…

john

Another way
(with SketchUV and VertexTools)

sin

or with ExtrudeTools instead of VertexTools

sin2

4 Likes

Continuing the discussion from Sine wave with native tools:

In the gif shows that the top surface becomes as a smooth one piece unit, mine does not!

Have you used the eraser tool together with the Ctrl key?

2 Likes

As @Cotty says, the eraser tool with a modifier. It’s the last step I did using the eraser. I tried pointing to the prompt in the bottom of the window. I’m on a Mac, so it’s the option key, but I guess it’s the Control key on a PC?

As an alternative to the Eraser tool with the modifier, you could triple click on the geometry, then right click on it and choose Soften/Smooth.

2 Likes

It works perfectly! Thanks.

I did it now and it is working nicely! Thanks.