Show creation of geometry in an RMF
4 from __future__
import print_function
7 tfn = RMF._get_temporary_file_path(
"aliases.rmf")
11 f.add_frame(
"root", RMF.FRAME)
15 bf = RMF.BallFactory(f)
16 cf = RMF.CylinderFactory(f)
17 sf = RMF.SegmentFactory(f)
19 b = bf.get(r.add_child(
"ball", RMF.GEOMETRY))
23 c = cf.get(r.add_child(
"cylinder", RMF.GEOMETRY))