algorithmic modeling for Rhino

Masaaki Miki's Blog (3)

Multiquadric surface

I posted a Python implementation of multiquadric surface that was first presented by Hardy in 1971.

Added by Masaaki Miki on November 22, 2014 at 8:04pm — 1 Comment

Unexpected behavior in Rhino.Geometry.Plane(a,b,c,d)

Rhino.Common documents said Rhino.Geometry.Plane(a,b,c,d) creates ax+by+cz=d, but, it seems like to create 1/N(ax+by+cz)=d, where N=Sqrt(a*a+b*b+c*c).

The problem is, d is not divided by N. When (a,b,c) is not normalized vector, the returned plane is different from expectation.

Added by Masaaki Miki on February 25, 2014 at 4:56am — 1 Comment

Parallel execution

Parallel Linq seems not to be available in Grasshopper components. I found Reactive Extensions Experimental here,  Just run Observable.ForkJoin(Action1,Action2,...).First(); so that Actions are executed in parallel. (Is this popular?)

Added by Masaaki Miki on September 13, 2012 at 9:16am — No Comments





  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service