Domain Generator ================ The Domain Generator allows you to create a surface mesh (domain) that approximates the surface of a 3D object. This domain enables the visualization of illumination data, helping to analyze the interaction between the laser and the object’s geometry. Generate a Domain ----------------- Follow these steps to generate a domain: Open the Domain Generator Panel -------------------------------- Open the **Domain Generator** panel in the LIATool addon. If no object is selected, the panel will indicate "none object selected...". .. figure:: /_static/lia-domain-1.png :alt: Opening the Domain Generator panel :align: center Opening the Domain Generator panel with no object selected. Select an Object ----------------- Use the dropdown menu to select the object for which you want to generate the domain. Select the desired object from the list (e.g., "Cube"). .. figure:: /_static/lia-domain-3.png :alt: Selecting an object :align: center Selecting an object to generate the domain. Adjust Domain Resolution ------------------------- Configure the background mesh fineness by selecting a resolution from the dropdown menu. Options include `Very Coarse`, `Coarse`, `Moderate`, `Fine`, and `Very Fine`. A higher resolution provides a more detailed domain but may take longer to compute. .. figure:: /_static/lia-domain-5.png :alt: Adjusting the domain resolution :align: center Adjusting the resolution of the background mesh. Generate the Domain ------------------- Once the object and resolution are selected, click the **Generate Background Mesh** button to create the domain. The generated domain will appear as a surface mesh over the selected object. .. figure:: /_static/lia-domain-6.png :alt: Generating the domain :align: center Generating the background mesh for the selected object. Edit or Remove a Domain ------------------------ Domains can be adjusted or removed as needed: - **Edit the Domain** Change the resolution or regenerate the domain by reconfiguring the settings and clicking **Generate Background Mesh** again. - **Remove the Domain** To delete the domain, use Blender's standard object deletion method. Select the domain object and press the `Delete` or `X` key to remove it from the scene.