void TaskPadParameters::onReversed(bool on) { PartDesign::Pad* pcPad = static_cast<PartDesign::Pad*>(PadView->getObject()); pcPad->Reversed.setValue(on); pcPad->getDocument()->recomputeFeature(pcPad); }
void TaskPadParameters::onLengthChanged(double len) { PartDesign::Pad* pcPad = static_cast<PartDesign::Pad*>(PadView->getObject()); pcPad->Length.setValue((float)len); pcPad->getDocument()->recomputeFeature(pcPad); }