mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 15:52:03 +08:00
Fixed Perl bindings
This commit is contained in:
parent
a81d51d905
commit
37f96db9fe
@ -258,17 +258,17 @@ ModelMaterial::attributes()
|
|||||||
bool modifier()
|
bool modifier()
|
||||||
%code%{ RETVAL = THIS->is_modifier(); %};
|
%code%{ RETVAL = THIS->is_modifier(); %};
|
||||||
void set_modifier(bool modifier)
|
void set_modifier(bool modifier)
|
||||||
%code%{ THIS->set_type(modifier ? ModelVolume::PARAMETER_MODIFIER : ModelVolume::MODEL_PART); %};
|
%code%{ THIS->set_type(modifier ? ModelVolumeType::PARAMETER_MODIFIER : ModelVolumeType::MODEL_PART); %};
|
||||||
bool model_part()
|
bool model_part()
|
||||||
%code%{ RETVAL = THIS->is_model_part(); %};
|
%code%{ RETVAL = THIS->is_model_part(); %};
|
||||||
bool support_enforcer()
|
bool support_enforcer()
|
||||||
%code%{ RETVAL = THIS->is_support_enforcer(); %};
|
%code%{ RETVAL = THIS->is_support_enforcer(); %};
|
||||||
void set_support_enforcer()
|
void set_support_enforcer()
|
||||||
%code%{ THIS->set_type(ModelVolume::SUPPORT_ENFORCER); %};
|
%code%{ THIS->set_type(ModelVolumeType::SUPPORT_ENFORCER); %};
|
||||||
bool support_blocker()
|
bool support_blocker()
|
||||||
%code%{ RETVAL = THIS->is_support_blocker(); %};
|
%code%{ RETVAL = THIS->is_support_blocker(); %};
|
||||||
void set_support_blocker()
|
void set_support_blocker()
|
||||||
%code%{ THIS->set_type(ModelVolume::SUPPORT_BLOCKER); %};
|
%code%{ THIS->set_type(ModelVolumeType::SUPPORT_BLOCKER); %};
|
||||||
|
|
||||||
size_t split(unsigned int max_extruders);
|
size_t split(unsigned int max_extruders);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user