Step 4: Specify geometry
We'll first create keypoints corresponding to the eight vertices of the model and then generate a volume from the keypoints. The keypoints will be created in the cylindrical coordinate system. Four of the keypoints are the vertices A,B,C and D shown in the figure of the geometry. The other four keypoints have the same r and θ as A,B,C and D but are displaced in the z-direction with respect to them.
...