@@ -370,6 +370,14 @@ static inline double get_CC_origin_offset (Interp &interp) {
370370static inline void set_CC_origin_offset (Interp &interp, double value) {
371371 interp._setup .CC_origin_offset = value;
372372}
373+
374+ static inline int get_active_spindle (Interp const & interp) {
375+ return interp._setup .active_spindle ;
376+ }
377+ static inline void set_active_spindle (Interp & interp, int value) {
378+ interp._setup .active_spindle = value;
379+ }
380+
373381static inline double get_axis_offset_x (Interp &interp) {
374382 return interp._setup .axis_offset_x ;
375383}
@@ -894,6 +902,7 @@ BOOST_PYTHON_MODULE(interpreter) {
894902 .add_property (" CC_axis_offset" , &get_CC_axis_offset, &set_CC_axis_offset)
895903 .add_property (" CC_current" , &get_CC_current, &set_CC_current)
896904 .add_property (" CC_origin_offset" , &get_CC_origin_offset, &set_CC_origin_offset)
905+ .add_property (" active_spindle" , &get_active_spindle, &set_active_spindle)
897906 .add_property (" axis_offset_x" , &get_axis_offset_x, &set_axis_offset_x)
898907 .add_property (" axis_offset_y" , &get_axis_offset_y, &set_axis_offset_y)
899908 .add_property (" axis_offset_z" , &get_axis_offset_z, &set_axis_offset_z)
0 commit comments