Tuesday, February 9, 2010
As promised in this post, I'll go into making a parametric family for a catenary arch. I'll do this in two parts, since I can imagine that the actual math is not that interesing to everyone.
So, if you've always hated math and don't want anything to do with it, go here instead and stop reading. This is gonna get boring.
For everyone else, here we go.
The goal is: Make a parametric family, where I can enter a width and a height for the arch and get a catenary.
First the general formula for a catenary is this:

and it looks like this:
As you can see, the graph moves upwards with every increase in a (I have used c in place of the a, just because I had found the formula with a c first). But what we need is a graph that goes through (0,0). So we'll modify the formula:

and we get:
Great. Now we only need to find the right c to fit our purposes and off we go. The way to do this is to substitute the height of the arch for y and half the length of the arch for x and solve for c. Easy.
In this example I want an arch 30m wide and 5m high:

Now we run into 2 problems:
- Revit does not know what a cosh (Hyperbolic Cosin) is.
- You can not solve this function for c.

Revit does know how to calculate e to the power of x (Well, sort of. You do have to tell Revit what e is, but oh well...). So that's sorted.
To tackle problem 2, we use the Newton Iteration to find a value for c:

The two functions are:

and

We put this together and within 5 or 6 steps we have a value for c that works for our purposes.
...and all this to create a simple arch!
OK, so much for the basic math. In the next part I'll walk you through how I actually set this whole thing up in Revit so it works.
My thanks go to everyone at wikipedia for their articles on the math and to John Forkosh Associates for their online LaTeX machine.
Labels: Catenary, Conceptual Mass, Formulas, general
Thursday, February 4, 2010
I am currently working on redesigning an existing building. I have the drawings so I went ahead and set the whole thing up in Revit.
In order to start the designing process, I wanted to make an in-place mass and export this to the Conceptual Mass editor. So I started my mass, gave it a name and started modelling.
But when I tried to export it, I found no way of doing so. I tried via grouping it and exporting the group, exporting as a family, and a few other "official" ways.
So I figured, what the heck. I'll do it quick and dirty: copy & paste!
Surprisingly this worked, but only with a little trick. When I tried to copy the entire mass, it wouldn't work. But when I just grabbed the volumes I had created within the mass, I could paste them in the conceptual mass editor.
Or, to be more clear, this is what I did:
- create an in-place mass in a project file (Ribbon > Massing & Site > In-place mass), give it a name and start editing
- once done with the forms within the mass, copy the forms by selecting and pressing [ctrl] + [c]
- R > New > Conceptual Mass, select the conceptual-mass template and open
- [ctrl]+[v]
Labels: Conceptual Mass, Families, R2010, Sketch-Mode
Wednesday, February 3, 2010
For a project I want to use the form of the catenary, which is the form a free and flexible chain adopts when hanging from 2 points. If you invert this you get a very stable arch form.
One example for this is the arch in St. Louis:
This form is based on a mathematical formula involving e (approx. 2,71828182...)
Revit is supposed to know this number and by using the command exp(x) you can calculate e to the power of x. At least that's what the manual says.
Unfortunately, exp(x) will calculate 10 to the power of x. Took me half an hour of troubleshooting my formula to find that out.
Once I have the catenary done I'll post a tutorial on how to make one.
Monday, February 1, 2010
Here are the results for this weeks Vote of the Week:
Looks like a lot of you use the render function in Revit for final presentations.
We have decieded against that, as we are afraid that the models will get too big and cumbersome to be effective. Please comment on whether that's the case and what kind of experiences you've had.
Labels: Renders, Results, Vote of the Week
Today we were trying to print a drawing with the rooms filled in in gray. This is what we got:
Not really satisfactory.
After some googleing and try-and-error we came up with this:
Much better!
The solution: in R > Print > Settings Setup switch the Hidden Line Views setting from Vector Processing to Raster Processing.













