4 cf.env.assertion_throws =
False
6 domain = cf.root.create_component(
'Domain',
'cf3.mesh.Domain')
7 generator = domain.create_component(
'Generator',
'cf3.mesh.GeneratePlane3D')
8 mesh = domain.create_component(
'Mesh',
'cf3.mesh.Mesh')
11 generator.mesh = mesh.uri()
12 generator.origin = [1., 2., 3.]
13 generator.normal = [1., 1., 1.]
14 generator.size = [2., 5.]
15 generator.segments = [4, 7]
18 domain.write_mesh(cf.URI(
'plane3d.msh'))