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 SceneKit | |
import SceneKit.ModelIO | |
let documentsPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0] | |
func exportMesh(_ geometry: SCNGeometry, withName name:String, useTimestamp:Bool = false){ | |
// export geometry | |
let mesh = MDLMesh(scnGeometry: geometry) | |
let asset = MDLAsset(mesh.allocator) | |
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
### Keybase proof | |
I hereby claim: | |
* I am iwoj on github. | |
* I am iwoj (https://keybase.io/iwoj) on keybase. | |
* I have a public key ASAhWYmVWltAtN-Xwd7sYBA8TsFGOXLO9guS3SHEi3Mm7wo | |
To claim this, I am signing this object: |
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
var SC_URL = "http://localhost:8100"; | |
Meteor.startup(function () { | |
Meteor.setInterval(updateInfo, 10 * 1000); | |
}); | |
function updateInfo() { | |
var result = Meteor.http.get(SC_URL+"/info"); | |
} |
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
Error: A method named '/todos/insert' is already defined | |
at app/packages/livedata/livedata_server.js:733:15 | |
at Function.<anonymous> (app/packages/underscore/underscore.js:84:24) | |
at [object Object].methods (app/packages/livedata/livedata_server.js:731:7) | |
at new <anonymous> (app/packages/mongo-livedata/collection.js:111:13) | |
at app/todo.js:4:9 | |
at /home/todos/Website/.meteor/local/build/server/server.js:111:21 | |
at Array.forEach (native) | |
at Function.<anonymous> (/home/todos/Website/.meteor/local/build/server/underscore.js:76:11) | |
at /home/todos/Website/.meteor/local/build/server/server.js:97:7 |