Pairing original curve with offset the extrude

Hey guys, need help, i’m noob, i watched a few tutorial and read a lot of stuff here in forum. I am trying to recreate a project that I made in Revit using grasshopper but got stuck.

As the title, i tried to flatten it but it doesn’t work until i only segregated one item to try it out as shown in highlighted. I’ve tried, entwine, cross reference and dispatch but no, my logic is wrong so asking for advise.

Pavilion_help.gh (34.2 KB)

Also I was trying ghpython as you can see on the first component, hoping i can minimize the definition if it matters. Thanks in advance! :pray:

Hi.

Firstly, you’d need an extrusion direction. Right now, you are trying to extrude in the same world-Y direction at different scales. Personally, I would go another route an try to create the surfaces with Boundary Surface. Is there a reason the top half of the script doesn’t have the beginning curves internalized?

Also, you could just contour a sphere for your latitude rungs.

1 Like

You need to internalize the geometry.


Pavilion_help1.gh (41.6 KB)

If you extrude the curves instead, the surfaces will be capped differently. I don’t know what you prefer.

@Volker_Rakow @Quan_Li sorry about that, i must have uploaded the uncleaned gh file, i thought I did a saved as to be uploaded here. The correct one is the bottom the only needs a point. Thanks for the file, will report back when I get back to my laptop.

2 Likes


Pavilion_help2.gh (38.3 KB)

For completeness’ sake, above, by curve extrusion.


Pavilion_help3.gh (45.1 KB)

For safety’s sake, the same, but using the sphere’s center instead of the static world origin and a resultant vector robbed of its Z component incase the figure is moved in the model space. If the uninternalized point is the sphere center, you could just plug that into A of Vector 2Pt instead of solving for the sphere center as I did.

1 Like

Hi, thank you for your help, I looked at your gh file and it gave me an idea. I realized the that the extrusion you were asking won’t work as I initially thought. So for background, my thought process was loft the original and the offset curve, then extrude it sideways but i realized i can’t find a way to make the surface a plane, guess i’d need to work on that, i’ll try brep deconstruct later.

so then i looked at the perp frame i realized i can work on that if i can connect it on the curve.
still not sure if its the right approach but then it’ll work for now. I attached the gh file in any case you got more feedback.

Pavilion_help4.gh (19.6 KB)

hello, thanks for this! will explore it more looking forward.

Seems like a job for Sweep to me. If you need further section frames for control of the sweep, you can get them from Curve Closest Point, but just using the starting frame seemed to deliver the same result.

What exactly is your Python component doing that you couldn’t do in vanilla GH? You could try to approach it, for example, like this:


Pavilion_help5.gh (43.9 KB)

Hi thanks for this, so firstly the thought process was, I wanted to take control of each ring where I can adjust its diameter and move its center on z axis. The original design that I was aiming doesn’t exactly look like a sphere, it more shaped like a capsicum. In this exercise I’m just trying to grasp the concept on how to do this then will tweak the proportion later.

Secondly, I am coming from a Revit + Dynamo background. I hated seeing spaghetti graph that I can’t follow months later specially when plug ins are deprecated or broken. So by habit, I’ll just do the python code using api if its just trivial or repeating. Same as what happened here, if you remember, the 1st graph that I attached, it has those curve containers that I wanted to control and noticed that it was just a repeating process so I figured it is probably a good opportunity to try ghpython. Also I find it easier to follow the process if I can document properly my thought process via docstring.

Later after I fully grasp the logic of this definition I will combine those that is logical to combine on a python component before I archive.

edit: just saw your polar array definition. The original design also has an alternating extrusion that only goes half( or less than) the total height. So i would need to get the odd-even index of the points. Also on top of that, there will be an opening for human entrance so I would need to manipulate the date tree (in this case those circles) to choose where to start-stop those profiles.
I will post here the final result for completeness sake.

I see. Well, the sooner you merge your data into lists, the less component repetition you will have. It is how you go from something like this:

to something like this:

(I realize the two scripts produce different things and that your Python component relys on more than just radius and height parameters to generate the circles, but it’s the principle at play here that is the point.)

If you want the dynamicism of sliders you won’t be able to get around manually laying them down on the canvas and merging them, but here too you can optimize:

Graph Mapper definately is a friend in situations like this.

The main folly I see in your scripting is the design approach. You’re already thinking of the constructive elements and using them to determine form. It would be better to first develop an idealized envelope from which you then draw your system lines. This way, the circles that determine the envelope are divorced from the circles that later represent the constructive members of the object and allow you to do things like move a constructive rung to the height of a door lintel in hindsight.

That’s not too hard. It’s just list manipulation.
The script snippet below continues from the one above:

and dispatches the vertical system curves into two lists, one of which is shortened before being woven back into the other.

Pavilion_help6.gh (64.8 KB)

1 Like

update:

I’ve finished it, it’s not perfect but I’m learning, I managed to export it to Revit and used Rhino Inside to be integrated in Revit model.

gh_finished_pavillion.gh (43.8 KB)

gh file is a combination of python script and vanilla gh, i tend to just code it if i feel like the process is too long, because knowing myself, the longer the components are, I won’t be able to follow it in the future, at least i can write docstring in editor to describe to my future self what i’m trying to do.

going to post more questions soon.

1 Like

It looks like a squash, or a Gugelhupfkuchen.

when i first saw the design, i told the designer it looks like a lady with a fringe :joy:
i haven’t seen the shop drawings they’re going to build

A bob haircut with the opening for the face, yes I see it. :laughing: