Hello!

I found this nice function online:

```
rectangle(w, h, x, y) = Shape(x .+ [0,w,w,0], y .+ [0,0,h,h])
```

Which can produce:

```
x = y = 1
w = h = 1
plot(rectangle(w, h, x, y))
```

Does anyone know how to produce a 3d equivivalent ?

Kind regards

Hello!

I found this nice function online:

```
rectangle(w, h, x, y) = Shape(x .+ [0,w,w,0], y .+ [0,0,h,h])
```

Which can produce:

```
x = y = 1
w = h = 1
plot(rectangle(w, h, x, y))
```

Does anyone know how to produce a 3d equivivalent ?

Kind regards

I know this answer here:

I was wondering if I could do it using Shapes?

Or is this the go to approach?

Kind regards