|
| Mesh | build (Vector3f size, FillingSurface.TPMS.MeshParams params, func_bool_from_float cb='{}') |
| |
| FunctionVolume | buildVolume (Vector3f size, FillingSurface.TPMS.VolumeParams params) |
| |
| float | estimateDensity (FillingSurface.TPMS.Type type, float targetIso) |
| |
| float | estimateIso (FillingSurface.TPMS.Type type, float targetDensity) |
| |
| Mesh | fill (Mesh mesh, FillingSurface.TPMS.MeshParams params, func_bool_from_float cb='{}') |
| |
| float | getMinimalResolution (FillingSurface.TPMS.Type type, float iso) |
| |
| int | getNumberOfVoxels (Mesh mesh, float frequency, float resolution) |
| |
| int | getNumberOfVoxels (Vector3f size, float frequency, float resolution) |
| |
| std_vector_std_string | getTypeNames () |
| |
| std_vector_std_string | getTypeTooltips () |
| |
| bool | isThick (FillingSurface.TPMS.Type type) |
| |
◆ build()
Constructs TPMS level-set and then convert it to mesh
◆ buildVolume()
Construct TPMS using implicit function (https://www.researchgate.net/publication/350658078_Computational_method_and_program_for_generating_a_porous_scaffold_based_on_implicit_surfaces)
@param size Size of the cube with the surface
@return Distance-volume starting at (0, 0, 0) and having specified @p size
◆ estimateDensity()
Returns approximate density corresponding to the given ISO value
@param targetIso value in [-1; 1]
@return Value in [0; 1]
◆ estimateIso()
Returns approximated ISO value corresponding to the given density
@param targetDensity value in [0; 1]
@return Value in [-1; 1]
◆ fill()
Constructs TPMS-filling for the given @p mesh
◆ getMinimalResolution()
Returns minimal reasonable resolution for given parameters
◆ getNumberOfVoxels() [1/2]
| int mrmeshpy.FillingSurface.TPMS.getNumberOfVoxels |
( |
Mesh | mesh, |
|
|
float | frequency, |
|
|
float | resolution ) |
|
static |
Returns number of voxels that would be used to perform \\ref fillWithTPMS
◆ getNumberOfVoxels() [2/2]
| int mrmeshpy.FillingSurface.TPMS.getNumberOfVoxels |
( |
Vector3f | size, |
|
|
float | frequency, |
|
|
float | resolution ) |
|
static |
Returns number of voxels that would be used to perform \\ref buildTPMS or \\ref buildTPMSVolume
◆ getTypeNames()
Returns the names for each type of filling
◆ getTypeTooltips()
Returns the tooltips for each type of filling
◆ isThick()
Returns true if the \\p type is thick
The documentation for this class was generated from the following file: