def __init__(self,repo,databases): BackendExporter.__init__(self,repo,databases) self.templates = {} self.freecad = self.databases["freecad"] self.openscad = self.databases["openscad"] self.drawings = self.databases["drawings"] self.statistics = statistics.StatisticsExporter(repo,databases) self.checker = checker.CheckerExporter(repo,databases)
def __init__(self, repo, databases): BackendExporter.__init__(self, repo, databases) self.templates = {} self.freecad = self.databases["freecad"] self.openscad = self.databases["openscad"] self.drawings = self.databases["drawings"] self.statistics = statistics.StatisticsExporter(repo, databases) self.checker = checker.CheckerExporter(repo, databases)
def __init__(self, repo, databases): BackendExporter.__init__(self, repo, databases) self.openscad = databases["openscad"] #check for module name clashes modules = [] for coll in repo.collections: for cl in coll.classes: if cl.openscadname in modules: raise ModuleNameCollisionError(cl.openscadname) modules.append(cl.openscadname) for base in self.openscad.getbase.values(): if base.type == "module": if base.name in modules: raise ModuleNameCollisionError(base.name)
def __init__(self,repo,databases): BackendExporter.__init__(self,repo,databases) self.openscad = databases["openscad"] #check for module name clashes modules = [] for coll in repo.collections: for cl in coll.classes: if cl.openscadname in modules: raise ModuleNameCollisionError(cl.openscadname) modules.append(cl.openscadname) for base in self.openscad.getbase.values(): if base.type == "module": if base.name in modules: raise ModuleNameCollisionError(base.name)
def __init__(self,repo,databases): BackendExporter.__init__(self,repo,databases) self.checks = {} self.checks["missingbase"] = MissingBaseTable() self.checks["unknownclass"] = UnknownClassTable() self.checks["missingcommonparameters"] = MissingCommonParametersTable() self.checks["missingdrawing"] = MissingDrawingTable() self.checks["missingsvgsource"] = MissingSVGSourceTable() self.checks["unsupportedlicense"] = UnsupportedLicenseTable() self.checks["unknownfile"] = UnknownFileTable() self.checks["nonconformingparametername"] = NonconformingParameternameTable() self.checks["tableproblem"] = TableProblemTable() self.checks["missingbaseconnection"] = MissingBaseConnectionTable() for check in self.checks.values(): check.populate(repo,databases)
def __init__(self, repo, databases): BackendExporter.__init__(self, repo, databases) self.checks = {} self.checks["missingbase"] = MissingBaseTable() self.checks["unknownclass"] = UnknownClassTable() self.checks["missingcommonparameters"] = MissingCommonParametersTable() self.checks["missingdrawing"] = MissingDrawingTable() self.checks["missingsvgsource"] = MissingSVGSourceTable() self.checks["unsupportedlicense"] = UnsupportedLicenseTable() self.checks["unknownfile"] = UnknownFileTable() self.checks[ "nonconformingparametername"] = NonconformingParameternameTable() self.checks["tableproblem"] = TableProblemTable() self.checks["missingbaseconnection"] = MissingBaseConnectionTable() for check in self.checks.values(): check.populate(repo, databases)
def __init__(self,repo,databases): BackendExporter.__init__(self,repo,databases) self.solidworks = databases["solidworks"]
def __init__(self,repo,databases): BackendExporter.__init__(self,repo,databases) self.dbs = databases
def __init__(self, repo, databases): BackendExporter.__init__(self, repo, databases) self.freecad = databases["freecad"]
def __init__(self, repo, databases): BackendExporter.__init__(self, repo, databases) self.solidworks = databases["solidworks"]
def __init__(self,repo,databases): BackendExporter.__init__(self,repo,databases) self.freecad = databases["freecad"]
def __init__(self,repo,databases): BackendExporter.__init__(self,repo,databases) self.freecad = databases["freecad"] self.openscad = databases["openscad"] self.drawings = databases["drawings"]