Rhino PyCharm autocomplete

Rhino Mac PyCharm autocomplete

Here is how I set up my PyCharm IDE to program in Rhino Mac, so I can have a nice autocompletion functionality for the RhinoCommon and rhinoscriptsyntax. First, I install the python stubs to my created conda environment. This makes sure that we will have the autocomplete for the RhinoCommon API. $ conda create -n your-env-name $ conda activate your-env-name $ pip install Rhino-stubs To use specific environment in PyCharm, we will have to select the right environment for the project. This can be set in PyCharm -> Preferences -> Project: your-project-name -> Python Interpreter. Normally, our environment python is located at ~/anaconda3/envs/your-env-name/bin/python. ...

November 6, 2020 · 1 min · Gene Ting-Chun Kao

Robotic Force Printing - MIT Design-Build Workshop 2019

I was part of the teaching team at MIT Design-Build Workshop 2019 in Shanghai for a month, a joint workshop from MIT Architecture, ETH Zurich Block Research Group, and Tongji University. The workshop explores robotic additive manufacture and assembly of novel shell structures. More information can be found here on the BRG website. Teaching materials can also be found on our GitHub repo. With students from both Massachusetts Institute of Technology (MIT) and Tongji University, we built two projects. ...

February 1, 2019 · 1 min · Gene Ting-Chun Kao

ICD/ITKE Research Pavilion 2015-16 - development and implementation demo

I was in the computational design team while designing the ICD/ITKE Research Pavilion 2015-16 and was mainly in charge of developing computational tools. Here is the demonstration video to show the geometrical implementation. One of the input parameters from the plugin is a mesh surface, and the output parameters are all tree data structure thus some double-layer light weight structure as well as some planar plates can be generated (Planar plate wasn’t realized due to the decision making and scheduling during the development). All the geometries are labeled in the right sequence so they can be fabricated directly: ...

October 30, 2016 · 1 min · Gene Ting-Chun Kao

Rhino.Python

These are my Rhino.Python practice while I studied at Stuttgart University. Rhino.Python - 1D 2D 3D Rhino.Python - Swarm bridge Rhino.Python - tessellation and subdivision Rhino.Python - Boy Surface and subdivision

November 30, 2014 · 1 min · Gene Ting-Chun Kao

Swarm Python Component

Swarm in Grasshopper using GH_Python component. Testing swarm behaviour in Rhino is in this post: Rhino.Python Swarm Bridge For more discussion please visit my post in grasshopper example forum. GH_Python Code: ### --Written by Gene Ting-Chun Kao-- ### ghenv.Component.Message = "written by +GENEATCG" import rhinoscriptsyntax as rs import Rhino as rc from random import * rectX = 600 rectY = 600 class Runner: def __init__(self, p, v): self.p = p self.v = v self.a = rs.VectorCreate( (0,0,0),(0,0,0) ) def ptRun(self): self.v = rs.VectorAdd(self.v, self.a) v = rs.VectorLength(self.v) if v > 2: self.v = rs.VectorScale(rs.VectorUnitize(self.v), 2) self.p = rs.VectorAdd(self.p, self.v) self.a = rs.VectorCreate( (0,0,0),(0,0,0) ) # ... (full code on GitHub)

June 25, 2014 · 1 min · Gene Ting-Chun Kao