Skip to content

Commit fc50b81

Browse files
author
Grant Karapetyan
committed
Update OffsetMeshParameters python binding
1 parent 75e823d commit fc50b81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/mrmeshpy/MRPythonMeshPlugins.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ MR_ADD_PYTHON_CUSTOM_DEF( mrmeshpy, MeshOffset, [] ( pybind11::module_& m )
357357
value( "Shell", MR::OffsetParameters::Type::Shell, "can be only positive, offset in both directions of surface" );
358358

359359
pybind11::class_<MR::OffsetParameters>( m, "OffsetParameters", "This struct represents parameters for offsetting with voxels conversions" ).
360+
def( pybind11::init<>() ).
360361
def_readwrite( "voxelSize", &MR::OffsetParameters::voxelSize,
361362
"Size of voxel in grid conversions\n"
362363
"if value is negative, it is calculated automatically (mesh bounding box are divided to 5e6 voxels)" ).

0 commit comments

Comments
 (0)