Move 3d object relative to given plane

I think it would be useful to translate object relative to given plane.

My use case is to create 3d objects in global position [0,0,0] and place them in position relative to some plane.

  • I think translate should work on planes (change origin).

Example code I would like to write:
@settings(defaultLengthUnit = mm)

fn cube() {
return startSketchOn(XY)
|> startProfile(at = [0, 0])
|> polygon(radius = 10, numSides = 4, center = [0, 0])
|> extrude(length = 10)
}

myRotatedMovedPlane = {
origin = { x = 0, y = 10, z = 0 },
xAxis = { x = 1, y = 0.5, z = 0 },
yAxis = { x = 0, y = 0.5, z = 1 }
}

greyCube = cube()

// How to move my cube to 10 mm above myRotatedMovedPlane?
// translate(greyCube, z = 10, relativeTo=myRotatedMovedPlane)

Thank you for sharing this.
I have logged this as a feature request. You should be able to view it here in our modelling app repo