mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 23:05:04 -06:00
New class for generating SVG from XS. Includes some minor refactoring to TriangleMesh
This commit is contained in:
parent
9918c1e97d
commit
ac93e15c98
5 changed files with 71 additions and 22 deletions
21
xs/src/SVG.hpp
Normal file
21
xs/src/SVG.hpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#ifndef slic3r_SVG_hpp_
|
||||
#define slic3r_SVG_hpp_
|
||||
|
||||
#include <myinit.h>
|
||||
#include "Line.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
class SVG
|
||||
{
|
||||
private:
|
||||
FILE* f;
|
||||
public:
|
||||
SVG(const char* filename);
|
||||
void AddLine(const Line &line);
|
||||
void Close();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue