This example shows writing one piece of geometry to an RMF file and then reading it back.
12 tfn =
"rmf_geometry.rmf"
15 f = RMF.create_rmf_file(tfn)
19 IMP.algebra.Vector3D(10, 10, 10))
27 IMP.algebra.Vector3D(10, 10, 10))
34 f = RMF.open_rmf_file_read_only(tfn)
40 print(gs[0].get_name())
41 print(
"Try running rmf_display on", tfn)
46 print(IMP.display.BoundingBoxGeometry.get_from(gs[0]).get_geometry())