Boolean geometry utilities.
|
|
|
addToNamePathDictionary(directoryPath,
namePathDictionary)
Add to the name path dictionary. |
source code
|
|
|
getAbsoluteFolderPath(filePath,
folderName='
' )
Get the absolute folder path. |
source code
|
|
|
getAbsoluteFrozenFolderPath(filePath,
folderName='
' )
Get the absolute frozen folder path. |
source code
|
|
|
getDocumentationPath(subName='
' )
Get the documentation file path. |
source code
|
|
|
getElementsPath(subName='
' )
Get the evaluate_elements directory path. |
source code
|
|
|
getEndsWithList(word,
wordEndings)
Determine if the word ends with a list. |
source code
|
|
|
getFabmetheusPath(subName='
' )
Get the fabmetheus directory path. |
source code
|
|
|
getFabmetheusUtilitiesPath(subName='
' )
Get the fabmetheus utilities directory path. |
source code
|
|
|
getFileNamesByFilePaths(pluginFilePaths)
Get the file names of the plugins by the file paths. |
source code
|
|
|
getFilePaths(fileInDirectory='
' )
Get the file paths in the directory of the file in directory. |
source code
|
|
|
getFilePathsByDirectory(directoryName)
Get the file paths in the directory of the file in directory. |
source code
|
|
|
getFilePathsRecursively(fileInDirectory='
' )
Get the file paths in the directory of the file in directory. |
source code
|
|
|
getFilePathWithUnderscoredBasename(fileName,
suffix)
Get the file path with all spaces in the basename replaced with
underscores. |
source code
|
|
|
getFileText(fileName,
printWarning=True,
readMode=' r ' )
Get the entire text of a file. |
source code
|
|
|
getFileTextInFileDirectory(fileInDirectory,
fileName,
readMode=' r ' )
Get the entire text of a file in the directory of the file in
directory. |
source code
|
|
|
getFilesWithFileTypesWithoutWords(fileTypes,
words=[ ] ,
fileInDirectory='
' )
Get files which have a given file type, but with do not contain a
word in a list. |
source code
|
|
|
getFilesWithFileTypesWithoutWordsRecursively(fileTypes,
words=[ ] ,
fileInDirectory='
' )
Get files recursively which have a given file type, but with do not
contain a word in a list. |
source code
|
|
|
getFilesWithFileTypeWithoutWords(fileType,
words=[ ] ,
fileInDirectory='
' )
Get files which have a given file type, but with do not contain a
word in a list. |
source code
|
|
|
getFundamentalsPath(subName='
' )
Get the evaluate_fundamentals directory path. |
source code
|
|
|
getGeometryDictionary(folderName)
Get to the geometry name path dictionary. |
source code
|
|
|
getGeometryPath(subName='
' )
Get the geometry directory path. |
source code
|
|
|
getGeometryToolsPath(subName='
' )
Get the geometry tools directory path. |
source code
|
|
|
getGeometryUtilitiesPath(subName='
' )
Get the geometry_utilities directory path. |
source code
|
|
|
getJoinedPath(path,
subName='
' )
Get the joined file path. |
source code
|
|
|
getModuleWithDirectoryPath(directoryPath,
fileName)
Get the module from the fileName and folder name. |
source code
|
|
|
getModuleWithPath(path)
Get the module from the path. |
source code
|
|
|
getPluginFileNamesFromDirectoryPath(directoryPath)
Get the file names of the python plugins in the directory path. |
source code
|
|
|
getProfilesPath(subName='
' )
Get the profiles directory path, which is the settings directory
joined with profiles. |
source code
|
|
|
getPythonDirectoryNames(directoryName)
Get the python directories. |
source code
|
|
|
getPythonDirectoryNamesRecursively(directoryName='
' )
Get the python directories recursively. |
source code
|
|
|
getPythonFileNamesExceptInit(fileInDirectory='
' )
Get the python fileNames of the directory which the fileInDirectory
is in, except for the __init__.py file. |
source code
|
|
|
getPythonFileNamesExceptInitRecursively(directoryName='
' )
Get the python fileNames of the directory recursively, except for the
__init__.py files. |
source code
|
|
|
getSettingsPath(subName='
' )
Get the settings directory path, which is the home directory joined
with .skeinforge. |
source code
|
|
|
getSkeinforgePath(subName='
' )
Get the skeinforge directory path. |
source code
|
|
|
getSkeinforgePluginsPath(subName='
' )
Get the skeinforge plugins directory path. |
source code
|
|
|
getSummarizedFileName(fileName)
Get the fileName basename if the file is in the current working
directory, otherwise return the original full name. |
source code
|
|
|
getTemplatesPath(subName='
' )
Get the templates directory path. |
source code
|
|
|
getTextIfEmpty(fileName,
text)
Get the text from a file if it the text is empty. |
source code
|
|
|
getTextLines(text)
Get the all the lines of text of a text. |
source code
|
|
|
getUntilDot(text)
Get the text until the last dot, if any. |
source code
|
|
|
getVersionFileName()
Get the file name of the version
date.getFabmetheusUtilitiesPath(subName=) |
source code
|
|
|
isFileWithFileTypeWithoutWords(fileType,
fileName,
words)
Determine if file has a given file type, but with does not contain a
word in a list. |
source code
|
|
|
makeDirectory(directoryPath)
Make a directory if it does not already exist. |
source code
|
|
|
removeBackupFilesByType(fileType)
Remove backup files by type. |
source code
|
|
|
removeBackupFilesByTypes(fileTypes)
Remove backup files by types. |
source code
|
|
|
writeFileMessageEnd(end,
fileName,
fileText,
message)
Write to a fileName with a suffix and print a message. |
source code
|
|
|
writeFileText(fileName,
fileText,
writeMode=' w+ ' )
Write a text to a file. |
source code
|
|