We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c4f852 commit 65e4444Copy full SHA for 65e4444
OCCUtils/Adapt.py
OCCUtils/Common.py
@@ -534,6 +534,20 @@ def vertex2pnt(vertex):
534
return BRep_Tool.Pnt(vertex)
535
536
537
+def adapt_edge_to_curve(edg):
538
+ '''
539
+ returns a curve adaptor from an edge
540
+ @param edg: TopoDS_Edge
541
542
+ return BRepAdaptor_Curve(edg)
543
+
544
545
+def adapt_edge_to_hcurve(edg):
546
+ c = BRepAdaptor_HCurve()
547
+ c.ChangeCurve().Initialize(edg)
548
+ return c
549
550
551
def to_adaptor_3d(curveType):
552
'''
553
abstract curve like type into an adaptor3d
0 commit comments