-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathovito-testing.py
More file actions
25 lines (23 loc) · 820 Bytes
/
ovito-testing.py
File metadata and controls
25 lines (23 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## My ovito scripts!!!! Tara Boland 05/25/2018
# for usage please call python, this script and follow it by the -h or --help option
import ovito
import path_append
import module_test_function as mtf
# ovito data source: loading files
from ovito.io import *
# ovito modifiers
from ovito.modifiers import *
import os
import sys
import subprocess
import logging
from optparse import OptionParser
# greetings
print("Hello, this is OVITO %i.%i.%i" % ovito.version)
# create the help & usage information for the script
parser = OptionParser()
parser.add_option("-o","--output",dest="output",help="Print preflight check data to file", metavar="FILE")
#parser.add_option("-g",dest="","","")
#modifier = HistogramModifier(bin_count=100, particle_property="Potential Energy")
#node.modifiers.append(modifier)
#node.compute()