I am grinding a telescope mirror and need a template for the rough grind of the mirror. The telescope’s radius of curvature is 96 inches and the diameter of is 6 inches. The graph of the curve can be drawn with the following code below. The question is how to display and print the graph correctly scaled to inches. Reading the documentation, this is not obvious. Thanks in advance,
xpoints = []
ypoints = []
x_point: float = -3.0
size = 6
for index in range(100):
y_point = math.sqrt((96**2)-(x_point**2))
xpoints.append(x_point)
ypoints.append(y_point)
x_point = x_point + size/100.0
# Creating the Figure instance
fig = px.line(x=xpoints, y=ypoints)
# printing the figure instance
fig.show()