mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Reworked the Perl unit / integration tests to use the same Print
interface that the application is using. Old interface used just for the integration tests was removed.
This commit is contained in:
@@ -70,6 +70,8 @@ _constant()
|
||||
Print();
|
||||
~Print();
|
||||
|
||||
Ref<Model> model()
|
||||
%code%{ RETVAL = const_cast<Model*>(&THIS->model()); %};
|
||||
Ref<StaticPrintConfig> config()
|
||||
%code%{ RETVAL = const_cast<GCodeConfig*>(static_cast<const GCodeConfig*>(&THIS->config())); %};
|
||||
Ref<PlaceholderParser> placeholder_parser()
|
||||
@@ -140,8 +142,8 @@ _constant()
|
||||
}
|
||||
%};
|
||||
|
||||
bool apply_config_perl_tests_only(DynamicPrintConfig* config)
|
||||
%code%{ RETVAL = THIS->apply_config_perl_tests_only(*config); %};
|
||||
bool apply(Model *model, DynamicPrintConfig* config)
|
||||
%code%{ RETVAL = THIS->apply(*model, *config); %};
|
||||
bool has_infinite_skirt();
|
||||
std::vector<unsigned int> extruders() const;
|
||||
int validate() %code%{
|
||||
|
||||
Reference in New Issue
Block a user