Add flow color scheme on preview

This commit is contained in:
Felipe Navas 2021-05-10 00:44:50 -03:00
parent 1808476c1b
commit 62bc71572a
5 changed files with 160 additions and 9 deletions

View file

@ -126,6 +126,15 @@ class SimulationViewProxy(QObject):
def minLineWidth(self):
return self._simulation_view.getMinLineWidth()
@pyqtSlot(result=float)
def getMaxFlowRate(self):
return self._simulation_view.getMaxFlowRate()
@pyqtSlot(result=float)
def getMinFlowRate(self):
return self._simulation_view.getMinFlowRate()
# Opacity 0..1
@pyqtSlot(int, float)
def setExtruderOpacity(self, extruder_nr, opacity):