libslic3r
Library for generating gcode from 3d models
|
Namespaces | |
Geometry | |
IO | |
Classes | |
class | _area_comp |
class | AvoidCrossingPerimeters |
class | BoundingBox |
class | BoundingBox3Base |
class | BoundingBoxBase |
class | BoundingBoxf |
class | BoundingBoxf3 |
class | BridgeDetector |
struct | Chaining |
class | CLIConfig |
class | CLIConfigDef |
class | Config |
class | ConfigBase |
An abstract configuration store. More... | |
class | ConfigDef |
class | ConfigOption |
Public interface for configuration options. More... | |
class | ConfigOptionBool |
Represents a boolean flag. More... | |
class | ConfigOptionBools |
class | ConfigOptionDef |
Definition of a configuration value for the purpose of GUI presentation, editing, value mapping and config file handling. More... | |
class | ConfigOptionEnum |
Templated enumeration representation. More... | |
class | ConfigOptionEnumGeneric |
Generic enum configuration value. More... | |
class | ConfigOptionFloat |
class | ConfigOptionFloatOrPercent |
class | ConfigOptionFloats |
Vector form of template specialization for floating point numbers. More... | |
class | ConfigOptionInt |
class | ConfigOptionInts |
class | ConfigOptionPercent |
Specialized floating point class to represent some percentage value of another numeric configuration option. More... | |
class | ConfigOptionPoint |
Configuration option to store a 2D (x,y) tuple. More... | |
class | ConfigOptionPoint3 |
Configuration option to store a 3D (x,y,z) tuple. More... | |
class | ConfigOptionPoints |
class | ConfigOptionSingle |
Value of a single valued option (bool, int, float, string, point, enum) More... | |
class | ConfigOptionString |
class | ConfigOptionStrings |
semicolon-separated strings More... | |
class | ConfigOptionVector |
Value of a vector valued option (bools, ints, floats, strings, points), template. More... | |
class | ConfigOptionVectorBase |
Virtual base class, represents value of a vector valued option (bools, ints, floats, strings, points) More... | |
class | CoolingBuffer |
class | DynamicConfig |
class | DynamicPrintConfig |
class | ExPolygon |
class | ExPolygonCollection |
class | Extruder |
class | ExtrusionEntity |
class | ExtrusionEntityCollection |
class | ExtrusionLoop |
class | ExtrusionPath |
class | Fill |
Abstract base class for the infill generators. More... | |
class | Fill3DHoneycomb |
class | FillAlignedRectilinear |
class | FillArchimedeanChords |
class | FillConcentric |
class | FillCubic |
class | FillGrid |
class | FillGyroid |
class | FillHilbertCurve |
class | FillHoneycomb |
class | FillOctagramSpiral |
class | FillPlanePath |
class | FillRectilinear |
class | FillStars |
class | FillTriangles |
class | Flow |
Represents material flow; provides methods to predict material spacing. More... | |
class | FullPrintConfig |
class | GCode |
class | GCodeConfig |
class | GCodeReader |
class | GCodeTimeEstimator |
class | GCodeWriter |
class | HostConfig |
class | IntersectionLine |
class | IntersectionPoint |
class | InvalidConfigOption |
Exception class to handle config options that don't exist. More... | |
class | InvalidObjectException |
class | InvalidOptionType |
Exception class for type mismatches. More... | |
class | InvalidOptionValue |
class | Layer |
class | LayerHeightSpline |
class | LayerRegion |
class | Line |
class | Linef |
class | Linef3 |
class | Log |
struct | mesh_stats |
Interface to available statistics from the underlying mesh. More... | |
class | Model |
class | ModelInstance |
class | ModelMaterial |
class | ModelObject |
class | ModelVolume |
class | MotionPlanner |
class | MotionPlannerEnv |
class | MotionPlannerGraph |
class | MultiPoint |
class | OozePrevention |
class | PerimeterGenerator |
class | PerimeterGeneratorLoop |
class | PlaceholderParser |
class | Point |
class | Point3 |
class | Pointf |
class | Pointf3 |
class | Polygon |
class | Polyline |
class | PolylineCollection |
class | |
class | PrintConfig |
class | PrintConfigBase |
class | PrintConfigDef |
class | PrintGCode |
class | PrintObject |
class | PrintObjectConfig |
class | PrintRegion |
class | PrintRegionConfig |
class | PrintState |
class | SLAPrint |
class | SLAPrintConfig |
class | SlicingAdaptive |
class | SpiralVase |
class | StaticConfig |
class | StaticPrintConfig |
class | SupportLayer |
class | SupportMaterial |
class | Surface |
class | SurfaceCollection |
struct | SurfaceGroupAttrib |
class | SVG |
class | ThickLine |
class | ThickPolyline |
struct | toolpaths_params |
Struct for carrying the toolpaths parameters needed for each thread. More... | |
class | TriangleMesh |
class | TriangleMeshSlicer |
Class for processing TriangleMesh objects. More... | |
class | UnknownOptionException |
Specialization of std::exception to indicate that an unknown config option has been encountered. More... | |
class | Wipe |
Typedefs | |
typedef Point | Size |
typedef Point3 | Size3 |
typedef Pointf | Sizef |
typedef Pointf3 | Sizef3 |
using | config_ptr = std::shared_ptr< Config > |
typedef std::string | t_config_option_key |
Name of the configuration option. More... | |
typedef std::vector< std::string > | t_config_option_keys |
typedef std::map< std::string, int > | t_config_enum_values |
Map from an enum name to an enum integer value. More... | |
typedef std::map< t_config_option_key, ConfigOptionDef > | t_optiondef_map |
Map from a config option name to its definition. More... | |
typedef std::vector< ExPolygon > | ExPolygons |
typedef std::vector< ExPolygonCollection > | ExPolygonCollections |
typedef std::vector< ExtrusionEntity * > | ExtrusionEntitiesPtr |
typedef std::vector< ExtrusionPath > | ExtrusionPaths |
typedef std::pair< coordf_t, coordf_t > | t_layer_height_range |
typedef std::map< t_layer_height_range, coordf_t > | t_layer_height_ranges |
typedef std::vector< LayerRegion * > | LayerRegionPtrs |
A std::vector of LayerRegion Pointers. More... | |
typedef long | coord_t |
typedef double | coordf_t |
typedef std::vector< Line > | Lines |
typedef std::vector< ThickLine > | ThickLines |
typedef std::string | t_model_material_id |
typedef std::string | t_model_material_attribute |
typedef std::map< t_model_material_attribute, std::string > | t_model_material_attributes |
typedef std::map< t_model_material_id, ModelMaterial * > | ModelMaterialMap |
typedef std::vector< ModelObject * > | ModelObjectPtrs |
typedef std::vector< ModelVolume * > | ModelVolumePtrs |
typedef std::vector< ModelInstance * > | ModelInstancePtrs |
typedef std::vector< PerimeterGeneratorLoop > | PerimeterGeneratorLoops |
typedef std::map< std::string, std::string > | t_strstr_map |
typedef std::map< std::string, std::vector< std::string > > | t_strstrs_map |
typedef Point | Vector |
typedef Pointf | Vectorf |
typedef Pointf3 | Vectorf3 |
using | Vector3 = Point3 |
typedef std::vector< Point > | Points |
typedef std::vector< Point * > | PointPtrs |
typedef std::vector< const Point * > | PointConstPtrs |
typedef std::vector< Pointf > | Pointfs |
typedef std::vector< Pointf3 > | Pointf3s |
using | Point3s = std::vector< Point3 > |
typedef std::vector< Polygon > | Polygons |
typedef std::vector< Polyline > | Polylines |
typedef std::vector< ThickPolyline > | ThickPolylines |
typedef std::vector< Layer * > | LayerPtrs |
typedef std::vector< SupportLayer * > | SupportLayerPtrs |
typedef std::vector< PrintObject * > | PrintObjectPtrs |
typedef std::vector< PrintRegion * > | PrintRegionPtrs |
using | shared_Print = std::shared_ptr< Print > |
typedef std::vector< Surface > | Surfaces |
typedef std::vector< Surface * > | SurfacesPtr |
typedef std::vector< const Surface * > | SurfacesConstPtr |
typedef std::vector< TriangleMesh * > | TriangleMeshPtrs |
typedef std::vector< IntersectionLine > | IntersectionLines |
typedef std::vector< IntersectionLine * > | IntersectionLinePtrs |
Functions | |
template<typename VT > | |
bool | operator== (const BoundingBoxBase< VT > &bb1, const BoundingBoxBase< VT > &bb2) |
template<typename VT > | |
bool | operator!= (const BoundingBoxBase< VT > &bb1, const BoundingBoxBase< VT > &bb2) |
void | AddOuterPolyNodeToExPolygons (ClipperLib::PolyNode &polynode, ExPolygons *expolygons) |
ExPolygons | PolyTreeToExPolygons (ClipperLib::PolyTree &polytree) |
template<class T > | |
T | ClipperPath_to_Slic3rMultiPoint (const ClipperLib::Path &input) |
template Polygon | ClipperPath_to_Slic3rMultiPoint< Polygon > (const ClipperLib::Path &input) |
template<class T > | |
T | ClipperPaths_to_Slic3rMultiPoints (const ClipperLib::Paths &input) |
ExPolygons | ClipperPaths_to_Slic3rExPolygons (const ClipperLib::Paths &input) |
ClipperLib::Path | Slic3rMultiPoint_to_ClipperPath (const MultiPoint &input) |
template<class T > | |
ClipperLib::Paths | Slic3rMultiPoints_to_ClipperPaths (const T &input) |
void | scaleClipperPolygons (ClipperLib::Paths &polygons, const double scale) |
ClipperLib::Paths | _offset (const Polygons &polygons, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit) |
ClipperLib::Paths | _offset (const Polylines &polylines, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit) |
Polygons | offset (const Polygons &polygons, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit) |
Polygons | offset (const Polylines &polylines, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit) |
Surfaces | offset (const Surface &surface, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit) |
ExPolygons | offset_ex (const Polygons &polygons, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit) |
ExPolygons | offset_ex (const ExPolygons &expolygons, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit) |
ClipperLib::Paths | _offset2 (const Polygons &polygons, const float delta1, const float delta2, const double scale, const ClipperLib::JoinType joinType, const double miterLimit) |
Polygons | offset2 (const Polygons &polygons, const float delta1, const float delta2, const double scale, const ClipperLib::JoinType joinType, const double miterLimit) |
ExPolygons | offset2_ex (const Polygons &polygons, const float delta1, const float delta2, const double scale, const ClipperLib::JoinType joinType, const double miterLimit) |
template<class T > | |
T | _clipper_do (const ClipperLib::ClipType clipType, const Polygons &subject, const Polygons &clip, const ClipperLib::PolyFillType fillType, const bool safety_offset_) |
ClipperLib::PolyTree | _clipper_do_polytree2 (const ClipperLib::ClipType clipType, const Polygons &subject, const Polygons &clip, const ClipperLib::PolyFillType fillType, const bool safety_offset_) |
ClipperLib::PolyTree | _clipper_do (const ClipperLib::ClipType clipType, const Polylines &subject, const Polygons &clip, const ClipperLib::PolyFillType fillType, const bool safety_offset_) |
Polygons | _clipper (ClipperLib::ClipType clipType, const Polygons &subject, const Polygons &clip, bool safety_offset_) |
ExPolygons | _clipper_ex (ClipperLib::ClipType clipType, const Polygons &subject, const Polygons &clip, bool safety_offset_) |
Polylines | _clipper_pl (ClipperLib::ClipType clipType, const Polylines &subject, const Polygons &clip, bool safety_offset_) |
Polylines | _clipper_pl (ClipperLib::ClipType clipType, const Polygons &subject, const Polygons &clip, bool safety_offset_) |
Lines | _clipper_ln (ClipperLib::ClipType clipType, const Lines &subject, const Polygons &clip, bool safety_offset_) |
ClipperLib::PolyTree | union_pt (const Polygons &subject, bool safety_offset_) |
Polygons | union_pt_chained (const Polygons &subject, bool safety_offset_) |
void | traverse_pt (ClipperLib::PolyNodes &nodes, Polygons *retval) |
Polygons | simplify_polygons (const Polygons &subject, bool preserve_collinear) |
ExPolygons | simplify_polygons_ex (const Polygons &subject, bool preserve_collinear) |
void | safety_offset (ClipperLib::Paths *paths) |
void | AddOuterPolyNodeToExPolygons (ClipperLib::PolyNode &polynode, Slic3r::ExPolygons &expolygons) |
void | PolyTreeToExPolygons (ClipperLib::PolyTree &polytree, Slic3r::ExPolygons &expolygons) |
Slic3r::Polygons | diff (const Slic3r::Polygons &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::ExPolygons | diff_ex (const Slic3r::Polygons &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::ExPolygons | diff_ex (const Slic3r::ExPolygons &subject, const Slic3r::ExPolygons &clip, bool safety_offset_=false) |
Slic3r::Polygons | diff (const Slic3r::ExPolygons &subject, const Slic3r::ExPolygons &clip, bool safety_offset_=false) |
Slic3r::Polylines | diff_pl (const Slic3r::Polygons &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::Polylines | diff_pl (const Slic3r::Polylines &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::Lines | diff_ln (const Slic3r::Lines &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::Polygons | intersection (const Slic3r::Polygons &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::ExPolygons | intersection_ex (const Slic3r::Polygons &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::ExPolygons | intersection_ex (const Slic3r::ExPolygons &subject, const Slic3r::ExPolygons &clip, bool safety_offset_=false) |
Slic3r::Polygons | intersection (const Slic3r::ExPolygons &subject, const Slic3r::ExPolygons &clip, bool safety_offset_=false) |
Slic3r::Polylines | intersection_pl (const Slic3r::Polygons &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::Polylines | intersection_pl (const Slic3r::Polylines &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::Lines | intersection_ln (const Slic3r::Lines &subject, const Slic3r::Polygons &clip, bool safety_offset_=false) |
Slic3r::Polygons | union_ (const Slic3r::Polygons &subject, bool safety_offset_=false) |
Slic3r::Polygons | union_ (const Slic3r::Polygons &subject, const Slic3r::Polygons &subject2, bool safety_offset_=false) |
Slic3r::ExPolygons | union_ex (const Slic3r::Polygons &subject, bool safety_offset_=false) |
Slic3r::ExPolygons | union_ex (const Slic3r::ExPolygons &subject, bool safety_offset_=false) |
Slic3r::ExPolygons | union_ex (const Slic3r::Surfaces &subject, bool safety_offset_=false) |
static void | ltrim (std::string &s) |
static void | rtrim (std::string &s) |
static void | trim (std::string &s) |
static void | replace_substr (std::string &str, const std::string &from, const std::string &to) |
std::string | apply_math (const std::string &input) |
Start of recursive function to parse gcode file. More... | |
std::string | evaluate (const std::string &expression_string) |
std::string | expression (const std::string &input, const int depth) |
Parse an expression and return a string. We assume that PlaceholderParser has expanded all variables. More... | |
std::shared_ptr< Config > | new_from_cli (const int &argc, const char *argv[]) |
bool | is_valid_int (const std::string &type, const ConfigOptionDef &opt, const std::string &ser_value) |
bool | is_valid_float (const std::string &type, const ConfigOptionDef &opt, const std::string &ser_value) |
std::string | escape_string_cstyle (const std::string &str) |
std::string | escape_strings_cstyle (const std::vector< std::string > &strs) |
bool | unescape_string_cstyle (const std::string &str, std::string &str_out) |
bool | unescape_strings_cstyle (const std::string &str, std::vector< std::string > &out) |
bool | operator== (const ConfigOption &a, const ConfigOption &b) |
bool | operator!= (const ConfigOption &a, const ConfigOption &b) |
std::ostream & | operator<< (std::ostream &s, const ExPolygons &expolygons) |
size_t | number_polygons (const ExPolygons &expolys) |
ExPolygons | operator+ (ExPolygons src1, const ExPolygons &src2) |
void | polygons_append (Polygons &dst, const ExPolygon &src) |
void | polygons_append (Polygons &dst, const ExPolygons &src) |
void | polygons_append (Polygons &dst, ExPolygon &&src) |
void | polygons_append (Polygons &dst, ExPolygons &&src) |
void | expolygons_append (ExPolygons &dst, const ExPolygons &src) |
void | expolygons_append (ExPolygons &dst, ExPolygons &&src) |
Polygons | to_polygons (const ExPolygon &src) |
Polygons | to_polygons (const ExPolygons &src) |
Polygons | to_polygons (ExPolygon &&src) |
Polygons | to_polygons (ExPolygons &&src) |
ExPolygonCollection & | operator<< (ExPolygonCollection &coll, const ExPolygons &expolygons) |
static std::vector< coordf_t > | colinearPoints (const coordf_t offset, const size_t baseLocation, size_t gridLength) |
static std::vector< coordf_t > | perpendPoints (const coordf_t offset, const size_t baseLocation, size_t gridLength) |
template<typename T > | |
static T | clamp (T low, T high, T x) |
static void | trim (Pointfs &pts, coordf_t minX, coordf_t minY, coordf_t maxX, coordf_t maxY) |
static Pointfs | zip (const std::vector< coordf_t > &x, const std::vector< coordf_t > &y) |
static std::vector< Pointfs > | makeNormalisedGrid (coordf_t z, size_t gridWidth, size_t gridHeight, size_t curveType) |
static Polylines | makeGrid (coord_t z, coord_t gridSize, size_t gridWidth, size_t gridHeight, size_t curveType) |
static double | f (double x, double z_sin, double z_cos, bool vertical, bool flip) |
static Polyline | make_wave (const std::vector< Pointf > &one_period, double width, double height, double offset, double scaleFactor, double z_cos, double z_sin, bool vertical) |
static bool | sortPointf (Pointf &lfs, Pointf &rhs) |
static std::vector< Pointf > | make_one_period (double width, double scaleFactor, double z_cos, double z_sin, bool vertical, bool flip) |
static Polylines | make_gyroid_waves (double gridZ, double density_adjusted, double line_spacing, double width, double height) |
static Point | hilbert_n_to_xy (const size_t n) |
void | apply_speed_factor (std::string &line, float speed_factor, float min_print_speed) |
std::string | _format_z (float z) |
constexpr coord_t | scale_ (const coordf_t &val) |
constexpr coordf_t | unscale (const coord_t &val) |
template<class T > | |
void | append_to (std::vector< T > &dst, const std::vector< T > &src) |
template<class T > | |
void | _parallelize_do (std::queue< T > *queue, boost::mutex *queue_mutex, boost::function< void(T)> func) |
template<class T > | |
void | parallelize (std::queue< T > queue, boost::function< void(T)> func, int threads_count=boost::thread::hardware_concurrency()) |
template<class T > | |
void | parallelize (T start, T end, boost::function< void(T)> func, int threads_count=boost::thread::hardware_concurrency()) |
template<typename T > | |
std::string | log_string (const std::vector< T > &in) |
static coord_t | _align_to_grid (const coord_t coord, const coord_t spacing) |
Point | operator+ (const Point &point1, const Point &point2) |
Point | operator- (const Point &point1, const Point &point2) |
Point | operator* (double scalar, const Point &point2) |
std::ostream & | operator<< (std::ostream &stm, const Pointf &pointf) |
Pointf | operator+ (const Pointf &point1, const Pointf &point2) |
Pointf | operator/ (const Pointf &point1, const double &scalar) |
std::ostream & | operator<< (std::ostream &stm, const Pointf3 &pointf3) |
Points & | operator+= (Points &dst, const Points &src) |
Points & | operator+= (Points &dst, const Point &p) |
template<class T > | |
Points | to_points (const std::vector< T > &items) |
Points | scale (const std::vector< Pointf > &in) |
void | polygons_append (Polygons &dst, const Polygons &src) |
void | polygons_append (Polygons &dst, Polygons &&src) |
Polygons | operator+ (Polygons src1, const Polygons &src2) |
Polygons & | operator+= (Polygons &dst, const Polygons &src2) |
Polylines | to_polylines (const Polygons &polygons) |
Polylines | to_polylines (const Lines &lines) |
template<typename T > | |
int | nearest_point_index (const std::vector< Chaining > &pairs, const Point &start_near, bool no_reverse) |
std::ostream & | print_cli_options (std::ostream &out) |
Iterate through all of the CLI options and write them to a stream. More... | |
std::ostream & | print_print_options (std::ostream &out) |
Iterate through all of the print options and write them to a stream. More... | |
std::pair< float, float > | face_z_span (const stl_facet *f) |
PolylineCollection | _fill_surface (Fill *fill, Surface *surface) |
Polygons | to_polygons (const Surfaces &surfaces) |
Polygons | to_polygons (const SurfacesPtr &surfaces) |
Polygons | to_polygons (const SurfacesConstPtr &surfaces) |
ExPolygons | to_expolygons (const Surfaces &src) |
ExPolygons | to_expolygons (Surfaces &&src) |
ExPolygons | to_expolygons (const SurfacesPtr &src) |
size_t | number_polygons (const Surfaces &surfaces) |
size_t | number_polygons (const SurfacesPtr &surfaces) |
void | polygons_append (Polygons &dst, const Surfaces &src) |
void | polygons_append (Polygons &dst, Surfaces &&src) |
void | polygons_append (Polygons &dst, const SurfacesPtr &src) |
void | polygons_append (Polygons &dst, SurfacesPtr &&src) |
bool | surfaces_could_merge (const Surface &s1, const Surface &s2) |
using Slic3r::config_ptr = typedef std::shared_ptr<Config> |
typedef long Slic3r::coord_t |
typedef double Slic3r::coordf_t |
typedef std::vector<ExPolygonCollection> Slic3r::ExPolygonCollections |
typedef std::vector<ExPolygon> Slic3r::ExPolygons |
typedef std::vector<ExtrusionEntity*> Slic3r::ExtrusionEntitiesPtr |
typedef std::vector<ExtrusionPath> Slic3r::ExtrusionPaths |
typedef std::vector<IntersectionLine*> Slic3r::IntersectionLinePtrs |
typedef std::vector<IntersectionLine> Slic3r::IntersectionLines |
typedef std::vector<Layer*> Slic3r::LayerPtrs |
typedef std::vector<LayerRegion*> Slic3r::LayerRegionPtrs |
A std::vector of LayerRegion Pointers.
typedef std::vector<Line> Slic3r::Lines |
typedef std::vector<ModelInstance*> Slic3r::ModelInstancePtrs |
typedef std::map<t_model_material_id,ModelMaterial*> Slic3r::ModelMaterialMap |
typedef std::vector<ModelObject*> Slic3r::ModelObjectPtrs |
typedef std::vector<ModelVolume*> Slic3r::ModelVolumePtrs |
typedef std::vector<PerimeterGeneratorLoop> Slic3r::PerimeterGeneratorLoops |
using Slic3r::Point3s = typedef std::vector<Point3> |
typedef std::vector<const Point*> Slic3r::PointConstPtrs |
typedef std::vector<Pointf3> Slic3r::Pointf3s |
typedef std::vector<Pointf> Slic3r::Pointfs |
typedef std::vector<Point*> Slic3r::PointPtrs |
typedef std::vector<Point> Slic3r::Points |
typedef std::vector<Polygon> Slic3r::Polygons |
typedef std::vector<Polyline> Slic3r::Polylines |
typedef std::vector<PrintObject*> Slic3r::PrintObjectPtrs |
typedef std::vector<PrintRegion*> Slic3r::PrintRegionPtrs |
using Slic3r::shared_Print = typedef std::shared_ptr<Print> |
typedef Point Slic3r::Size |
typedef Point3 Slic3r::Size3 |
typedef Pointf Slic3r::Sizef |
typedef Pointf3 Slic3r::Sizef3 |
typedef std::vector<SupportLayer*> Slic3r::SupportLayerPtrs |
typedef std::vector<Surface> Slic3r::Surfaces |
typedef std::vector<const Surface*> Slic3r::SurfacesConstPtr |
typedef std::vector<Surface*> Slic3r::SurfacesPtr |
typedef std::map<std::string,int> Slic3r::t_config_enum_values |
Map from an enum name to an enum integer value.
typedef std::string Slic3r::t_config_option_key |
Name of the configuration option.
typedef std::vector<std::string> Slic3r::t_config_option_keys |
typedef std::pair<coordf_t,coordf_t> Slic3r::t_layer_height_range |
typedef std::map<t_layer_height_range,coordf_t> Slic3r::t_layer_height_ranges |
typedef std::string Slic3r::t_model_material_attribute |
typedef std::map<t_model_material_attribute,std::string> Slic3r::t_model_material_attributes |
typedef std::string Slic3r::t_model_material_id |
typedef std::map<t_config_option_key,ConfigOptionDef> Slic3r::t_optiondef_map |
Map from a config option name to its definition.
typedef std::map<std::string, std::string> Slic3r::t_strstr_map |
typedef std::map<std::string, std::vector<std::string> > Slic3r::t_strstrs_map |
typedef std::vector<ThickLine> Slic3r::ThickLines |
typedef std::vector<ThickPolyline> Slic3r::ThickPolylines |
typedef std::vector<TriangleMesh*> Slic3r::TriangleMeshPtrs |
typedef Point Slic3r::Vector |
using Slic3r::Vector3 = typedef Point3 |
typedef Pointf Slic3r::Vectorf |
typedef Pointf3 Slic3r::Vectorf3 |
enum Slic3r::Axis |
Type of a configuration value.
enum Slic3r::FlowRole |
enum Slic3r::GCodeFlavor |
enum Slic3r::HostType |
enum Slic3r::PrintStep |
enum Slic3r::SeamPosition |
enum Slic3r::SurfaceType |
Surface type enumerations. As it is very unlikely that there will be more than 32 or 64 of these surface types, pack into a flag
Enumerator | |
---|---|
stTop | |
stBottom | |
stBottomBridge | |
stInternal | |
stInternalSolid | |
stInternalBridge | |
stInternalVoid |
Slic3r::Polygons Slic3r::_clipper | ( | ClipperLib::ClipType | clipType, |
const Polygons & | subject, | ||
const Polygons & | clip, | ||
bool | safety_offset_ | ||
) |
T Slic3r::_clipper_do | ( | const ClipperLib::ClipType | clipType, |
const Polygons & | subject, | ||
const Polygons & | clip, | ||
const ClipperLib::PolyFillType | fillType, | ||
const bool | safety_offset_ | ||
) |
ClipperLib::PolyTree Slic3r::_clipper_do | ( | const ClipperLib::ClipType | clipType, |
const Polylines & | subject, | ||
const Polygons & | clip, | ||
const ClipperLib::PolyFillType | fillType, | ||
const bool | safety_offset_ | ||
) |
|
inline |
Slic3r::ExPolygons Slic3r::_clipper_ex | ( | ClipperLib::ClipType | clipType, |
const Polygons & | subject, | ||
const Polygons & | clip, | ||
bool | safety_offset_ | ||
) |
Slic3r::Lines Slic3r::_clipper_ln | ( | ClipperLib::ClipType | clipType, |
const Lines & | subject, | ||
const Polygons & | clip, | ||
bool | safety_offset_ | ||
) |
Slic3r::Polylines Slic3r::_clipper_pl | ( | ClipperLib::ClipType | clipType, |
const Polylines & | subject, | ||
const Polygons & | clip, | ||
bool | safety_offset_ | ||
) |
Slic3r::Polylines Slic3r::_clipper_pl | ( | ClipperLib::ClipType | clipType, |
const Polygons & | subject, | ||
const Polygons & | clip, | ||
bool | safety_offset_ | ||
) |
PolylineCollection Slic3r::_fill_surface | ( | Fill * | fill, |
Surface * | surface | ||
) |
std::string Slic3r::_format_z | ( | float | z | ) |
ClipperLib::Paths Slic3r::_offset | ( | const Polygons & | polygons, |
const float | delta, | ||
double | scale, | ||
ClipperLib::JoinType | joinType, | ||
double | miterLimit | ||
) |
ClipperLib::Paths Slic3r::_offset | ( | const Polylines & | polylines, |
const float | delta, | ||
double | scale, | ||
ClipperLib::JoinType | joinType, | ||
double | miterLimit | ||
) |
ClipperLib::Paths Slic3r::_offset2 | ( | const Polygons & | polygons, |
const float | delta1, | ||
const float | delta2, | ||
const double | scale, | ||
const ClipperLib::JoinType | joinType, | ||
const double | miterLimit | ||
) |
void Slic3r::_parallelize_do | ( | std::queue< T > * | queue, |
boost::mutex * | queue_mutex, | ||
boost::function< void(T)> | func | ||
) |
void Slic3r::AddOuterPolyNodeToExPolygons | ( | ClipperLib::PolyNode & | polynode, |
ExPolygons * | expolygons | ||
) |
void Slic3r::AddOuterPolyNodeToExPolygons | ( | ClipperLib::PolyNode & | polynode, |
Slic3r::ExPolygons & | expolygons | ||
) |
|
inline |
std::string Slic3r::apply_math | ( | const std::string & | input | ) |
Start of recursive function to parse gcode file.
External access function to begin replac.
void Slic3r::apply_speed_factor | ( | std::string & | line, |
float | speed_factor, | ||
float | min_print_speed | ||
) |
|
inlinestatic |
T Slic3r::ClipperPath_to_Slic3rMultiPoint | ( | const ClipperLib::Path & | input | ) |
template Polygon Slic3r::ClipperPath_to_Slic3rMultiPoint< Polygon > | ( | const ClipperLib::Path & | input | ) |
Slic3r::ExPolygons Slic3r::ClipperPaths_to_Slic3rExPolygons | ( | const ClipperLib::Paths & | input | ) |
T Slic3r::ClipperPaths_to_Slic3rMultiPoints | ( | const ClipperLib::Paths & | input | ) |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string Slic3r::escape_string_cstyle | ( | const std::string & | str | ) |
std::string Slic3r::escape_strings_cstyle | ( | const std::vector< std::string > & | strs | ) |
std::string Slic3r::evaluate | ( | const std::string & | expression_string | ) |
Evaluate expressions with exprtk Everything must resolve to a number.
|
inline |
|
inline |
std::string Slic3r::expression | ( | const std::string & | input, |
const int | depth = 0 |
||
) |
Parse an expression and return a string. We assume that PlaceholderParser has expanded all variables.
Recursive expression parser. Offloads mathematics to exprtk. Precondition: All strings inside {} are able to be understood by exprtk (and thus parsed to a number). Starts from the end of the string and works from the inside out. Any statements that resolve to {if0} will remove everything on the same line.
|
inlinestatic |
std::pair<float, float> Slic3r::face_z_span | ( | const stl_facet * | f | ) |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool Slic3r::is_valid_float | ( | const std::string & | type, |
const ConfigOptionDef & | opt, | ||
const std::string & | ser_value | ||
) |
bool Slic3r::is_valid_int | ( | const std::string & | type, |
const ConfigOptionDef & | opt, | ||
const std::string & | ser_value | ||
) |
std::string Slic3r::log_string | ( | const std::vector< T > & | in | ) |
Utility debug function to transform a std::vector of anything that supports ostream& operator<<() into a std::string.
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inline |
std::shared_ptr<Config> Slic3r::new_from_cli | ( | const int & | argc, |
const char * | argv[] | ||
) |
|
inline |
|
inline |
|
inline |
Slic3r::Polygons Slic3r::offset | ( | const Polygons & | polygons, |
const float | delta, | ||
double | scale, | ||
ClipperLib::JoinType | joinType, | ||
double | miterLimit | ||
) |
Slic3r::Polygons Slic3r::offset | ( | const Polylines & | polylines, |
const float | delta, | ||
double | scale, | ||
ClipperLib::JoinType | joinType, | ||
double | miterLimit | ||
) |
Slic3r::Surfaces Slic3r::offset | ( | const Surface & | surface, |
const float | delta, | ||
double | scale, | ||
ClipperLib::JoinType | joinType, | ||
double | miterLimit | ||
) |
Slic3r::Polygons Slic3r::offset2 | ( | const Polygons & | polygons, |
const float | delta1, | ||
const float | delta2, | ||
const double | scale, | ||
const ClipperLib::JoinType | joinType, | ||
const double | miterLimit | ||
) |
Slic3r::ExPolygons Slic3r::offset2_ex | ( | const Polygons & | polygons, |
const float | delta1, | ||
const float | delta2, | ||
const double | scale, | ||
const ClipperLib::JoinType | joinType, | ||
const double | miterLimit | ||
) |
Slic3r::ExPolygons Slic3r::offset_ex | ( | const Polygons & | polygons, |
const float | delta, | ||
double | scale, | ||
ClipperLib::JoinType | joinType, | ||
double | miterLimit | ||
) |
Slic3r::ExPolygons Slic3r::offset_ex | ( | const ExPolygons & | expolygons, |
const float | delta, | ||
double | scale, | ||
ClipperLib::JoinType | joinType, | ||
double | miterLimit | ||
) |
|
inline |
bool Slic3r::operator!= | ( | const ConfigOption & | a, |
const ConfigOption & | b | ||
) |
|
inline |
|
inline |
std::ostream & Slic3r::operator<< | ( | std::ostream & | stm, |
const Pointf & | pointf | ||
) |
std::ostream & Slic3r::operator<< | ( | std::ostream & | stm, |
const Pointf3 & | pointf3 | ||
) |
std::ostream & Slic3r::operator<< | ( | std::ostream & | s, |
const ExPolygons & | expolygons | ||
) |
|
inline |
bool Slic3r::operator== | ( | const ConfigOption & | a, |
const ConfigOption & | b | ||
) |
void Slic3r::parallelize | ( | std::queue< T > | queue, |
boost::function< void(T)> | func, | ||
int | threads_count = boost::thread::hardware_concurrency() |
||
) |
void Slic3r::parallelize | ( | T | start, |
T | end, | ||
boost::function< void(T)> | func, | ||
int | threads_count = boost::thread::hardware_concurrency() |
||
) |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
ExPolygons Slic3r::PolyTreeToExPolygons | ( | ClipperLib::PolyTree & | polytree | ) |
void Slic3r::PolyTreeToExPolygons | ( | ClipperLib::PolyTree & | polytree, |
Slic3r::ExPolygons & | expolygons | ||
) |
std::ostream & Slic3r::print_cli_options | ( | std::ostream & | out | ) |
Iterate through all of the CLI options and write them to a stream.
std::ostream & Slic3r::print_print_options | ( | std::ostream & | out | ) |
Iterate through all of the print options and write them to a stream.
|
inlinestatic |
|
inlinestatic |
void Slic3r::safety_offset | ( | ClipperLib::Paths * | paths | ) |
void Slic3r::scaleClipperPolygons | ( | ClipperLib::Paths & | polygons, |
const double | scale | ||
) |
Slic3r::Polygons Slic3r::simplify_polygons | ( | const Polygons & | subject, |
bool | preserve_collinear | ||
) |
Slic3r::ExPolygons Slic3r::simplify_polygons_ex | ( | const Polygons & | subject, |
bool | preserve_collinear | ||
) |
ClipperLib::Path Slic3r::Slic3rMultiPoint_to_ClipperPath | ( | const MultiPoint & | input | ) |
ClipperLib::Paths Slic3r::Slic3rMultiPoints_to_ClipperPaths | ( | const T & | input | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Slic3r::traverse_pt | ( | ClipperLib::PolyNodes & | nodes, |
Polygons * | retval | ||
) |
|
inlinestatic |
|
inlinestatic |
bool Slic3r::unescape_string_cstyle | ( | const std::string & | str, |
std::string & | str_out | ||
) |
bool Slic3r::unescape_strings_cstyle | ( | const std::string & | str, |
std::vector< std::string > & | out | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ClipperLib::PolyTree Slic3r::union_pt | ( | const Polygons & | subject, |
bool | safety_offset_ | ||
) |
Slic3r::Polygons Slic3r::union_pt_chained | ( | const Polygons & | subject, |
bool | safety_offset_ | ||
) |
|
inlinestatic |
constexpr auto Slic3r::BRIDGE_EXTRA_SPACING = 0.05 |
const CLIConfigDef Slic3r::cli_config_def |
constexpr float Slic3r::CLIPPER_OFFSET_SCALE = 100000.0 |
constexpr auto Slic3r::EPSILON = 1e-4 |
constexpr coordf_t Slic3r::EXTERNAL_INFILL_MARGIN = 3 |
constexpr coordf_t Slic3r::INSET_OVERLAP_TOLERANCE = 0.4 |
constexpr auto Slic3r::LOOP_CLIPPING_LENGTH_OVER_NOZZLE_DIAMETER = 0.15 |
constexpr coordf_t Slic3r::MARGIN_STEP = SUPPORT_MATERIAL_MARGIN / 3 |
constexpr auto Slic3r::MAX_COORD = ClipperLib::hiRange / CLIPPER_OFFSET_SCALE |
constexpr auto Slic3r::OVERLAP_FACTOR = 1.0 |
constexpr auto Slic3r::PI = 3.141592653589793238 |
constexpr coordf_t Slic3r::PILLAR_SIZE = 2.5 |
constexpr coordf_t Slic3r::PILLAR_SPACING = 10 |
const PrintConfigDef Slic3r::print_config_def |
constexpr auto Slic3r::RESOLUTION = 0.0125 |
constexpr coord_t Slic3r::SCALED_EXTERNAL_INFILL_MARGIN = scale_(EXTERNAL_INFILL_MARGIN) |
constexpr auto Slic3r::SCALED_RESOLUTION = scale_(RESOLUTION) |
constexpr auto Slic3r::SCALING_FACTOR = 0.000001 |
const auto Slic3r::SLIC3R_GIT = SLIC3R_GIT_STR.c_str() |
const auto Slic3r::SLIC3R_GIT_STR = std::string(BUILD_COMMIT) |
constexpr auto Slic3r::SLIC3R_VERSION = "1.3.1-dev" |
constexpr coordf_t Slic3r::SUPPORT_MATERIAL_MARGIN = 1.5 |