mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 21:58:03 -06:00
ENABLE_GCODE_VIEWER - Basic framework for new gcode viewer
This commit is contained in:
parent
ebbebe3727
commit
3b6d334d7b
17 changed files with 173 additions and 48 deletions
|
@ -50,7 +50,11 @@ SCENARIO("Model construction", "[Model]") {
|
|||
print.apply(model, config);
|
||||
print.process();
|
||||
boost::filesystem::path temp = boost::filesystem::unique_path();
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
print.export_gcode(temp.string(), nullptr, nullptr);
|
||||
#else
|
||||
print.export_gcode(temp.string(), nullptr);
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
REQUIRE(boost::filesystem::exists(temp));
|
||||
REQUIRE(boost::filesystem::is_regular_file(temp));
|
||||
REQUIRE(boost::filesystem::file_size(temp) > 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue