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
Recv: ok 15 | |
Send: N16 G90*39 | |
Recv: X:0.00 Y:300.00 Z:0.000 E:0.0000 | |
Recv: ok 16 | |
Send: N17 M105*17 | |
Recv: ok 17 | |
Recv: T:27.37 /0 B:31.56 /0 B@:0 @:0 | |
Recv: wait | |
Recv: start | |
Recv: Transformation matrix: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 |
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
[...] | |
Send: N137 M105*34 | |
Recv: ok 137 | |
Recv: T:27.62 /0 B:31.93 /0 B@:0 @:0 | |
[...] | |
Send: N138 M105*45 | |
Recv: ok 138 | |
Recv: T:27.62 /0 B:31.83 /0 B@:0 @:0 | |
[...] | |
Recv: start |
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
2016-12-29 03:39:01,682 - octoprint.server - INFO - Shutting down... | |
2016-12-29 03:39:02,154 - octoprint.server - INFO - Goodbye! | |
2016-12-29 03:39:09,343 - octoprint.server - INFO - Starting OctoPrint 1.2.10 (master branch) | |
2016-12-29 03:39:09,377 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/.octoprint/plugins, /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.10-py2.7.egg/octoprint/plugins and installed plugin packages... | |
2016-12-29 03:39:09,693 - octoprint.plugin.core - INFO - Found 5 plugin(s) providing 5 mixin implementations, 2 hook handlers | |
2016-12-29 03:39:09,872 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads... | |
2016-12-29 03:39:09,877 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully. | |
2016-12-29 03:39:11,749 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 8.1.1 | |
2016-12-29 03:39:11,752 - octoprint.plugin.core - INFO - Initial |
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
using HoloToolkit.Unity.InputModule; | |
using UnityEngine; | |
public class HandPosDebug : MonoBehaviour, IManipulationHandler, ISourcePositionHandler | |
{ | |
Vector3 currentHandPosWorld; | |
Vector3 manipulationStartHandPosWorld; | |
public void OnManipulationCanceled(ManipulationEventData eventData) { } |
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
using Grasshopper.GUI.Canvas; | |
using Grasshopper.GUI.Script; | |
using Grasshopper.Kernel; | |
using Grasshopper.Kernel.Parameters; | |
using Grasshopper.Kernel.Parameters.Hints; | |
using ScriptComponents; | |
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Drawing.Drawing2D; |
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
'Rhino.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. | |
'Rhino.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Rhino 6\System\RhinoWindows.dll'. | |
'Rhino.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Rhino 6\System\RhinoCommon.dll'. | |
'Rhino.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Rhino 6\System\Rhino.UI.dll'. | |
'Rhino.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Rhino 6\System\Eto.dll'. Symbols loaded. | |
'Rhino.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll'. | |
'Rhino.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Rhino 6\System\Eto.Wpf.dll'. Symbols loaded. | |
'Rhino.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll'. | |
'Rhino.exe' (CLR |
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
private void _OnCurrentStateChanged(MyManipulationHandler.State oldstate, MyManipulationHandler.State newstate) | |
{ | |
if (!oldstate.HasFlag(MyManipulationHandler.State.Scaling) && newstate.HasFlag(MyManipulationHandler.State.Scaling)) | |
{ | |
_meshCollider = this.GetComponent<MeshCollider>(); | |
if (_meshCollider != null && _meshCollider.enabled) | |
{ | |
_meshCollider.enabled = false; | |
} | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
<ProjectGuid>{D2EC781E-7F4B-4FD8-9981-9FF150D3849D}</ProjectGuid> | |
<OutputType>Library</OutputType> | |
<RootNamespace>rhino_template</RootNamespace> | |
<AssemblyName>rhino_template</AssemblyName> | |
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
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
/// <summary> | |
/// https://stackoverflow.com/questions/56643325/how-can-i-simulate-hand-rays-on-hololens-1 | |
/// </summary> | |
public class HoloLens1ShellHandRayPointer : ShellHandRayPointer | |
{ | |
/// <summary> | |
/// Offset upwards to help with raycasting, so the user doesn't have to hold their hand quite as high. | |
/// </summary> | |
protected Vector3 HandOffset => new Vector3(0.00f, 0.2f, 0.00f); |
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
UnityTouchDeviceManager.cs | |
=============================== | |
UnityTouchDeviceManager.RemoveTouchController(Touch touch) | |
Issue: Does not update touch data, so when Controller.EndTouch is called the last phase is always moved/stationary rather than ended, so the funciton returns early. | |
Resolution: Update TouchData before calling EndTouch. | |
UnityTouchController.cs |
OlderNewer