This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy, math | |
object_file = "%%OBJ%%" # complete path | |
output_file = "%%PNG%%" # use "//filename.ext" for local path | |
# Clean canvas | |
for object in bpy.data.objects: | |
object.select = True | |
bpy.ops.object.delete() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* save_experiment.php | |
* Created by James Mardell <james.mardell@imperial.ac.uk> | |
* Saves any HTTP post data sent to the script to a local CSV file. | |
* Do NOT use this in production. It's hideously insecure. | |
* The directory where the results file is saved requires 'other writeable' (o+w) permissions. | |
*/ | |
// Configuration | |
$results_file = 'data.csv'; |
NewerOlder