How do you make a perfect circle?

N

nfshp253

How to make a perfect circle of radius 2km? Can't seem to get a perfect circle if I use the "Create closed loop track" and use 8 points on the track. Trying to make the Nardo Test Track.
 

zaxxon

250RPM
Mar 30, 2009
292
5
You can use only 4 nodes and Entry and Exit Distances of 1103.568 m
(http://www.tinaja.com/glib/ellipse4.pdf)

You can create a project with BTB 0.6, create a closed track with 4 nodes (doesn't matter what coordinates) and substitute those nodes for this ones

<node NodeId="0">
<Position x="0" y="0" z="2000" />
<ControlPoints AngleXZ="-1.570796325" AngleY="0" EntryDistance="1103.568" ExitDistance="1103.568" />
</node>
<node NodeId="1">
<Position x="2000" y="0" z="0" />
<ControlPoints AngleXZ="0" AngleY="0" EntryDistance="1103.568" ExitDistance="1103.568" />
</node>
<node NodeId="2">
<Position x="0" y="0" z="-2000" />
<ControlPoints AngleXZ="1.570796325" AngleY="0" EntryDistance="1103.568" ExitDistance="1103.568" />
</node>
<node NodeId="3" Selected="True">
<Position x="-2000" y="0" z="0" />
<ControlPoints AngleXZ="3.14159265" AngleY="0" EntryDistance="1103.568" ExitDistance="1103.568" />
</node>

If you are really interested on using 8 nodes you can use Entry and Exit distances of 530.4062 m (instead of 1103.568)
In that case the AngleXZ values should follow pi/4 steps.
I haven't tested this 8-nodes case, but it should work.
 

Attachments

N

nfshp253

You can use only 4 nodes and Entry and Exit Distances of 1103.568 m
(http://www.tinaja.com/glib/ellipse4.pdf)

You can create a project with BTB 0.6, create a closed track with 4 nodes (doesn't matter what coordinates) and substitute those nodes for this ones

<node NodeId="0">
<Position x="0" y="0" z="2000" />
<ControlPoints AngleXZ="-1.570796325" AngleY="0" EntryDistance="1103.568" ExitDistance="1103.568" />
</node>
<node NodeId="1">
<Position x="2000" y="0" z="0" />
<ControlPoints AngleXZ="0" AngleY="0" EntryDistance="1103.568" ExitDistance="1103.568" />
</node>
<node NodeId="2">
<Position x="0" y="0" z="-2000" />
<ControlPoints AngleXZ="1.570796325" AngleY="0" EntryDistance="1103.568" ExitDistance="1103.568" />
</node>
<node NodeId="3" Selected="True">
<Position x="-2000" y="0" z="0" />
<ControlPoints AngleXZ="3.14159265" AngleY="0" EntryDistance="1103.568" ExitDistance="1103.568" />
</node>
What do you mean by Entry and Exit Distances? I don't understand and don't know where to adjust. Anyway, I tried the same coordinates for the four points but it turned out to become this weird shape! Anyway I'm a total NOOB at this program, I don't even know how to change the camber for different points of the track
 

Attachments

zaxxon

250RPM
Mar 30, 2009
292
5
Each node has two control points, one for the entry and one for the exit
(see image attached). I see this control points in a pink color. You move the control points to give shape to the circle.

You must use a separation of 1103.568 m between the node and the control points (in the tangential direction, of course).
 

Attachments

zaxxon

250RPM
Mar 30, 2009
292
5
can you tell me where i can adjust the control points?
Right click on a node.
Select "Smooth Selected Nodes->Control Points"

Now you should see the control points. Click on them and drag to modify their position.
 
N

nfshp253

I don't have that option. I only have "By Height" or "Flatten"
 
N

nfshp253

Drag? Nothing happens. Am I suppose to create a closed loop track?
 

zaxxon

250RPM
Mar 30, 2009
292
5
How to make a perfect circle of radius 2km? Can't seem to get a perfect circle if I use the "Create closed loop track" and use 8 points on the track. Trying to make the Nardo Test Track.
I don't understand. You want a closed loop track, don't you?
 
N

nfshp253

Yes. But I can click and drag to define nodes. The nodes only show if I click! Can you upload your saved circle instead?
 
N

nfshp253

Thanks! But can you help me figure out how adjust entry and exit distances. I'm using the newest version anyway. So is there any difference?
 

zaxxon

250RPM
Mar 30, 2009
292
5
Thanks! But can you help me figure out how adjust entry and exit distances. I'm using the newest version anyway. So is there any difference?
With version 0.7 you can adjust them graphically.
On the first 10 seconds of this video you can see how the control points
are set when creating the track (drag the mouse).

[ame]http://www.youtube.com/watch?v=xXJJEeb0yfc&feature=PlayList&p=1248AF300AA92FD3&index=14[/ame]

You can edit the file Venue.xml I sent to you and set there the control
points with more accuracy
 

banger

500RPM
Mar 24, 2009
661
33
55
click and drag the mouse , don't let the button go. then you will see the control nodes.release when finished
 

Lee Knight

500RPM
Jan 1, 2010
958
243
Gday zaxxon,
Would you mind uploading that circle file again please?
Ive seen a photo of a 'magic round-about' (7round-abouts layed out around a larger one!:eek:) that I wish to build for a playground for cars.
Unfortunately, Im a noob & my efforts so far to make perfect circles have been greatly let down by my skills but this would go a long way to getting me started.
I doubt it'll ever be released, (more an experiment & a laugh really) but if Im successful I'd send a copy back to you....
Thanks in advance,
BLeeK
 

QuadCoreMax

500RPM
Jul 4, 2010
767
72
A circle, are you joking guys ?

Just trigger 'Bezier Curve' in options, align/each CP (control point) to the grid (a cross shape in a cube) & ALIGN the 4 CP tangents to the grid (X/Y axis from top view). You're done, only with 4 CPs, a perfect circle is created. Since you know the grid distances, you can adjust quickly your scaling & get your precise length.
 

Lee Knight

500RPM
Jan 1, 2010
958
243
Thank You AGAIN ehrlec!
I tried the .csv but couldn't get it to work for me....
Ive never used .csv data before, just .kml
I'll let you know if I manage to make myself dizzy!:wink:
THANK YOU!