Skip to content

Instantly share code, notes, and snippets.

View marvk's full-sized avatar
🐧

Marvin marvk

🐧
View GitHub Profile
@marvk
marvk / crash_detection.py
Created November 14, 2020 16:34
Crash detection
import time
from ctypes import c_double, Structure, c_ulong
from pprint import pprint
from SimConnect import *
class WAYPOINT(Structure):
_fields_ = [
("Latitude", c_double),
import bpy
from mathutils import Vector
import csv
context = bpy.context
collection = context.collection
cuboids = []
with open('cuboids.csv') as csv_file:
Day Part 1 Part 2
1 16.9µs 22.8µs
2 13µs 11µs
3 320.3µs 606.8µs
4 299.3µs 302.2µs
5 729.1µs 753.5µs
6 206µs 1.1819ms
7 269.9µs 295.5µs
8 316.6µs 380µs