OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
AssembleList.cpp File Reference
#include "AssembleList.hpp"
#include <algorithm>
#include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/format.hpp>
#include <boost/log/trivial.hpp>
#include <boost/nowide/fstream.hpp>
#include <string>
#include <vector>
#include <map>
#include <utility>
#include <exception>
#include "nlohmann/json.hpp"
Include dependency graph for AssembleList.cpp:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/

Macros

#define JSON_ASSEMPLE_PLATES   "plates"
#define JSON_ASSEMPLE_PLATE_PARAMS   "plate_params"
#define JSON_ASSEMPLE_PLATE_NAME   "plate_name"
#define JSON_ASSEMPLE_PLATE_NEED_ARRANGE   "need_arrange"
#define JSON_ASSEMPLE_OBJECTS   "objects"
#define JSON_ASSEMPLE_OBJECT_PATH   "path"
#define JSON_ASSEMPLE_OBJECT_COUNT   "count"
#define JSON_ASSEMPLE_OBJECT_FILAMENTS   "filaments"
#define JSON_ASSEMPLE_OBJECT_POS_X   "pos_x"
#define JSON_ASSEMPLE_OBJECT_POS_Y   "pos_y"
#define JSON_ASSEMPLE_OBJECT_POS_Z   "pos_z"
#define JSON_ASSEMPLE_OBJECT_ASSEMBLE_INDEX   "assemble_index"
#define JSON_ASSEMPLE_OBJECT_PRINT_PARAMS   "print_params"
#define JSON_ASSEMPLE_ASSEMBLE_PARAMS   "assembled_params"
#define JSON_ASSEMPLE_OBJECT_MIN_Z   "min_z"
#define JSON_ASSEMPLE_OBJECT_MAX_Z   "max_z"
#define JSON_ASSEMPLE_OBJECT_HEIGHT_RANGES   "height_ranges"
#define JSON_ASSEMPLE_OBJECT_RANGE_PARAMS   "range_params"

Typedefs

using Slic3r::json = nlohmann::json

Functions

AssembleListResult Slic3r::load_assemble_plate_list (const std::string &config_file, std::vector< assemble_plate_info_t > &assemble_plate_info_list, int max_plate_count)

Macro Definition Documentation

◆ JSON_ASSEMPLE_ASSEMBLE_PARAMS

#define JSON_ASSEMPLE_ASSEMBLE_PARAMS   "assembled_params"

◆ JSON_ASSEMPLE_OBJECT_ASSEMBLE_INDEX

#define JSON_ASSEMPLE_OBJECT_ASSEMBLE_INDEX   "assemble_index"

◆ JSON_ASSEMPLE_OBJECT_COUNT

#define JSON_ASSEMPLE_OBJECT_COUNT   "count"

◆ JSON_ASSEMPLE_OBJECT_FILAMENTS

#define JSON_ASSEMPLE_OBJECT_FILAMENTS   "filaments"

◆ JSON_ASSEMPLE_OBJECT_HEIGHT_RANGES

#define JSON_ASSEMPLE_OBJECT_HEIGHT_RANGES   "height_ranges"

◆ JSON_ASSEMPLE_OBJECT_MAX_Z

#define JSON_ASSEMPLE_OBJECT_MAX_Z   "max_z"

◆ JSON_ASSEMPLE_OBJECT_MIN_Z

#define JSON_ASSEMPLE_OBJECT_MIN_Z   "min_z"

◆ JSON_ASSEMPLE_OBJECT_PATH

#define JSON_ASSEMPLE_OBJECT_PATH   "path"

◆ JSON_ASSEMPLE_OBJECT_POS_X

#define JSON_ASSEMPLE_OBJECT_POS_X   "pos_x"

◆ JSON_ASSEMPLE_OBJECT_POS_Y

#define JSON_ASSEMPLE_OBJECT_POS_Y   "pos_y"

◆ JSON_ASSEMPLE_OBJECT_POS_Z

#define JSON_ASSEMPLE_OBJECT_POS_Z   "pos_z"

◆ JSON_ASSEMPLE_OBJECT_PRINT_PARAMS

#define JSON_ASSEMPLE_OBJECT_PRINT_PARAMS   "print_params"

◆ JSON_ASSEMPLE_OBJECT_RANGE_PARAMS

#define JSON_ASSEMPLE_OBJECT_RANGE_PARAMS   "range_params"

◆ JSON_ASSEMPLE_OBJECTS

#define JSON_ASSEMPLE_OBJECTS   "objects"

◆ JSON_ASSEMPLE_PLATE_NAME

#define JSON_ASSEMPLE_PLATE_NAME   "plate_name"

◆ JSON_ASSEMPLE_PLATE_NEED_ARRANGE

#define JSON_ASSEMPLE_PLATE_NEED_ARRANGE   "need_arrange"

◆ JSON_ASSEMPLE_PLATE_PARAMS

#define JSON_ASSEMPLE_PLATE_PARAMS   "plate_params"

◆ JSON_ASSEMPLE_PLATES

#define JSON_ASSEMPLE_PLATES   "plates"