detail item - slope parameter

detail item - slope parameter

arkitek2ss
Collaborator Collaborator
2,828 Views
10 Replies
Message 1 of 11

detail item - slope parameter

arkitek2ss
Collaborator
Collaborator

I'm creating a detail item showing a sloped component that can (hopefully) be adjustable by instance when inserted.  In the family parameters under Type of Parameter there is the option for Slope.  how/where can I apply this slope parameter?  

 

thanks.

0 Likes
2,829 Views
10 Replies
Replies (10)
Message 2 of 11

ToanDN
Consultant
Consultant

Is is a Type or Instance parameter?  If the former, edit type and enter the value; latter, select instance(s) and enter the value.

0 Likes
Message 3 of 11

arkitek2ss
Collaborator
Collaborator

but to what can apply the slope parameter to?  there is no slope dimension or anything else.

0 Likes
Message 4 of 11

Ilic.Andrej
Advisor
Advisor

There are two ways you can constrain the geometry with a slope parameter.

 

First- slope is a tangent function in right triangles. So, to get the angle from a slope, you can use the the inverse tangent function: atan()   Then, use the angle dimension and label it with that calculated parameter.

 

Second (and in my opinion way better)- the tangent function in right triangles or slope is the ratio between two dimensions. Lets call those a and h. So, if you have a, slope will help determine h and vice versa. Use a and h to constrain the position of the reference planes which drive the geometry.

 

Basic math...:)

 



Andrej Ilić

phonetical: ændreɪ ilich
MSc Arch

Autodesk Expert Elite Alumni

0 Likes
Message 5 of 11

cbcarch
Advisor
Advisor

-You could also use  Reference Line, and an angular dimension with a Parameter. ( Instance or Type.)

-Lock geometry to the Reference Line. Make sure the family flexes--then save/load into project.

-Then adjust angle in the project.

Cliff B. Collins
Registered Architect The Lamar Johnson Collaborative Architects-St. Louis, MO
Message 6 of 11

ToanDN
Consultant
Consultant

You can either enter a slope value (percentage, degree) and report the rise:run, or enter rise:run (1:10, 1:12) and report the slope value.  They are equally easy.  Which one do you need?

0 Likes
Message 7 of 11

arkitek2ss
Collaborator
Collaborator

got it figured out.

create the following parameters:

Rise (instance)

Run (type)

Angle (instance) Formula Rise / Run * 100

1 reference plane

create filled region and show an angular dimension and set it to the Angle parameter.

 

see attached .rfa

0 Likes
Message 8 of 11

arkitek2ss
Collaborator
Collaborator

as always, after I post, I figured it out before going back to the posts.

 

Thanks all.

0 Likes
Message 9 of 11

Ilic.Andrej
Advisor
Advisor

@arkitek2sswrote:

got it figured out.

create the following parameters:

Rise (instance)

Run (type)

Angle (instance) Formula Rise / Run * 100

1 reference plane

create filled region and show an angular dimension and set it to the Angle parameter.

 

see attached .rfa


You really don't have to use Run in the formula, you can just use atan(Rise)



Andrej Ilić

phonetical: ændreɪ ilich
MSc Arch

Autodesk Expert Elite Alumni

Message 10 of 11

arkitek2ss
Collaborator
Collaborator

just realized that.

 

thank you

0 Likes
Message 11 of 11

gary
Enthusiast
Enthusiast

This is a bit late but......

 

you are returning a percent of slope value not a degree value with (rise/run*100) formula.  Example, your family will return a value of 25 deg for rise=3 and run=12.  It should be 14.04 degrees.  It is at a slope of 25%.

 

Also, atan(rise) is not a complete argument.  You would have to use atan(Rise/Run) to get the actual angle.