Generating a sweep shape from TopoDs_Shape

I have a TopoDs_Shape and I want to generate another TopoDs_Shape by sweeping it with a given distance in a given direction.
Can anyone help me. I am quite new to OCC

Alexander Luger's picture

Have a look at BRepOffsetAPI_MakePipeShell.

Regards,
Alex