Meshing Overview
The following page helps you understand the basics of the meshing on Speos.
Definition
Creating a meshing on an object, a face or a surface allows you to mobilize and concentrate computing power on one or certain areas of a geometry to obtain a better level of detail in your results. In a CAD software, meshing helps you subdivide your model into simpler blocks. By breaking an object down into smaller and simpler pieces such as triangular shapes, you can concentrate more computing power on them, and therefore improve the quality of your results. During a simulation, it will no longer be one single object that interprets the incoming rays but a multitude of small objects.
An adequate meshing respects the shape of the geometry and is watertight.
Meshing in Speos
- The simulation meshing is a meshing that is always applied during the simulation of the system. The definition of the simulation meshing will be applied for all objects included in the simulation. The features on which you can define the simulation meshing are:
- Interactive Simulation
- Direct Simulation
- Inverse Simulation
- Optical Part Design Exchange
- Light Box Export
- 3D Texture
Note: For the Optical Design Exchange, Light Box Export, and 3D Texture features, the Meshing parameters are directly applied in the feature's Options. The meshing set is considered as simulation meshing regarding the priority. -
The local meshing is a meshing that you decide to apply on a specific body, face, or part of a face because you want to emphasize this area in the result. The local meshing is not mandatory. If a local meshing is applied, it has priority over the simulation meshing where it has been applied.
Therefore, the meshing priority order is:
|
![]() |
Meshing parameters values from version 2025 R1
- Interactive Simulation
- Direct Simulation
- Inverse Simulation
- LiDAR Simulation
- Light Box Export
- Local Meshing
As a consequence, the new Meshing parameters values are:
_Simulation_Settings_Meshing_01.png)
Impact on Scripts for Local Meshing
The new behavior on the default meshing parameters comes with some impact on how the Local Meshing APIs is managed. As a consequence, if you use Proportional to Body Mode, you will have to modify your script. The following examples below guides you in better understanding the changes (changes apply the same way to Step):
if you want to define a sag Proportional to Face:
localMeshing = SpeosSim.LocalMeshing.Create() localMeshing.MeshingSagMode = SpeosSim.LocalMeshing.EnumMeshingSagMode.ProportionalFace localMeshing.MeshingSagValue = 500if you want to define a sag Proportional to Body:
localMeshing = SpeosSim.LocalMeshing.Create() localMeshing.MeshingSagMode = SpeosSim.LocalMeshing.EnumMeshingSagMode.ProportionalBody localMeshing.MeshingSagValue = 500if you want to define a sag Fixed:
localMeshing = SpeosSim.LocalMeshing.Create() localMeshing.MeshingSagMode = SpeosSim.LocalMeshing.EnumMeshingSagMode.Fixed localMeshing.MeshingSagLengthValue = 0.2
if you want to define a sag Proportional to Face:
localMeshing = SpeosSim.LocalMeshing.Create() localMeshing.MeshingSagMode = SpeosSim.LocalMeshing.EnumMeshingSagMode.ProportionalFace localMeshing.MeshingSagValue = 3000if you want to define a sag Proportional to Body:
localMeshing = SpeosSim.LocalMeshing.Create() localMeshing.MeshingSagMode = SpeosSim.LocalMeshing.EnumMeshingSagMode.ProportionalBody localMeshing.MeshingSagValueProportionalToBody = 50000if you want to define a sag Fixed:
localMeshing = SpeosSim.LocalMeshing.Create() localMeshing.MeshingSagMode = SpeosSim.LocalMeshing.EnumMeshingSagMode.Fixed localMeshing.MeshingSagLengthValue = 0.2
Migration Information
- For a file created in version 2021 R1 or before: if Sag / Step mode was Proportional, the file is migrated to used Proportional to Face size in version 2022 R2.
- For a file created in versions 2021 R2 or 2022 R1: if Sag / Step mode was Proportional to Body size, the file is migrated with the same settings in version 2022 R2.
- For a file created before version 2022 R2: if Sag / Step mode was Fixed, the file is migrated with no change.
When opening a project in 2025 R1 (or subsequent version) that has been created before 2025 R1, the meshing parameters values that you have input in the previous version are kept.
However, if you change the meshing sag/step mode (Propertional to body/face, Fixed) of a previously created feature, the new default parameters values of the mode are applied.
_Meshing_Local_Simulation.png)