请问大佬们,如何创建闭合处圆滑过渡的Spline对象?
Spline对象常见的构造方法生成的样条曲线是不闭合的,即使设置起点和终点重合,画出来的样条曲线在起点和终点处也不是圆弧过渡的但是autoCAD在创建样条曲线时输入c就能闭合,且闭合处时圆滑过渡的
public unsafe Spline(Point3dCollection point, int order, double fitTolerance)
提前谢过各位大佬了
把开始时的控制点在末尾加上试试? 本帖最后由 haohaosa 于 2022-11-11 12:15 编辑
sieben 发表于 2022-11-7 21:12
把开始时的控制点在末尾加上试试?
https://i0.hdslb.com/bfs/new_dyn/eb3bc3c52cbd5844882b71060149ad11145793112.jpg@1036w.webp
就会这样,会有1个尖角 看看Spline的这个属性
public Autodesk.AutoCAD.DatabaseServices.NurbsData NurbsData;
Visual Basic
Public Property NurbsData() As Autodesk.AutoCAD.DatabaseServices.NurbsData
Description
Replaces any existing spline data with the data passed in via NurbsData parameters.
Conditions
Read / Write
页:
[1]