Description Usage Arguments Value See Also
View source: R/draw_the_frame.R
Adding the wheels to the frame plot may help you get an idea of the overall
proportions. Other than that, it's not a very useful thing to do.
Warning: this requires a frame design tibble df
that has the columns
added by find_ht_extension_and_add_true_fork()
. A
minimal df
tibble as drawn by wrap_frame_dims()
will
not be sufficient. If all went well, when we draw a fork starting at
the bottom end of the HT extension, with a given rake and cta length,
it will end up exactly at the top end of the rake line.
1 2 3 4 5 6 7 8 | add_the_wheels(
x,
df,
bb_shell_diameter = 34.8,
wheel_diameter = 622,
c = I("black"),
alpha_factor = 1
)
|
x |
An existing ggplot object. At a minimum, it's a scatter plot of
the rear dropout center. But it can be a bicycle frame of a previous design
already drawn, onto which you can now overlay a new design using the dims
in |
df |
A frame design tibble, such as the minimal one drawn by |
bb_shell_diameter |
Outer diameter of the BB shell in millimeters. |
wheel_diameter |
Wheel diameter in millimeters; 622 is the bead seat diameter
of a 700c wheel. To see the effect of the tire width, add 2 x tire width in millimeters
– i.e. specify |
c |
The color of the line segments. |
alpha_factor |
The transparency of the line segments, |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.