10 void update(
const class Board &brd);
11 void update_only(
const class Board &brd);
12 void prepare_only(std::function<
void()> cb =
nullptr);
18 Vertex(
float ix,
float iy) : x(ix), y(iy)
24 std::vector<Vertex> tris;
25 std::vector<Vertex> walls;
26 void move_from(
Layer3D &&other);
27 void copy_sizes_from(
const Layer3D &other);
30 float thickness = 0.035;
32 float explode_mul = 0;
33 std::atomic_bool done =
false;
36 std::map<int, Layer3D> &get_layers()
40 const std::map<int, Layer3D> &get_layers()
const
44 std::pair<Coordi, Coordi> get_bbox()
const;
53 std::map<int, Layer3D> layers;
54 std::atomic_bool cancel =
false;
56 void prepare(
const class Board &brd);
57 void prepare_work(std::function<
void()> cb);
59 std::vector<int> layers_to_prepare;
61 void prepare_worker(std::atomic_size_t &layer_counter, std::function<
void()> cb);
62 void prepare_layer(
int layer);
63 void prepare_soldermask(
int layer);
64 void prepare_silkscreen(
int layer,
int soldermask_layer);
65 void add_path(
int layer,
const ClipperLib::Path &path);