def loadDevices(self):
        svgDrawer = SvgDrawer()
        svgDrawer.loadSvg(self.getBaseSvgPath())

        self.processSectionsData(svgDrawer)

        svgDrawer.drawAll()

        destinationFile = self.thirdStep.getFilePath()
        svgDrawer.saveSvg(destinationFile)
Exemple #2
0
 def setSectionsData(self, linacData, ringData):
     self.svgDrawer = SvgDrawer()
     sectionsProcessor = SectionsDataProcesssor(self.svgDrawer)
     sectionsProcessor.processLinacSections(linacData)
     sectionsProcessor.processRingSections(ringData)
     self.sections = self.svgDrawer.getAllSections()