Part.BSplineCurve
Part.BsplineSurface
Part.BezierCurve
Part.BezierSurface
When i type "Part." in the interpreter, i can see these options, and hovering the mouse over them tells me, for example, that the bezier surface wants a table of poles/weights. I know what they are, but i don't what format/order to pass them in. I'm guessing either a list of points, Base.Vector(s), or something like that. Do i enter all 16 control points in a row, four lists of four points...where i can set the weights, etc?
Where can i find the parameter definitions and types? Are there commands to explore the objects from the interpreter?
I also probably need to know what type of entity will be returned, and how to make a part that can be shown on screen.
Just to see what would happen i tried the following:
Code: Select all
>>> A = Part.BezierCurve
>>> A
<type 'Part.GeomBezierCurve'>
>>> Part.show(A)
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: argument 1 must be Part.TopoShape, not type
>>> Part.Shape(A)
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: argument 1 must be list, not type
>>>
Anyway, any help or direction towards help would be greatly appreciated