Updated section refs

这个提交包含在:
Craig Warren
2023-03-29 16:51:30 +01:00
父节点 265e2e8051
当前提交 8f0a922d7c
共有 6 个文件被更改,包括 32 次插入19 次删除

查看文件

@@ -45,7 +45,7 @@ To create a voxelised mesh (HDF5 geometry file) from the ubiquitous `Stanford bu
python -m toolboxes.STLtoVoxel.stltovoxel toolboxes/STLtoVoxel/examples/stl/Stanford_Bunny.stl -matindex 2 -dxdydz 0.001 0.001 0.001
Since the number of voxels are 108 x 88 108 and the spatial discretisation chosen is 1mm, the physical dimensions of the Stanford bunny when imported into gprMax will be 0.108 x 0.088 x 0.108mm.
Since the number of voxels are 108 x 88 x 108 and the spatial discretisation chosen is 1mm, the physical dimensions of the Stanford bunny when imported into gprMax will be 0.108 x 0.088 x 0.108mm.
The following is an example of a ``materials.txt`` file that can be used with the generated geometry file (HDF5 format) when importing into gprMax. Since ``-matindex`` is set to 2 the material with name ``hdpe``, i.e. a plastic, will be used.
@@ -53,7 +53,7 @@ The following is an example of a ``materials.txt`` file that can be used with th
:language: none
:linenos:
The following Python script (using the gprMax API) can be used to import the generated geometry file ``Stanford_Bunny.h5`` and materials file ``materials.txt`` into a gprMax model:
The following Python script (using our Python API) can be used to import the generated geometry file ``Stanford_Bunny.h5`` and materials file ``materials.txt`` into a gprMax model:
.. literalinclude:: ../../toolboxes/STLtoVoxel/examples/bunny.py
:language: python