1 # -*- coding: utf-8 -*-
2 ####### Make Pipes Test ##########
8 doc = hexablock.addDocument ("Make Pipes Test")
10 rext1 = 2*math.sqrt (2.0)
11 rext2 = 3*math.sqrt (2.0)
18 orig1 = doc.addVertex ( 0, 0, xl1)
19 orig2 = doc.addVertex (-8, 0, 0)
20 vz1 = doc.addVector ( 0, 0, 1)
21 vz2 = doc.addVector ( 1, 0, 0)
23 pipes = doc.makePipes (orig1, vz1, rint1, rext1, h1, orig2, vz2, rint2, rext2, h2);
24 pipes.saveVtk("makePipes.vtk")