Polygone along a line
Polygone along a line
Do you think wpuld be possible drawing a polygon along a line?

 Posts: 1073
 Joined: Sat Dec 03, 2011 12:31 pm
 Location: Tours  France
Re: Polygone along a line
Sorry Angelos, I don't understand what you mean.
Cordialement.
Cordialement.
Eric Pousse
Re: Polygone along a line
Sorry.
I have a line, with a specific measure and angle. I want to drawing a polygone with one of its sides coincident with the line.
So click on the first point of the line, than on the final one and i’ve got my polygone.
I have a line, with a specific measure and angle. I want to drawing a polygone with one of its sides coincident with the line.
So click on the first point of the line, than on the final one and i’ve got my polygone.

 Posts: 1073
 Joined: Sat Dec 03, 2011 12:31 pm
 Location: Tours  France

 Posts: 1073
 Joined: Sat Dec 03, 2011 12:31 pm
 Location: Tours  France
Re: Polygone along a line
Bonjour Angelos,
There is not a tool to do that (nor in RealCADD).
But it is easy to calculate and draw this polygon.
With :
N : number of sides of the polygon you want
Lc : length of the base line (and of the sides of the polygon)
Begin to draw a perpendicular line from the base line in direction of the center of the polygon you want
Move this line to the center of the line
You have now simply to set the length of this perpendicular line to have the center of the polygon
This length is :
L = Lc / 2 / tan(360 / N / 2)
Voilà !
You can now draw the polygon from the point of the perpendicular which is the center of the polygon to one end of the base line.
Cordialement.
There is not a tool to do that (nor in RealCADD).
But it is easy to calculate and draw this polygon.
With :
N : number of sides of the polygon you want
Lc : length of the base line (and of the sides of the polygon)
Begin to draw a perpendicular line from the base line in direction of the center of the polygon you want
Move this line to the center of the line
You have now simply to set the length of this perpendicular line to have the center of the polygon
This length is :
L = Lc / 2 / tan(360 / N / 2)
Voilà !
You can now draw the polygon from the point of the perpendicular which is the center of the polygon to one end of the base line.
Cordialement.
Eric Pousse
Re: Polygone along a line
Thank you very much
Re: Polygone along a lin
But … i don’t obtain the result.
50 / 2 / tan (360 / 8 / 2) = 44,81
The regular polygon of 8 sides from the center to one side of base line has 39,27 as side
50 / 2 / tan (360 / 8 / 2) = 44,81
The regular polygon of 8 sides from the center to one side of base line has 39,27 as side
Re: Polygone along a line
Now it works perfectly with formula:
Lc : (2 * tan(180°: N))
Thank you
Lc : (2 * tan(180°: N))
Thank you

 Posts: 1073
 Joined: Sat Dec 03, 2011 12:31 pm
 Location: Tours  France