I hereby claim:
- I am didimitrie on github.
- I am didi (https://keybase.io/didi) on keybase.
- I have a public key ASB66XA4Nnfav-63AnMePV8wGz5kZBq5Z0NX75_XPBrS9wo
To claim this, I am signing this object:
namespace SpeckleNMT_Converter { | |
public static class SpeckleTypeExtensions | |
{ | |
// will add a .ToSpeckle() method on RobertPoints | |
public static SpecklePoint ToSpeckle(this RobertPoint point) | |
{ | |
return new SpecklePoint() { X = point.X, Y = point.Y, Z = point.Z }; | |
} |
{ | |
"type": "Abstract", | |
"_type": "Bar", | |
"_assembly": "BHoM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", | |
"hash": "421539b3937bf5bf22e46ce3480e89b0", | |
"geometryHash": "Abstract.15842c68c163", | |
"properties": { | |
"StructuralUsage": 4, | |
"FEAType": 0, | |
"StartNode": {"type":"Abstract","_type":"Node","_assembly":"BHoM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null","hash":"491f3198189eb9b4a87b465ca590e2e5","geometryHash":"Abstract.77a8f3e733bc","properties":{"Point":{"type":"Abstract","_type":"Point","_assembly":"BHoM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null","hash":"a51fa033463d7fab69b965d38f8aa018","geometryHash":"Abstract.8e3f2427d91c","properties":{"X":0.0,"Y":0.0,"Z":0.0}},"BHoM_Guid":"a0fe97da-8c90-4242-9dc1-10f912fd3729","Name":"","Tags":[],"CustomData":{}}}, |
var pt1 = new RobertPoint(0, 0, 0); | |
var pt2 = new RobertPoint(10, 10, 20); | |
var line = new RobertLine(pt1, pt2); | |
var polyline = new RobertPolyline(); | |
polyline.Points.AddRange(new RobertPoint[] { pt1, pt2, pt1, pt2, pt1 }); | |
// These two objects, the `line` and the `polyline`, are here: https://s003.speckle.works/api/streams/r1OvjpXNf/objects | |
// To note: because this is a temporary .dll, the assembly name is random. |
int[] layerCounts = Enumerable.Repeat(0, Rhino.RhinoDoc.ActiveDoc.Layers.Count - 1).ToArray(); | |
foreach(var obj in Rhino.RhinoDoc.ActiveDoc.Objects) | |
layerCounts[obj.Attributes.LayerIndex]++; | |
A = layerCounts; |
// get your slider object | |
GH_NumberSlider mySlider = myobj as GH_NumberSlider; | |
// set min max | |
mySlider.Slider.Minimum = your_min_val; | |
mySlider.Slider.Maximum = your_max_val; | |
// set value | |
mySlider.SetSliderValue(your_actual_value); |
I hereby claim:
To claim this, I am signing this object:
SPK.render = function() { | |
requestAnimationFrame( SPK.render ); | |
TWEEN.update(); | |
SPK.VIEWER.renderer.render(SPK.VIEWER.scene, SPK.VIEWER.camera); | |
if( SPK.takesScreenshot ) { | |
SPK.takesScreenshot = false; |
1. http://basegui.de | |
2. https://github.com/ButaneCSS/butanecss | |
3. http://juicedcss.com | |
4. http://bowlingx.github.io/flexcss | |
5. http://codepen.io/geoffyuen/pen/ogrPbZ | |
6. https://github.com/meerita/flexsasscandy | |
7. http://getmdl.io/components/index.html#layout-section/grid | |
8. https://kevinpy.com/Projects/Flexo | |
9. http://philippkuehn.github.io/gridilydidily | |
10. http://stylusgrid.com |
server { | |
listen 80; | |
server_name *.grav.dev; | |
root /home/www/grav.dev; | |
index index.html index.htm index.php; | |
charset utf-8; | |
location /user { | |
rewrite ^/user/accounts/(.*)$ /error redirect; |
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
<polymer-element name="my-element"> | |
<template> |