diff --git a/src/libslic3r/PrintConfig.hpp b/src/libslic3r/PrintConfig.hpp index 6eacc67ce..e1d1185a1 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -903,11 +903,61 @@ class SLAPrintObjectConfig : public StaticPrintConfig STATIC_PRINT_CONFIG_CACHE(SLAPrintObjectConfig) public: ConfigOptionFloat layer_height; - // supports + + // Radius in mm of the pointing side of the head. + ConfigOptionFloat head_front_radius_mm /*= 0.2*/; + + // How much the pinhead has to penetrate the model surface + ConfigOptionFloat head_penetraiton /*= 0.2*/; + + // Radius of the back side of the 3d arrow. + ConfigOptionFloat head_back_radius_mm /*= 0.5*/; + + // Width in mm from the back sphere center to the front sphere center. + ConfigOptionFloat head_width_mm /*= 1.0*/; + + // Radius in mm of the support pillars. + // TODO: This parameter is invalid. The pillar radius will be dynamic in + // nature. Merged pillars will have an increased thickness. This parameter + // may serve as the maximum radius, or maybe an increase when two are merged + // The default radius will be derived from head_back_radius_mm + ConfigOptionFloat pillar_radius_mm /*= 0.8*/; + + // Radius in mm of the pillar base. + ConfigOptionFloat base_radius_mm /*= 2.0*/; + + // The height of the pillar base cone in mm. + ConfigOptionFloat base_height_mm /*= 1.0*/; + + // The default angle for connecting support sticks and junctions. + ConfigOptionFloat tilt /*= M_PI/4*/; + + // The max length of a bridge in mm + ConfigOptionFloat max_bridge_length_mm /*= 15.0*/; + + // Now for the base pool (plate) /////////////////////////////////////////// + + ConfigOptionFloat pool_wall_thickness_mm /*= 2*/; + ConfigOptionFloat pool_wall_height_mm /*= 5*/; + ConfigOptionFloat pool_max_merge_distance_mm /*= 50*/; + ConfigOptionFloat pool_edge_radius_mm /*= 1*/; protected: void initialize(StaticCacheBase &cache, const char *base_ptr) { OPT_PTR(layer_height); + OPT_PTR(head_front_radius_mm); + OPT_PTR(head_penetraiton); + OPT_PTR(head_back_radius_mm); + OPT_PTR(head_width_mm); + OPT_PTR(pillar_radius_mm); + OPT_PTR(base_radius_mm); + OPT_PTR(base_height_mm); + OPT_PTR(tilt); + OPT_PTR(max_bridge_length_mm); + OPT_PTR(pool_wall_thickness_mm); + OPT_PTR(pool_wall_height_mm); + OPT_PTR(pool_max_merge_distance_mm); + OPT_PTR(pool_edge_radius_mm); } };