python_code stringlengths 0 992k | repo_name stringlengths 8 46 | file_path stringlengths 5 162 |
|---|---|---|
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
History:
Ninad 2008-01-25: Split modifyMode into Commmand and GraphicsMode classes
and also refactored the GraphicsMode to create indiviudal
... | NanoCAD-master | cad/src/commands/Translate/TranslateChunks_GraphicsMode.py |
NanoCAD-master | cad/src/commands/Translate/__init__.py | |
# Copyright 2008 Nanorex, Inc. See LICENSE file for details.
"""
TranslateChunks_Command.py
@author: Ninad
@copyright: 2008 Nanorex, Inc. See LICENSE file for details.
@version: $Id$
History:
NOTE:
As of 2008-01-25, this command is not yet used, however its graphics mode class
(TranslateChunks_GraphicsMode) is use... | NanoCAD-master | cad/src/commands/Translate/TranslateChunks_Command.py |
# Copyright 2005-2007 Nanorex, Inc. See LICENSE file for details.
"""
$Id$
"""
from PyQt4 import QtCore, QtGui
class Ui_ChunkPropDialog(object):
def setupUi(self, ChunkPropDialog):
ChunkPropDialog.setObjectName("ChunkPropDialog")
ChunkPropDialog.resize(QtCore.QSize(QtCore.QRect(0,0,243,354).size(... | NanoCAD-master | cad/src/commands/ChunkProperties/ChunkPropDialog.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
ChunkProp.py
@author: Mark
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
History: Original code from MoleculeProps.py and cleaned up by Mark.
"""
from PyQt4 import QtGui
from PyQt4.Qt import QDialog, SIGNAL, QC... | NanoCAD-master | cad/src/commands/ChunkProperties/ChunkProp.py |
NanoCAD-master | cad/src/commands/ChunkProperties/__init__.py | |
NanoCAD-master | cad/src/commands/PlaneProperties/__init__.py | |
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
Plane_EditCommand.py
@author: Ninad
@copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details.
@version: $Id$
History:
ninad 20070606: Created.
ninad 2007-10-05: Refactored, Also renamed PlaneGenerator to Plane_EditCommand
... | NanoCAD-master | cad/src/commands/PlaneProperties/Plane_EditCommand.py |
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
@author: Ninad
@copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details.
@version:$Id$
History:
ninad 20070602: Created.
Summer 2008: Urmi and Piotr added code to support image display and grid display
within Plane objects.
... | NanoCAD-master | cad/src/commands/PlaneProperties/PlanePropertyManager.py |
NanoCAD-master | cad/src/commands/PovraySceneProperties/__init__.py | |
# -*- coding: utf-8 -*-
# Copyright 2006-2008 Nanorex, Inc. See LICENSE file for details.
"""
PovrayScenePropDialog.py
Note: this file is not presently used in NE1 (as of before 080515).
@author: Mark
@version: $Id$
@copyright: 2006-2008 Nanorex, Inc. See LICENSE file for details.
History:
This used to be made by... | NanoCAD-master | cad/src/commands/PovraySceneProperties/PovrayScenePropDialog.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
PovraySceneProp.py - the PovraySceneProp class, including all methods
needed by the POV-Ray Scene dialog.
@author: Mark
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
History:
mark 060602 - Created for NFR: "Ins... | NanoCAD-master | cad/src/commands/PovraySceneProperties/PovraySceneProp.py |
NanoCAD-master | cad/src/commands/Fuse/__init__.py | |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
FuseChunks_GraphicsMode.py
@author: Mark
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
History:
Originally by Mark as class 'fuseChunksMode'.
Ninad 2008-01-25: Split Command and GraphicsMode classes
... | NanoCAD-master | cad/src/commands/Fuse/FuseChunks_GraphicsMode.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
FuseChunks_Command.py
@author: Mark
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
History:
Originally by Mark as class 'fuseChunksMode'.
Ninad 2008-01-25: Split Command and GraphicsMode classes
... | NanoCAD-master | cad/src/commands/Fuse/FuseChunks_Command.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
fusechunksMode.py - helpers for Fuse Chunks command and related functionality
NOTE: the only class defined herein is fusechunksBase, so this module
should be renamed.
@author: Mark
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE fi... | NanoCAD-master | cad/src/commands/Fuse/fusechunksMode.py |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
FusePropertyManager.py
@author: Ninad
@version: $Id$
@copyright:2004-2007 Nanorex, Inc. All rights reserved.
History:
ninad070425 :1) Moved Fuse dashboard to Property manager
2) Implemented Translate/ Rotate enhancements
ninad2007072... | NanoCAD-master | cad/src/commands/Fuse/FusePropertyManager.py |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
An example of a structure generator's user interface
meant to be a template for developers.
The AtomGeneratorDialog class is an example of how PropMgrBaseClass
is used to build a structure generator's user interface (dialog) in
NanoEngineer-1. The... | NanoCAD-master | cad/src/commands/BuildAtom/AtomGeneratorPropertyManager.py |
NanoCAD-master | cad/src/commands/BuildAtom/__init__.py | |
# Copyright 2006-2007 Nanorex, Inc. See LICENSE file for details.
"""
AtomGenerator.py - an example of a structure generator class meant
to be a template for developers.
The AtomGenerator class is an example of how a structure generator is
implemented for NanoEngineer-1. The key points of interest are the
methods: ... | NanoCAD-master | cad/src/commands/BuildAtom/AtomGenerator.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
BuildCrystal_Command.py
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
History:
Note: Till Alpha8, this mode was called Cookie Cutter mode. In Alpha9
it has been renamed to 'Build Crystal' mode. -- ninad 2007051... | NanoCAD-master | cad/src/commands/BuildCrystal/BuildCrystal_Command.py |
# Copyright 2005-2008 Nanorex, Inc. See LICENSE file for details.
"""
BuildCrystal_PropertyManager.py
Class used for the GUI controls for the BuildCrystal_Command.
@version: $Id$
@copyright: 2005-2008 Nanorex, Inc. See LICENSE file for details.
History:
Note: Till Alpha8, this command was called Cookie Cutter mode... | NanoCAD-master | cad/src/commands/BuildCrystal/BuildCrystal_PropertyManager.py |
NanoCAD-master | cad/src/commands/BuildCrystal/__init__.py | |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
CrystalShape.py -- handle freehand curves for crystal-cutting (?)
@author: Huaicai, maybe others
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
History:
bruce 071215 split class CrystalShape out of shape.py into... | NanoCAD-master | cad/src/commands/BuildCrystal/CrystalShape.py |
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
Ui_BuildCrystal_PropertyManager.py
@author: Ninad
@version:$Id$
UI file for Crystal Property Manager. e.g. UI for groupboxes
(and its contents), button rows etc.
History:
- These options appeared in formerly 'cookie cutter dashboard' till Alpha8... | NanoCAD-master | cad/src/commands/BuildCrystal/Ui_BuildCrystal_PropertyManager.py |
NanoCAD-master | cad/src/commands/GroupProperties/__init__.py | |
# -*- coding: utf-8 -*-
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
# Form implementation generated from reading ui file 'GroupPropDialog.ui'
#
# Created: Wed Sep 20 07:22:13 2006
# by: PyQt4 UI code generator 4.0.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import... | NanoCAD-master | cad/src/commands/GroupProperties/GroupPropDialog.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
GroupProp.py
$Id$
"""
import sys
from PyQt4.Qt import QDialog, QListWidgetItem, SIGNAL
from commands.GroupProperties.GroupPropDialog import Ui_GroupPropDialog
from geometry.VQT import V
class Statistics:
def __init__(self, group):
#... | NanoCAD-master | cad/src/commands/GroupProperties/GroupProp.py |
NanoCAD-master | cad/src/commands/SelectChunks/__init__.py | |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
SelectChunks_GraphicsMode.py
The GraphicsMode part of the SelectChunks_Command. It provides the graphicsMode
object for its Command class. The GraphicsMode class defines anything related to
the *3D Graphics Area* --
For example:
- Anything related... | NanoCAD-master | cad/src/commands/SelectChunks/SelectChunks_GraphicsMode.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
SelectChunks_Command.py
The 'Command' part of the Select Chunks Mode (SelectChunks_Command and
SelectChunks_basicGraphicsMode are the two split classes of the old
selectMolsMode) It provides the command object for its GraphicsMode class.
The Comma... | NanoCAD-master | cad/src/commands/SelectChunks/SelectChunks_Command.py |
# Copyright 2006-2009 Nanorex, Inc. See LICENSE file for details.
"""
GrapheneGenerator.py
@author: Will
@version: $Id$
@copyright: 2006-2009 Nanorex, Inc. See LICENSE file for details.
History:
Mark 2007-05-17: Implemented PropMgrBaseClass.
Mark 2007-07-24: Now uses new PM module.
Mark 2007-08-06: Renamed Graphen... | NanoCAD-master | cad/src/commands/InsertGraphene/GrapheneGenerator.py |
NanoCAD-master | cad/src/commands/InsertGraphene/__init__.py | |
# Copyright 2008 Nanorex, Inc. See LICENSE file for details.
"""
Graphene_EditCommand.py
@author: Ninad
@copyright: 2008 Nanorex, Inc. See LICENSE file for details.
@version: $Id$
History:
2008-07-22: Ported the old graphene generator to the Editcommand API
TODO:
- Needs cleanup after command sequencer refactoring... | NanoCAD-master | cad/src/commands/InsertGraphene/Graphene_EditCommand.py |
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
@author: Mark
@version:$Id$
History:
Mark 2007-05-17: This used to be generated from its .ui file. Now it uses PropMgrBaseClass
to construct its property manager dialog.
Mark 2007-07-24: Now uses new PM module.
Mark 2007-08-06: Renamed GrapheneG... | NanoCAD-master | cad/src/commands/InsertGraphene/GrapheneGeneratorPropertyManager.py |
NanoCAD-master | cad/src/commands/CommentProperties/__init__.py | |
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
CommentProp.py -
@author: Mark
@version: $Id$
@copyright: 2004-2008 Nanorex, Inc. See LICENSE file for details.
History:
060520 mark: New feature for Alpha 8. Stores a comment in the MMP file,
accessible from the Model Tree as a node.
060522 br... | NanoCAD-master | cad/src/commands/CommentProperties/CommentProp.py |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'COmmentPropDialog.ui'
#
# Created: Thu Aug 07 18:04:11 2008
# by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_CommentPropDialog(object):
def setup... | NanoCAD-master | cad/src/commands/CommentProperties/CommentPropDialog.py |
NanoCAD-master | cad/src/commands/ColorScheme/__init__.py | |
# Copyright 2008 Nanorex, Inc. See LICENSE file for details.
"""
ColorScheme_PropertyManager.py
The ColorScheme_PropertyManager class provides a Property Manager
for choosing various colors (example: background)
@author: Urmi
@version: $Id$
@copyright: 2008 Nanorex, Inc. See LICENSE file for details.
To do:
- Sav... | NanoCAD-master | cad/src/commands/ColorScheme/ColorScheme_PropertyManager.py |
# Copyright 2008 Nanorex, Inc. See LICENSE file for details.
"""
@author: Urmi
@version: $Id$
@copyright: 2008 Nanorex, Inc. See LICENSE file for details.
"""
import foundation.changes as changes
from commands.SelectChunks.SelectChunks_GraphicsMode import SelectChunks_GraphicsMode
from command_support.EditComma... | NanoCAD-master | cad/src/commands/ColorScheme/ColorScheme_Command.py |
# Copyright 2006-2009 Nanorex, Inc. See LICENSE file for details.
"""
CoNTubGenerator.py - Generator functions which use cad/plugins/CoNTub.
@author: Bruce
@version: $Id$
@copyright: 2006-2009 Nanorex, Inc. See LICENSE file for details.
Also intended as a prototype of code which could constitute the nE-1 side
of a ... | NanoCAD-master | cad/src/commands/InsertHeterojunction/CoNTubGenerator.py |
NanoCAD-master | cad/src/commands/InsertHeterojunction/__init__.py | |
NanoCAD-master | cad/src/commands/ElementColors/__init__.py | |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
elementColors.py - dialog for changing element color table; related functions
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
from PyQt4.Qt import QDialog
from PyQt4.Qt import SIGNAL
from PyQt4.Qt import QVBox... | NanoCAD-master | cad/src/commands/ElementColors/elementColors.py |
# -*- coding: utf-8 -*-
# Copyright 2005-2007 Nanorex, Inc. See LICENSE file for details.
# Form implementation generated from reading ui file 'ElementColorsDialog.ui'
#
# Created: Wed Sep 20 10:09:44 2006
# by: PyQt4 UI code generator 4.0.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 im... | NanoCAD-master | cad/src/commands/ElementColors/ElementColorsDialog.py |
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
ExtrudePropertyManager.py - Property Manager for
B{Extrude mode}. The UI is defined in L{Ui_ExtrudePropertyManager}
@version: $Id$
@copyight: 2004-2008 Nanorex, Inc. See LICENSE file for details.
History:
ninad 2007-01-10: Split the ui code out... | NanoCAD-master | cad/src/commands/Extrude/ExtrudePropertyManager.py |
NanoCAD-master | cad/src/commands/Extrude/__init__.py | |
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
Ui_ExtrudePropertyManager.py - UI elements for the B{Extrude Mode} Property
Manager.
@version: $Id$
@copyight: 2004-2008 Nanorex, Inc. See LICENSE file for details.
History:
ninad 2007-01-10: Split the ui code out of extrudeMode while converting... | NanoCAD-master | cad/src/commands/Extrude/Ui_ExtrudePropertyManager.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
extrudeMode.py - Extrude mode, including its internal "rod" and "ring" modes.
Unfinished [as of 050518], especially ring mode.
@author: Bruce
@version: $Id$
@copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details.
History:
by bruce, 040... | NanoCAD-master | cad/src/commands/Extrude/extrudeMode.py |
#Copyright 2007 Nanorex, Inc. See LICENSE file for details.
"""
PartLibPropertyManager.py
The PartLibPropertyManager class provides the Property Manager for the
B{Partlib mode}. It lists the parts in the partlib and also shows the
current selected part in its 'Preview' box.
@author: Ninad
@version: $Id$
@copyright: ... | NanoCAD-master | cad/src/commands/PartLibrary/PartLibPropertyManager.py |
NanoCAD-master | cad/src/commands/PartLibrary/__init__.py | |
# Copyright 2006-2008 Nanorex, Inc. See LICENSE file for details.
"""
@author: Ninad
@copyright: 2006-2008 Nanorex, Inc. See LICENSE file for details.
@version:$Id$
History:
TODO:
"""
import foundation.env as env
from utilities.Log import orangemsg
from commands.Paste.PasteFromClipboard_GraphicsMode import PasteF... | NanoCAD-master | cad/src/commands/PartLibrary/PartLibrary_GraphicsMode.py |
#Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
PartLibrary_Command.py
Class PartLibrary_Command allows depositing parts from the partlib into the 3D
workspace.Its property manager shows the current selected part in its 'Preview'
box. The part can be deposited by doubleclicking on empty space in ... | NanoCAD-master | cad/src/commands/PartLibrary/PartLibrary_Command.py |
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
LinearMotor_EditCommand.py
@author: Ninad
@copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details.
@version: $Id$
History:
ninad 2007-10-09: Created.
"""
import foundation.env as env
from utilities.Log import redmsg, greenmsg, orangem... | NanoCAD-master | cad/src/commands/LinearMotorProperties/LinearMotor_EditCommand.py |
NanoCAD-master | cad/src/commands/LinearMotorProperties/__init__.py | |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
LinearMotorPropertyManager.py
@author: Ninad
@version: $Id$
@copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details.
History:
ninad 2007-10-11: Created, deprecating the LinearMototorPropDialog.py
"""
from PyQt4.Qt import SIGNAL
from PM... | NanoCAD-master | cad/src/commands/LinearMotorProperties/LinearMotorPropertyManager.py |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
RotaryMotorPropertyManager.py
@author: Mark
@version: $Id$
@copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details.
History:
Mark 2007-05-28: Created as RotaryMotorGeneratorDialog.py
Ninad 2007-10-09:
- Deprecated RotaryMotorGene... | NanoCAD-master | cad/src/commands/RotaryMotorProperties/RotaryMotorPropertyManager.py |
# Copyright 2007 Nanorex, Inc. See LICENSE file for details.
"""
RotaryMotor_EditCommand.py
@author: Ninad
@copyright: 2007 Nanorex, Inc. See LICENSE file for details.
@version: $Id$
History:
ninad 2007-10-09: Created. This deprecates 'RotoryMotorGenerator'
"""
import foundation.env as env
from utilities.Log imp... | NanoCAD-master | cad/src/commands/RotaryMotorProperties/RotaryMotor_EditCommand.py |
NanoCAD-master | cad/src/commands/RotaryMotorProperties/__init__.py | |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
GridPlaneProp.py
$Id$
"""
from PyQt4.Qt import QDialog
from PyQt4.Qt import QWidget
from PyQt4.Qt import SIGNAL
from PyQt4.Qt import QColorDialog
from commands.GridPlaneProperties.GridPlanePropDialog import Ui_GridPlanePropDialog
from widgets.wid... | NanoCAD-master | cad/src/commands/GridPlaneProperties/GridPlaneProp.py |
NanoCAD-master | cad/src/commands/GridPlaneProperties/__init__.py | |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'GridPlanePropDialog.ui'
#
# Created: Tue Feb 12 00:08:03 2008
# by: PyQt4 UI code generator 4.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_GridPlanePropDialog(object):
def set... | NanoCAD-master | cad/src/commands/GridPlaneProperties/GridPlanePropDialog.py |
NanoCAD-master | cad/src/commands/QuteMol/__init__.py | |
# Copyright 2008 Nanorex, Inc. See LICENSE file for details.
"""
QuteMol_Command.py
@author: Ninad
@copyright: 2008 Nanorex, Inc. See LICENSE file for details.
@version: $Id$
History:
2008-07-24 : Created
TODO:
"""
import foundation.changes as changes
from commands.SelectChunks.SelectChunks_Command import SelectCh... | NanoCAD-master | cad/src/commands/QuteMol/QuteMol_Command.py |
# Copyright 2007 Nanorex, Inc. See LICENSE file for details.
"""
QuteMolPropertyManager.py
A Property Manager command supporting external rendering by QuteMolX.
@author: Mark
@copyright: 2007 Nanorex, Inc. See LICENSE file for details.
@version: $Id$
History:
mark 20071202: Created.
"""
from PyQt4.Qt import SIGN... | NanoCAD-master | cad/src/commands/QuteMol/QuteMolPropertyManager.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
Select_Command.py
The 'Command' part of the Select Mode (Select_basicCommand and
Select_basicGraphicsMode are the two split classes of the old selectMode)
It provides the command object for its GraphicsMode class. The Command class
defines anything... | NanoCAD-master | cad/src/commands/Select/Select_Command.py |
NanoCAD-master | cad/src/commands/Select/__init__.py | |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
Select_GraphicsMode_MouseHelpers_preMixin.py
Mixin class for the Select_basicGraphicsMode. The only purpose of creating this
mixin class was for easy understanding of the code in Select_basicGraphicsMode
As the name suggest, this mixin class overr... | NanoCAD-master | cad/src/commands/Select/Select_GraphicsMode_MouseHelpers_preMixin.py |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
Select_GraphicsMode.py
The GraphicsMode part of the Select_Command. It provides the graphicsMode
object for its Command class. The GraphicsMode class defines anything
related to the *3D Graphics Area* --
For example:
- Anything related to graphics (... | NanoCAD-master | cad/src/commands/Select/Select_GraphicsMode.py |
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
selectMode.py -- Select Chunks and Select Atoms modes,
also used as superclasses for some other modes
@version: $Id$
@copyright: 2004-2008 Nanorex, Inc. See LICENSE file for details.
- Ninad 070216 moved selectAtomsMode and selectMolsMode out of ... | NanoCAD-master | cad/src/commands/Select/selectMode.py |
# Copyright 2008 Nanorex, Inc. See LICENSE file for details.
"""
StereoProperties_PropertyManager.py
The StereoProperties_PropertyManager class provides a Property Manager
for the Stereo View command.
@author: Piotr
@version: $Id$
@copyright: 2008 Nanorex, Inc. See LICENSE file for details.
"""
import foundation.... | NanoCAD-master | cad/src/commands/StereoProperties/StereoProperties_PropertyManager.py |
# Copyright 2008 Nanorex, Inc. See LICENSE file for details.
"""
@author: Piotr
@version: $Id$
@copyright: 2008 Nanorex, Inc. See LICENSE file for details.
"""
from commands.SelectChunks.SelectChunks_GraphicsMode import SelectChunks_GraphicsMode
from commands.SelectChunks.SelectChunks_Command import SelectChunk... | NanoCAD-master | cad/src/commands/StereoProperties/StereoProperties_Command.py |
NanoCAD-master | cad/src/commands/StereoProperties/__init__.py | |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'MinimizeEnergyPropDialog.ui'
#
# Created: Fri Jun 06 11:55:35 2008
# by: PyQt4 UI code generator 4.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_MinimizeEnergyPropDialog(object):
... | NanoCAD-master | cad/src/commands/MinimizeEnergy/MinimizeEnergyPropDialog.py |
# Copyright 2007 Nanorex, Inc. See LICENSE file for details.
"""
whatsThis_for_MinimizeEnergyDialog.py
This file provides functions for setting the "What's This" and tooltip text
for widgets in the NE1 Minimize Energy dialog only.
Edit WhatsThisText_for_MainWindow.py to set "What's This" and tooltip text
for widgets... | NanoCAD-master | cad/src/commands/MinimizeEnergy/WhatsThisText_for_MinimizeEnergyDialog.py |
NanoCAD-master | cad/src/commands/MinimizeEnergy/__init__.py | |
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
MinimizeEnergyProp.py - the MinimizeEnergyProp class, including all
methods needed by the Minimize Energy dialog.
@author: Mark
@version: $Id$
@copyright: 2004-2008 Nanorex, Inc. See LICENSE file for details.
History:
mark 060705 - Created for A... | NanoCAD-master | cad/src/commands/MinimizeEnergy/MinimizeEnergyProp.py |
# Copyright 2005-2008 Nanorex, Inc. See LICENSE file for details.
"""
@copyright: 2005-2008 Nanorex, Inc. See LICENSE file for details.
@version:$Id$
History:
Ninad 2008-08-04: Created by splitting PasteFromClipboard_Command class into command and
GraphicsMode.
TODO:
"""
from commands.BuildAtoms.BuildAtoms_Graphic... | NanoCAD-master | cad/src/commands/Paste/PasteFromClipboard_GraphicsMode.py |
# Copyright 2007 Nanorex, Inc. See LICENSE file for details.
"""
PastePropertyManager.py
The PastePropertyManager class provides the Property Manager for the
B{Paste mode}.
@author: Ninad
@version: $Id$
@copyright: 2007 Nanorex, Inc. See LICENSE file for details.
History:
ninad 2007-08-29: Created to support new '... | NanoCAD-master | cad/src/commands/Paste/PastePropertyManager.py |
NanoCAD-master | cad/src/commands/Paste/__init__.py | |
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
PasteFromClipboard_Command.py
PasteFromClipboard_Command allows depositing clipboard items into the 3D workspace.
Its property manager lists the'pastable' clipboard items and also shows the
current selected item in its 'Preview' box. User can retur... | NanoCAD-master | cad/src/commands/Paste/PasteFromClipboard_Command.py |
NanoCAD-master | cad/src/commands/ThermostatProperties/__init__.py | |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
StatProp.py - edit properties of Thermostat jig
$Id$
"""
from PyQt4 import QtGui
from PyQt4.Qt import QDialog
from PyQt4.Qt import SIGNAL
from PyQt4.Qt import QColorDialog
from commands.ThermostatProperties.StatPropDialog import Ui_StatPropDialog
... | NanoCAD-master | cad/src/commands/ThermostatProperties/StatProp.py |
# -*- coding: utf-8 -*-
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
# Form implementation generated from reading ui file 'StatPropDialog.ui'
#
# Created: Wed Sep 20 09:07:17 2006
# by: PyQt4 UI code generator 4.0.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import ... | NanoCAD-master | cad/src/commands/ThermostatProperties/StatPropDialog.py |
# Copyright 2008 Nanorex, Inc. See LICENSE file for details.
"""
InternalCoordinatesToCartesian.py
@author: EricM from code by Piotr
@version:$Id$
@copyright: 2008 Nanorex, Inc. See LICENSE file for details.
"""
from geometry.VQT import V
from Numeric import zeros, Float, cos, sin, sqrt, pi
DEG2RAD = (pi/180.0)... | NanoCAD-master | cad/src/geometry/InternalCoordinatesToCartesian.py |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
geometry.py -- miscellaneous purely geometric routines.
@author: Josh
@version: $Id$
@copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details.
History:
- Made by bruce 060119 from code (mostly by Josh) split out of other files.
"""
# N... | NanoCAD-master | cad/src/geometry/geometryUtilities.py |
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details.
"""
NeighborhoodGenerator.py -- linear time way to find overlapping or nearby atoms.
@author: Will
@version: $Id$
@copyright: 2004-2008 Nanorex, Inc. See LICENSE file for details.
History:
Will wrote this in bonds.py for use in bond inference.
Bruc... | NanoCAD-master | cad/src/geometry/NeighborhoodGenerator.py |
NanoCAD-master | cad/src/geometry/__init__.py | |
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details.
"""
VQT.py - Vectors, Quaternions, and [no longer in this file] Trackballs
Vectors are a simplified interface to the Numeric arrays.
A relatively full implementation of Quaternions
(but note that we use the addition operator to multiply them).
@autho... | NanoCAD-master | cad/src/geometry/VQT.py |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
BoundingBox.py
@author: Josh
@version:$Id$
@copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details.
History:
This class BBox was originally in shape.py. Moved to its own module on
2007-10-17.
Module classification: [bruce 080103]
This... | NanoCAD-master | cad/src/geometry/BoundingBox.py |
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
Slab.py - a slab in space, with a 3d-point-in-slab test
@author: not sure; could be found from svn/cvs annotate
@version: $Id$
@copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details.
Module classification: geometry
Note: bruce 071215 s... | NanoCAD-master | cad/src/geometry/Slab.py |
NanoCAD-master | cad/src/dna/__init__.py | |
NanoCAD-master | cad/src/dna/DnaSequenceEditor/__init__.py | |
# Copyright 2007 Nanorex, Inc. See LICENSE file for details.
"""
Ui_DnaSequenceEditor.py
@author: Ninad
@copyright: 2007 Nanorex, Inc. See LICENSE file for details.
@version:$Id$
History:
Ninad 2007-11-28: Created.
TODO:
- NFR: Add "Position" field.
- NFR: Add "Accept" and "Cancel" checkboxes to take/abort the new... | NanoCAD-master | cad/src/dna/DnaSequenceEditor/Ui_DnaSequenceEditor.py |
# Copyright 2007 Nanorex, Inc. See LICENSE file for details.
"""
DnaSequenceEditor.py
@copyright: 2007 Nanorex, Inc. See LICENSE file for details.
@version:$Id$
History:
Ninad 2007-11-20: Created.
NOTE: Methods such as _sequenceChanged, _stylizeSequence are copied from the old
DnaGeneratorPropertyManager whe... | NanoCAD-master | cad/src/dna/DnaSequenceEditor/DnaSequenceEditor.py |
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
dna_updater_constants.py -- constants for dna_updater
@author: Bruce
@version: $Id$
@copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
# note: the debug flags that were in this file
# have been moved into utilities.debug_flags ... | NanoCAD-master | cad/src/dna/updater/dna_updater_constants.py |
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
dna_updater_atoms.py - enforce rules on newly changed PAM atoms and bonds
@author: Bruce
@version: $Id$
@copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
from utilities.constants import noop as STUB_FUNCTION # FIX all uses
fr... | NanoCAD-master | cad/src/dna/updater/dna_updater_atoms.py |
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
dna_updater_follow_strand.py - helper function for dna_updater_ladders.
@author: Bruce
@version: $Id$
@copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
from utilities.constants import noop
_FAKE_AXIS_FOR_BARE_STRANDS = [1]
... | NanoCAD-master | cad/src/dna/updater/dna_updater_follow_strand.py |
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details.
"""
dna_updater_prefs.py - access to preferences settings affecting the dna updater
@author: Bruce
@version: $Id$
@copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details.
History:
bruce 080317 revised many debug_pref menu texts, prefs_keys,... | NanoCAD-master | cad/src/dna/updater/dna_updater_prefs.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.