MCPcopy Index your code
hub / github.com/CadQuery/cadquery / arc_point

Function arc_point

cadquery/occ_impl/sketch_solver.py:74–82  ·  view source on GitHub ↗
(x, val)

Source from the content-addressed store, hash-verified

72
73
74def arc_point(x, val):
75
76 if val is None:
77 rv = x[:2]
78 else:
79 a = x[3] + val * x[4]
80 rv = array((x[0] + x[2] * sin(a), x[1] + x[2] * cos(a)))
81
82 return rv
83
84
85def line_point(x, val):

Callers 3

solveMethod · 0.85
fixed_point_costFunction · 0.85
distance_costFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected