Grasshopper

generative modeling for Rhino

Miguel Rus
  • Male
  • Valencia, Spain
  • Spain
Share on Facebook
Share Twitter

Miguel Rus's Friends

  • Andrew Haas
  • Anders Holden Deleuran
  • Giulio Piacentino

Miguel Rus's Groups

Miguel Rus's Discussions

Merge All Faces in python
1 Reply

Hi,I have a polysurface created and it is composed of lost of triangulated surfaces. I'm trying to look for the MergeAllFaces options inside rhinoscript.Does anyone have any ideas?Thanks,MContinue

Tags: Rhinoscript, Python, Faces, Merge

Started this discussion. Last reply by Mostapha Sadeghipour Mar 5.

Python, min() function not working.
4 Replies

Hi,I am trying to get the smallest value of a list. I know I could do a for loop for this but I want to use the python built in function min(). It gives me an error "Runtime error…Continue

Tags: Function, Min, Bug, Python

Started this discussion. Last reply by Mostapha Sadeghipour Feb 20.

List dilema
9 Replies

Hi,I'm having problem with the logic in a script I'm writing.I have a list [1,2,3,4,4,5,5,5,6,7] and I want to remove all the values that duplicate so the list ends up like this [1,2,3,6,7].I'm…Continue

Tags: remove, duplicate, lists, python

Started this discussion. Last reply by Anders Holden Deleuran Feb 15.

Copy command not working in python
3 Replies

I'm using the python component and it seems that the rs.copyobject is not working.Can anyone confirm this?Regards,MContinue

Tags: copyobject, copy, Python

Started this discussion. Last reply by Marios Tsiliakos Jan 15.

 

Miguel Rus's Page

Latest Activity

Miguel Rus liked alex jenter's video
Apr 10
Miguel Rus joined Mostapha Sadeghipour's group
Thumbnail

Ladybug

Ladybug is a free and open source environmental plugin for Grasshopper to help designers create an environmentally-conscious architectural design. Ladybug allows you to: import and analyze standard weather data in Grasshopper; draw diagrams like Sun-path, wind-rose, radiation-rose, etc; customize the diagrams in several ways; run radiation analysis, shadow studies, and view analysis for your design inside Grasshopper!Ladybug only works on Rhino 5.0. Unfortunately, there is no version for Rhino…See More
Apr 9
Miguel Rus liked David Rutten's photo
Apr 9
Miguel Rus liked David Rutten's video
Apr 8
Miguel Rus liked anthony viola's video
Mar 17
Mostapha Sadeghipour replied to Miguel Rus's discussion Merge All Faces in python
"Hi Miguel, I don't know how can you do it in rhinoscript but there are two methods in rhinoCommon that are probably do what you need: Rhino.Geometry.Brep.MergeBreps Rhino.Geometry.Brep.MergeCoplanarFaces  "
Mar 5
Miguel Rus shared their discussion on Facebook
Mar 2
Miguel Rus posted a discussion

Merge All Faces in python

Hi,I have a polysurface created and it is composed of lost of triangulated surfaces. I'm trying to look for the MergeAllFaces options inside rhinoscript.Does anyone have any ideas?Thanks,MSee More
Mar 2
Mostapha Sadeghipour replied to Miguel Rus's discussion Python, min() function not working.
"I should have said iterables. Thanks Steve."
Feb 20
Miguel Rus replied to Miguel Rus's discussion Python, min() function not working.
"Thanks Steve and Mostapha. M"
Feb 20
Steve Baer replied to Miguel Rus's discussion Python, min() function not working.
"http://docs.python.org/2/library/functions.html#min min and max expect iteratbles (lists, tuples, arrays,...)  Place brackets or extra parentheses around your numbers to turn them into lists or tuples. print min ( [3,4,5,6,67,78,7] ) "
Feb 20
Mostapha Sadeghipour replied to Miguel Rus's discussion Python, min() function not working.
"You should pass a list to min. Try this: print min([3,4,3,6,67,78,7])"
Feb 20
Miguel Rus posted a discussion

Python, min() function not working.

Hi,I am trying to get the smallest value of a list. I know I could do a for loop for this but I want to use the python built in function min(). It gives me an error "Runtime error (ArgumentTypeException): float is not callable!"This is the code I am running.print min(3,4,3,6,67,78,7)If I use the max() function it works fine. Any ideas of why this is not working?Thanks,MSee More
Feb 20
Miguel Rus liked Caelum Praecelsus Arquitectura's photo
Feb 16
Miguel Rus replied to Miguel Rus's discussion List dilema
"Hi Andres, That is exactly what I needed. Thanks, M"
Feb 14
Anders Holden Deleuran replied to Miguel Rus's discussion List dilema
"Just tested the code above and it works as expected. It could probably be optimized if you're running it on large lists with lots of duplicate values."
Feb 14

Profile Information

Company, School, or Organization
UPV

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

Videos

  • Add Videos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service