Arc: 2 Points and Height
Posted: Mon Sep 14, 2015 11:37 pm
Hi,
This is a new method of drawing arcs. When googling for a way to draw arcs with a specified length, I noticed quite a few people, in different forums, looking for a way to calculate the radius of an arc with just knowing the chord length and arc height. For example someone wanted to draw the arc of a bridge but only knew the start and endpoints and the height of the arc. So I thought this might be a good option to have.
The chord length is the distance between the start point of the arc and the end point. The height is the distance between the middle point of the chord and the middle point of the arc. If the height equals half the chord length, a semi-circle is drawn. If the height is greater than half the chord length, then the included angle is greater than 180 degrees. If the height is less than half the chord length, then the included angle is less than 180 degrees.
This works in the same way as the other 2 point options. You enter the height in the options toolbar, and choose the arc direction. You then specify the start point and endpoint of the arc.
The command is 'archeight' or 'ah'. The shortcut is 'AH'.
The attached file contains a directory called 'Arc2PH'. Extract this to the 'scripts/Draw/Arc' directory. The file also contains a file called 'Arc3PInit.js'. Extract this to 'scripts/Draw/Arc/Arc3P', replacing the existing file. The reason for replacing this file is to change the sort order, so the '3 point' option appears after the '2 Points and Height' option.
Hope someone finds this useful.
riverbuoy
This is a new method of drawing arcs. When googling for a way to draw arcs with a specified length, I noticed quite a few people, in different forums, looking for a way to calculate the radius of an arc with just knowing the chord length and arc height. For example someone wanted to draw the arc of a bridge but only knew the start and endpoints and the height of the arc. So I thought this might be a good option to have.
The chord length is the distance between the start point of the arc and the end point. The height is the distance between the middle point of the chord and the middle point of the arc. If the height equals half the chord length, a semi-circle is drawn. If the height is greater than half the chord length, then the included angle is greater than 180 degrees. If the height is less than half the chord length, then the included angle is less than 180 degrees.
This works in the same way as the other 2 point options. You enter the height in the options toolbar, and choose the arc direction. You then specify the start point and endpoint of the arc.
The command is 'archeight' or 'ah'. The shortcut is 'AH'.
The attached file contains a directory called 'Arc2PH'. Extract this to the 'scripts/Draw/Arc' directory. The file also contains a file called 'Arc3PInit.js'. Extract this to 'scripts/Draw/Arc/Arc3P', replacing the existing file. The reason for replacing this file is to change the sort order, so the '3 point' option appears after the '2 Points and Height' option.
Hope someone finds this useful.
riverbuoy