Exemplo n.º 1
0
    def OnRunHKLs(self, evt):
        """Select HKLs to use for indexing"""
        exp = wx.GetApp().ws
        hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial)

        if hkls_dlg.ShowModal() == wx.ID_OK:
            exp.activeMaterial.planeData.exclusions = hkls_dlg.getExclusions()
            pass

        return
Exemplo n.º 2
0
    def OnRunHKLs(self, evt):
        """Select HKLs to use for indexing"""
        exp = wx.GetApp().ws
        hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial)

        if hkls_dlg.ShowModal() == wx.ID_OK:
            exp.activeMaterial.planeData.exclusions = hkls_dlg.getExclusions()
            pass

        return
Exemplo n.º 3
0
    def OnRunHKLs(self, evt):
        """Select HKLs to use for indexing"""
        exp = wx.GetApp().ws
        iopts = exp.index_opts
        pd = exp.activeMaterial.planeData

        hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial)

        if hkls_dlg.ShowModal() == wx.ID_OK:
            # pd.exclusions = hkls_dlg.getExclusions()
            iopts.fsHKLs = hkls_dlg.getTuples()
            print 'hkls: ', iopts.fsHKLs

        return
Exemplo n.º 4
0
    def OnRunHKLs(self, evt):
        """Select HKLs to use for indexing"""
        exp = wx.GetApp().ws
        iopts = exp.index_opts
        pd = exp.activeMaterial.planeData

        hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial)

        if hkls_dlg.ShowModal() == wx.ID_OK:
            # pd.exclusions = hkls_dlg.getExclusions()
            iopts.fsHKLs = hkls_dlg.getTuples()
            print 'hkls: ', iopts.fsHKLs

        return