« Obfuscation Tools | Main | Detail Lines »

August 31, 2009

Comments

When constructing a slab, how can I specify openings? Obviously just appending them to the passed CurveArray doesn't produce the desired effect and I can't figure out how to add them after-the-fact. Any thoughts?

Dear Mike,

Sorry for the belated answer, I just returned from a vacation.

Actually, I believe there are two ways of creating openings.

One possibility is to use the Document.NewOpening method to create openings in an existing host element.

The second may indeed be to append additional loops to the passed-in curve array directly when creating the host object, as you can see from the comment by Ning on creating walls with openings, even though he points out that it is not always working reliably in his case:

http://thebuildingcoder.typepad.com/blog/2009/02/creating-a-wall-with-a-sloped-profile.html?cid=6a00e553e1689788330120a6cd4ccf970b#comment-6a00e553e1689788330120a6cd4ccf970b

I presented some code to generate a slab in

http://thebuildingcoder.typepad.com/blog/2008/11/editing-a-floor-profile.html

The additional edge loops in the existing slab are intentionally eliminated in that code. You might be able to modify it to leave them in and thus create the required openings at the same time as the slab itself. I should add that I did attempt to do this myself and was unable to get it to work as expected. Although Ning seems to have used it to create walls with openings, it may not work for floors.

Cheers, Jeremy.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)

Jeremy Tammik

AboutTopicsIndexSource