Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

calculating angle from slope

Featured Replies

Is there a way in filemaker to calculate angle of slope from rise & run?

post-60031-0-19115200-1318384087_thumb.j

http://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine.2C_and_tangent

  • Author

Thanks Comment for the wikipedia link.

What I was really hoping for was that somebody could help me with the code for this problem.

I'm a cabinetmaker, not a mathematician. I do, however, need to be able to build angled cabinets from time to time and would like to be able to do this without having to actually learn trigonometry.

Create number fields Run and Rise. Create a calculation field angle = Atan(Run/Rise)*57.2958.

(the 57.2958 is required because the atan function in FileMaker returns the angle in radians.)

If you only know the length and run substitute Asin(Run/Length) in the above calc. If you only know the length and rise, substitute Acos(Run/Length)

Or, putting them all together, angle =

Case(

not IsEmpty(Run) and not IsEmpty(Rise); Atan(Run/Rise)*57.2958;

not IsEmpty(Run) and not IsEmpty(Length); Asin(Run/Length)*57.2958;

not IsEmpty(Rise) and not IsEmpty(Length); Acos(Rise/Length)*57.2958;

)

(the 57.2958 is required because the atan function in FileMaker returns the angle in radians.)

How about:

Degrees ( Atan ( Run / Rise ) )

I'm a cabinetmaker, not a mathematician. I do, however, need to be able to build angled cabinets from time to time and would like to be able to do this without having to actually learn trigonometry.

IIUC, this is more about designing than building - and I'd consider basic trigonometry as one of the required skills.

Degrees ( Atan ( Run / Rise ) )

Another FM function I didn't know existed! Thanks.

  • Author

Thanks guys!

I'll noodle on it from here.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.