mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
Partial Automation of getting Gcode placeholders
Included pre-generated files specific to Orca rather than PS provided files Original Commit: prusa3d/PrusaSlicer@55d5921 Co-authored-by: YuSanka <yusanka@gmail.com>
This commit is contained in:
parent
05e159037f
commit
6d19d6207a
14 changed files with 362 additions and 109 deletions
|
@ -265,6 +265,18 @@ const std::string& sys_shapes_dir()
|
|||
return g_sys_shapes_dir;
|
||||
}
|
||||
|
||||
static std::string g_custom_gcodes_dir;
|
||||
|
||||
void set_custom_gcodes_dir(const std::string &dir)
|
||||
{
|
||||
g_custom_gcodes_dir = dir;
|
||||
}
|
||||
|
||||
const std::string& custom_gcodes_dir()
|
||||
{
|
||||
return g_custom_gcodes_dir;
|
||||
}
|
||||
|
||||
// Translate function callback, to call wxWidgets translate function to convert non-localized UTF8 string to a localized one.
|
||||
Slic3r::I18N::translate_fn_type Slic3r::I18N::translate_fn = nullptr;
|
||||
static std::string g_data_dir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue