mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Basic svg export ported from perl to the point where actual svg is assembled. Empty PNG files are genereted for each sliced layer.
This commit is contained in:
parent
5fb81bacd5
commit
d9ff63c022
6 changed files with 216 additions and 4 deletions
|
@ -309,7 +309,19 @@ public:
|
|||
void restart() { m_canceled = false; }
|
||||
// Has the calculation been canceled?
|
||||
bool canceled() { return m_canceled; }
|
||||
|
||||
|
||||
enum class FilePrinterFormat {
|
||||
PNG,
|
||||
SVG
|
||||
};
|
||||
|
||||
void print_to_png(std::string dirpath);
|
||||
|
||||
private:
|
||||
|
||||
template<FilePrinterFormat format, class...Args>
|
||||
void print_to(std::string dirpath, Args...args);
|
||||
|
||||
private:
|
||||
bool invalidate_state_by_config_options(const std::vector<t_config_option_key> &opt_keys);
|
||||
PrintRegionConfig _region_config_from_model_volume(const ModelVolume &volume);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue