Again with the casting in this thread. What parts are you imagining you can make this way? Modern small arms generally require quite good tolerances. If you aren't going for that (which you clearly aren't because you chose casting lol), just buy a pipe and move on.