Grasshopper

generative modeling for Rhino

federico Martelli
  • Male
  • London
  • United Kingdom
Share on Facebook
Share Twitter

federico Martelli's Groups

federico Martelli's Discussions

CurveBrepIntersect problem in GH Python

HISO I am trying to group a large set of polylines depending on if they intersect or not a section of a surface. I did manage to do this in rhino python succesfully but now I am trying to take the…Continue

Started Sep 1, 2012

Grasshopper/Python data tree output with polylines
6 Replies

Hi,A couple of friends and I have been trying to output a nested list of geometries ( polylines) from the Grasshopper/python editor to grasshopper keeping the data structure. I know I have to work…Continue

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

 

federico Martelli's Page

Latest Activity

Anders Holden Deleuran replied to federico Martelli's discussion Grasshopper/Python data tree output with polylines
"Excellent, glad that it worked out :)"
Sep 5, 2012
karamba replied to federico Martelli's discussion ModelView is doubling my geometries in the group karamba
"Hi Federico, the second material is a that for inactive elements which is added by default. If you plug a panel into the 'def. Model'-plug of the ModelView it tells you there are two models? Best, Clemens"
Sep 3, 2012
federico Martelli added a discussion to the group karamba
Thumbnail

ModelView is doubling my geometries

HI, I am testing the deformations in a beam flat structure that is supported in 4 points near the center. I have been working with various BeamsIDs si I can distribute material properties differentially but I started getting 2 sets of beams when I use the ViewModel component. No I simplified my definition and I am only using one type of beam and one type of material and I still get this strange error. I tried flattening the list of support points to no avail. As you can see on the screenshot, I…See More
Sep 3, 2012
federico Martelli replied to federico Martelli's discussion Grasshopper/Python data tree output with polylines
"Hi NAdres, Thanks so much for your time. IT is solved now and working smoothly. Im using PolylineCurve. cheers! Federico"
Sep 3, 2012
federico Martelli posted a discussion

CurveBrepIntersect problem in GH Python

HISO I am trying to group a large set of polylines depending on if they intersect or not a section of a surface. I did manage to do this in rhino python succesfully but now I am trying to take the script to Grasshopper python. It seems that the command CurveBrepIntersect is insisting that ALL the polylines are always intersecting each section of the surface, which is wrong. From the grasshopper, one of my inputs is a list of untrimmed (or trimmed) breps (or Surfaces) and I intersect all the…See More
Sep 1, 2012
federico Martelli replied to Mitch Heynick's discussion Project curve to mesh...?
"I am having the same problem in the grasshopper component with  rs.ProjectPointToSurface the error is similar. Runtime error (TypeErrorException): iteration over non-sequence of type PlaneSurface Did you manage to solve it? I really…"
Sep 1, 2012
Anders Holden Deleuran replied to federico Martelli's discussion Grasshopper/Python data tree output with polylines
"I just had a bit of a fiddle with the creation of polylines. Turns out that there are both Polyline and PolyLineCurve. The first being just an ordered set of points and the latter an actual polyline/curve. Here's an…"
Aug 31, 2012
Anders Holden Deleuran replied to federico Martelli's discussion Grasshopper/Python data tree output with polylines
"Regarding IEnumerable check out this thread might help: http://www.grasshopper3d.com/forum/topics/network-surface-error-python?xg_source=activity Regarding using Rhino.Geometry.Polyline the help file suggests that you need to feed it…"
Aug 31, 2012
federico Martelli replied to federico Martelli's discussion Grasshopper/Python data tree output with polylines
"Hi Anders, Thanks for your answer. I used rs.coercecurve() and now the error is this: expected IEnumerable[Polyline], got PolylineCurve What is IEnumerable? Also, if I wanted to try creating the polyline using RhinoCommon, what would the commands…"
Aug 31, 2012
Anders Holden Deleuran replied to federico Martelli's discussion Grasshopper/Python data tree output with polylines
"As far as I can tell the rs.AddPolyline() function returns the ID of the new curve object. In which case you could use the rs.coercecurve() function to get the curve object from this ID, or, create the polyline using RhinoCommon to…"
Aug 31, 2012
federico Martelli posted a discussion

Grasshopper/Python data tree output with polylines

Hi,A couple of friends and I have been trying to output a nested list of geometries ( polylines) from the Grasshopper/python editor to grasshopper keeping the data structure. I know I have to work with GH_Path to create Data trees but the problem seems to be that the type of geometries dont match.I get this error:Runtime error (ArgumentTypeException): expected Polyline, got Guidevent though the GUID object comes from a rs.AddPolyline command.I have stated that the type of geometry in the GH…See More
Aug 30, 2012
federico Martelli joined David Rutten's group
Thumbnail

Galapagos

Galapagos Evolutionary Solver
Aug 29, 2012
Robert Vier replied to federico Martelli's discussion Non standard beam cross section in the group karamba
"okay thanks for clarifying, so you applied different materials to every beam in the model for changing the e-modulus? i guess shells could also be handy for that of course. but a good approximation (and a faster one) also might be representing a…"
Aug 15, 2012
federico Martelli replied to federico Martelli's discussion Non standard beam cross section in the group karamba
"Hi Robert, sorry for confusion and thanks for your reply. You are right, it is a three dimensional grid of beam axes. What we are looking in our project is to enhance or program the deformations that will occur due to the decay of the materials…"
Aug 15, 2012
Robert Vier replied to federico Martelli's discussion Non standard beam cross section in the group karamba
"Hey federico, sorry but I can't really make sense of your pictures, I barely recognize the first and the third one..! But okay, the first one is a three-dimensional grid - of beam-axes? or should it be a surface? according to your second…"
Aug 15, 2012
federico Martelli replied to federico Martelli's discussion Non standard beam cross section in the group karamba
"Hi Robert, here are some screen shots.  The first one shows you the grid or pattern of beams. the second one shows the deformation according to karamba when using a trapezoid standard cross section. and the third picture shows a simplified…"
Aug 14, 2012

Profile Information

Company, School, or Organization
Architectural Association

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