mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Ported Print::validate() to XS
This commit is contained in:
@@ -171,6 +171,14 @@ _constant()
|
||||
bool apply_config(DynamicPrintConfig* config)
|
||||
%code%{ RETVAL = THIS->apply_config(*config); %};
|
||||
void init_extruders();
|
||||
void validate()
|
||||
%code%{
|
||||
try {
|
||||
THIS->validate();
|
||||
} catch (PrintValidationException &e) {
|
||||
croak(e.what());
|
||||
}
|
||||
%};
|
||||
%{
|
||||
|
||||
double
|
||||
|
||||
Reference in New Issue
Block a user