Geometry Object Import
GPRMax UI 1.0.3 supports gprMax geometry-object files through
GeometryObjectsRead. This is useful when geometry is prepared outside the
model script, for example from segmented images or other preprocessing tools.
Convert an Image to Geometry
png2geometry() converts visible pixels in an image to an HDF5 geometry-object
file. The generated .h5 file can be paired with a material mapping text file
and referenced from a model.
1 2 3 4 5 6 7 8 9 | |
Reference Geometry in a Model
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | |
Serialize the Imported-Geometry Model
Geometry-object commands are included in the model JSON schema.
1 2 | |
The restored model keeps the same geometry-object references, material definitions, source, receiver, and output path.