3dSynth

Tutorials / SynthBlocks

Open in the interactive tutorials reader

Tutorial 6: Sine Wave Vase

In this tutorial you'll use math to create organic shapes. By combining the Sin function with arithmetic blocks, you'll make the walls of a vase ripple in and out as they rise. Every parameter is exposed as a viewport slider so you can sculpt the waves interactively.

A vase with horizontal sine-wave ripples

What you'll learn

Prerequisites


Step 1: Define your variables

We'll expose the wave parameters as viewport sliders so you can shape the ripples in real time.

Set Variable

Interactive preview is available in the interactive reader.

Step 1

Create four variables

Add four Set Variable blocks to the top of your Path Group:

  1. baseRadius = 25

Enable Show in viewport on each one.


Step 2: Centre on the build plate

Translate

Interactive preview is available in the interactive reader.

Step 2

Add a Translate block

Drag a Translate block below the Set Variable blocks.
Set X to Bed Size X / 2 and Y to Bed Size Y / 2.
All remaining blocks go inside the Translate body.


Step 3: Add the Spiral Up block

Spiral Up

Interactive preview is available in the interactive reader.

Step 3

Add Spiral Up

From the Z Strategy category, drag a Spiral Up block into the Translate body.
Set Start Z to Layer Height (the printer-setting block), End Z to the variable vaseHeight, and Rotations to vaseHeight / layer_height.

Using the Layer Height block instead of a magic number means the spiral resolution automatically matches your slicer settings.


Step 4: Build the Math expression

We want the radius to oscillate around a base value. The formula is:

Radius = baseRadius + amplitude × sin(normZ × frequency)

Where normZ goes from 0 at the bottom to 1 at the top. We build this from the inside out using nested blocks.

Math Blocks

Interactive preview is available in the interactive reader.

Interactive preview is available in the interactive reader.

Step 4

Build the radius expression

Start from the innermost operation and work outward:

  1. normZ × frequency: Add an Arithmetic (×) block. Set left to Variable: normZ, right to the variable frequency.

Step 5: Connect to Circle

Circle

Interactive preview is available in the interactive reader.

Step 5

Add a Circle

Drag a Circle block into the Spiral Up body.
Plug your complete math expression into the Radius input.


Complete block program

Full program — Tutorial 6

Interactive preview is available in the interactive reader.


Final block structure

#BlockWhereValues
1Set Variable baseRadiusPath Group25 · Show in viewport
2Set Variable amplitudePath Group2 · Show in viewport
3Set Variable frequencyPath Group25 · Show in viewport
4Set Variable vaseHeightPath Group50 · Show in viewport
5TranslatePath GroupX = Bed Size X / 2, Y = Bed Size Y / 2
6Spiral UpInside TranslateStart Z = Layer Height, End Z = vaseHeight, Rot = vaseHeight / layer_height
7  ↳ CircleInside SpiralCX = 0, CY = 0
8    ↳ Arithmetic (+)RadiusbaseRadius + …
9      ↳ Arithmetic (×)Rightamplitude × …
10        ↳ SinRight
11          ↳ Arithmetic (×)InputnormZ × frequency

Outcome

You have created a fully parametric sine-wave vase! The walls ripple smoothly in and out, driven entirely by math blocks and live sliders.


Load this tutorial

Interactive preview is available in the interactive reader.

Interactive preview is available in the interactive reader.


What's Next

Tutorial 7: Bumpy Texture — Use a high-point Star shape to create surface texture with vertical ribs.