Grasshopper

generative modeling for Rhino

zhouningyi
  • Male
  • Shanghai
  • China, mainland
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (12)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Zhouningyi's Friends

  • Jon Mirtschin

zhouningyi's Discussions

about Write layer script in python
6 Replies

Hello everybodyI am whiting code in python according C# version:Rhino.DocObjects.Tables.LayerTable layers = doc.Layers; int index = layers.Find("AngleDimention1", false); if(index == -1){…Continue

Started this discussion. Last reply by Anders Holden Deleuran Sep 10, 2012.

A subdivision surface
15 Replies

Hello all,We know that we can calculate a subdivision surface form a delaunay surface by weaverbird,but the subdivision surface don't fit the control points,Can we make a surface that come across…Continue

Started this discussion. Last reply by Natasa Oct 26, 2012.

 

zhouningyi's Page

Latest Activity

Natasa replied to zhouningyi's discussion A subdivision surface
"Hi, Do yo have the grasshopper file so I can test. I am trying to set the definition but im getting few runtime rerrors. I will apreciate the help. Nat"
Oct 26, 2012
Anders Holden Deleuran replied to zhouningyi's discussion about Write layer script in python
"No worries. Come to think of it you might actually want to check out the RhinoScriptSyntax functions for doing this kind of stuff. Should make it a bit easier than using RhinoCommon if your just starting out with…"
Sep 10, 2012
zhouningyi replied to zhouningyi's discussion about Write layer script in python
"Thank you very much!It is very helpful"
Sep 10, 2012
Anders Holden Deleuran replied to zhouningyi's discussion about Write layer script in python
"There's a quite a few things to be aware of when using Python in GH versus in Rhino. For your script this is mainly that you are calling methods which aren't used/supported by GH! This being all the # Prompt the user to enter a layer…"
Sep 6, 2012
zhouningyi replied to zhouningyi's discussion about Write layer script in python
"Another question:"
Sep 6, 2012
zhouningyi replied to zhouningyi's discussion about Write layer script in python
"Thank you very much,done it "
Sep 6, 2012
Anders Holden Deleuran replied to zhouningyi's discussion about Write layer script in python
"Try to remove the parentheses: layers = Rhino.RhinoDoc.ActiveDoc.Layers"
Sep 6, 2012
zhouningyi posted a discussion

about Write layer script in python

Hello everybodyI am whiting code in python according C# version:Rhino.DocObjects.Tables.LayerTable layers = doc.Layers; int index = layers.Find("AngleDimention1", false); if(index == -1){ Rhino.DocObjects.Layer layer = new Rhino.DocObjects.Layer(); layer.Default(); layer.Color = Color.FromArgb(230, 230, 20); layer.Name = "AngleDimention1"; layers.Add(layer); index = layers.Find("AngleDimention1", false);But There is something wrong in first…See More
Sep 6, 2012
Vicente Soler replied to zhouningyi's discussion A subdivision surface
"It's the same thing, yes."
Sep 4, 2012
zhouningyi replied to zhouningyi's discussion A subdivision surface
"Hello  Vicente Soler ,is the method come from: http://en.wikipedia.org/wiki/Natural_neighbor thank you"
Sep 4, 2012
zhouningyi replied to zhouningyi's discussion A subdivision surface
"Thank you very much,very nice of you Using voronoi to caculate the weight of points is difficult to understand,Spent a lot of time to find the reason..."
Sep 4, 2012
Giulio Piacentino replied to zhouningyi's discussion A subdivision surface
"Yes, this is definitely a general algorithm difference (approximation vs interpolation). I am have been on and off busy coding the Butterfly Subdivision scheme, which keeps the previous points and thus always passes through the previous Delaunay…"
Sep 4, 2012
Vicente Soler replied to zhouningyi's discussion A subdivision surface
"Here you have: Left - delaunay right  - natural neighbor interpolation using the voronoi mesh subdivided twice. Not the most elegant definition but works without scripting components. It's slow since it's doing region intersection…"
Sep 3, 2012
zhouningyi replied to zhouningyi's discussion A subdivision surface
"okay thank you very very much!"
Sep 2, 2012
Vicente Soler replied to zhouningyi's discussion A subdivision surface
"If you've got an unordered set of data points (in this case height data), the best way to create smooth interpolation between them is with natural neighbor interpolation. There is no direct component for this but it might be possible to do…"
Sep 2, 2012
zhouningyi replied to zhouningyi's discussion A subdivision surface
"Thank you  Vicente Soler very much! I will have a try,Hopethis method can create a smooth mesh! Is there any quick solutions?I think maybe this is a very general interpolation  problem?"
Sep 2, 2012

Profile Information

Company, School, or Organization
edging landscape&architecture
Web or Blog
http://page.renren.com/600890642

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service