mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Ported Print::validate() to XS
This commit is contained in:
parent
3e4c572164
commit
bad0bd8520
10 changed files with 148 additions and 75 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue