I heard about translational objects, i.e. objects created by translating a flat shape along a line segment. Are these supported in X3D, and if yes, how to define them?
As pointed out in the comments, they're called extrusional objects. The commentor also provided this link to the documentation.
Probably would've found it by myself if I had known what they're called. My bad.