Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CadQuery/cadquery
/ arc_last_tangent
Function
arc_last_tangent
cadquery/occ_impl/sketch_solver.py:95–97 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
93
94
95
def
arc_last_tangent(x):
96
97
return
gp_Vec2d(sign(x[4]) * cos(x[3] + x[4]), -sign(x[4]) * sin(x[3] + x[4]))
98
99
100
def
fixed_cost(x, t, x0, val):
Callers
1
angle_cost
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected