-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4378 from openscad/svg-id-layer-selection
SVG id and layer selection on import().
- Loading branch information
Showing
29 changed files
with
557 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <boost/optional.hpp> | ||
|
||
#include "AST.h" | ||
|
||
class PolySet *import_stl(const std::string& filename, const Location& loc); | ||
|
||
PolySet *import_off(const std::string& filename, const Location& loc); | ||
class Polygon2d *import_svg(double fn, double fs, double fa, const std::string& filename, const double dpi, const bool center, const Location& loc); | ||
|
||
class Polygon2d *import_svg(double fn, double fs, double fa, | ||
const std::string& filename, | ||
const boost::optional<std::string>& id, const boost::optional<std::string>& layer, | ||
const double dpi, const bool center, const Location& loc); | ||
|
||
#ifdef ENABLE_CGAL | ||
class CGAL_Nef_polyhedron *import_nef3(const std::string& filename, const Location& loc); | ||
#endif | ||
|
||
class Value import_json(const std::string& filename, class EvaluationSession *session, const Location& loc); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.