Jump to content
lubitel

Roof modeling from CAD line data

Recommended Posts

Hi.

 

I am trying to model buildings based on CAD drawings.

The part I need help with is roof at this point. The relevant curves are in three layers. "Takkant", "M__nelinje" and "Bygningslinje".

 

 

del3fkb-36.gif
 

 

Here is an illustration of the data/Groups.

"M__nelinje" Group has curves for the centerlines of the roof(s), "Takkant" has the edge lines and "Bygningslinje" is for corners..
 

del3fkb-27.gif

 

My math/Python and VEX skills are not sufficcient to come up with a solution. If you can please have a look and suggest a path I should take to be able to work out roofs for these buildings?


Cheers

CityFromCurves.rar

Edited by lubitel

Share this post


Link to post
Share on other sites

Hey, this is far from optimized and I hope it applies to your case... your file is huge and that might be part of the problem: Isolate the case, prototype and then mass produce! :)

It kinda works for me, sometimes :D

 

Cheers

sample_roof.hip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×