Some progress.
Mapping modes so far:
"Deactivated" (just allows links to support)
"To Flat Face", (old mode)
"Tangent plane", (sketching on a plane tangent to a face at a vertex)
"Normal to path", (with adjustable parameter)
"FrenetNB", (sketch plane contains frenet-serret frame axes N and B (nurmal and binormal))
"FrenetTN", (T-tangent axis)
"FrenetTB",
"CenterOfCurvature" (same as FrenetNB, but sketch origin is at center of curvature)
All modes more-or-less work, but there's still no UI for setting up the support. I do it in console like so:
Code: Select all
App.ActiveDocument.Sketch001.Support = [App.ActiveDocument.Sketch, "Edge1"]
It is very important to settle on details... Once they get merged, changing them will become a problem...