Grasshopper

algorithmic modeling for Rhino

Hi, I've managed to put together a simple script for offsetting, surfacing and extruding a set of curves (only a month into python so it's something I'm proud of, haha). My problem is that I want these extrusions to each be based separately on a value I input into a list (my_height_list). Problem is, each geometry is applying both panel numbers effectively extruding each object twice. I think I'm missing something very basic, and any help would be greatly appreciated. Thanks to anyone who can lend a hand!

Views: 1112

Attachments:

Replies to This Discussion

Hi Andrew,

Check the attached file!

I had to modify your last for loop but it worked..

*EDIT: Bare in mind that your plot crvs and my_height_list need to have the same number of items

Best

Filippos

Attachments:

Thank you Felippos. It's these small things that are so critical for me. Much appreciated. 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service