Warping
Keep track of
- Camera look direction
- Use to calculate relative rotation to transform.rotation
- Move direction
- Use to calculate relative rotation to transform.forward
#!/usr/bin/python2 | |
# -*- coding: utf-8 -*- | |
import sys | |
import mechanize | |
import cookielib | |
import struct | |
import ssl | |
import base64 | |
import collections |
using UnityEngine; | |
public class HeadLook : MonoBehaviour | |
{ | |
[Header("Configs")] | |
[Range(0.0f, 1.0f)] | |
public float headLookWeight; | |
private Animator animator; | |
private Vector3 lookAtPosition; |
"modaledit.keybindings": { | |
"\n": [ | |
"lineBreakInsert", | |
"cursorDown", | |
"cursorHome" | |
], | |
" ": "modaledit.enterInsert", | |
"y": "removeSecondaryCursors", | |
// Selection mode on/off | |
"s": "modaledit.toggleSelection", |
M140 S{material_bed_temperature} ; set bed temp
M104 S{material_print_temperature} ; set hotend temp
G28 ; home
G1 X0 Y0 Z0.5 F6000 ; park head
M190 S{material_bed_temperature} ; wait for bed temp
#!/usr/bin/env python | |
from __future__ import print_function | |
import math | |
angle = math.radians(35) # Arm offset angle | |
t = math.tan(angle) # Store tangent |
Hardware prices from McMaster-Carr
2020 brackets, rails, belt, and pulleys from AnyCubic/Uxcel/similar on Amazon
Motors from StepperOnline
Bearings from VXB or similar
Qty | Item | Unit Cost | Total Cost |
---|
#!/usr/bin/env python | |
from __future__ import print_function | |
import math | |
Motor= ["X", "Y", "Z"] # Motor axes | |
class Vector: |
#!/usr/bin/env bash | |
while read line | |
do | |
iface=$(cut -d':' -f2 <<< $line | tr -d '[[:space:]]') | |
mtu=$(sed -nr 's/^.* mtu ([^ ]+) .*$/\1/p' <<< $line) | |
echo $iface: $mtu | |
if [[ "$mtu" -eq "8950" ]] |