mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 10:31:58 +08:00
15 lines
378 B
C++
15 lines
378 B
C++
#ifndef UTILS_HPP
|
|
#define UTILS_HPP
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
/// Utility functions that aren't necessarily part of libslic3r but are used by it.
|
|
|
|
/// Separate a string based on some regular expression string.
|
|
std::vector<std::string>
|
|
split_at_regex(const std::string& input, const std::string& regex);
|
|
std::string trim_zeroes(std::string in);
|
|
|
|
#endif // UTILS_HPP
|