Cut failure

I've got a piece of code that creates a cylinder and a coil. The entities have an overlap and I want to subtract the coil from the cylinder. When I try (compile and run), the result is an empty shape. What's going on?

Jacob Abel's picture

Fixed already, changing "gp_Ax2 a1(p3, gp::DY());" to "gp_Ax2 a1(p3, gp::DY(), gp::DX());" seems to do the trick.