OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
PluginBindingUtils.hpp File Reference
#include "libslic3r/libslic3r.h"
#include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#include "libslic3r/Config.hpp"
#include "libslic3r/Point.hpp"
#include <pybind11/pytypes.h>
#include <pybind11/cast.h>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for PluginBindingUtils.hpp:
This graph shows which files directly or indirectly include this file:

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 |/

Functions

template<typename Builder>
pybind11::object Slic3r::with_numpy (Builder &&build)
template<typename T, int N>
pybind11::array Slic3r::make_readonly_rows (pybind11::handle base, const T *data, pybind11::ssize_t rows)
template<typename T, int N>
pybind11::array Slic3r::make_writable_rows (pybind11::handle base, T *data, pybind11::ssize_t rows)
pybind11::object Slic3r::config_value_or_none (const ConfigBase &config, const std::string &key)
pybind11::tuple Slic3r::vec3_to_tuple (const Vec3d &v)
pybind11::object Slic3r::mat4_to_numpy (const Transform3d &transform)