Hello again,
what I really miss in FreeCAD is a description/specification of the available classes, methods and functions. So I have to know what parameters (variables) and in which order I must pass. Unfortunately, it is not clear from the help or the tooltips. I tried to find some help in the documentation of pythonocc and occ, but it led to nothing at all. Please can you post the parameter list (and maybe a simple example) of the following functions:
Part.BSplineCurve
Part.BezierCurve
makePipe
makePipeShell
makeThickness
This information would bring me much further.
Best wishes
DoNotGood
Syntax/Synopsis of class-/method-/function-calls
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Syntax/Synopsis of class-/method-/function-calls
Hi,
Part.BSplineCurve & Part.BezierCurve -- for creation nothing needs to be passed. It creates an empty Bezier/B-Spline curve. You need to insert the knots afterwards. It's best to refer to the OCC docs therefore.
makePipe -- expects a single wire (i.e. a shape)
makePipeShell -- expects a list of shape and the second parameter True/False is optional to build a solid or not. The object itself must be a wire
makeThickness -- expects a list of shape (I guess it must be faces) to remove from this shape, optional is offset (double) and tolerance (double)
Werner
Part.BSplineCurve & Part.BezierCurve -- for creation nothing needs to be passed. It creates an empty Bezier/B-Spline curve. You need to insert the knots afterwards. It's best to refer to the OCC docs therefore.
makePipe -- expects a single wire (i.e. a shape)
makePipeShell -- expects a list of shape and the second parameter True/False is optional to build a solid or not. The object itself must be a wire
makeThickness -- expects a list of shape (I guess it must be faces) to remove from this shape, optional is offset (double) and tolerance (double)
Werner
Re: Syntax/Synopsis of class-/method-/function-calls
You'll find a chm help file here: http://www.4shared.com/file/128871432/9 ... occ52.html
Check the classes:
* Geom_BezierCurve & Geom_BSplineCurve
* BRepOffsetAPI_MakePipe
* BRepOffsetAPI_MakePipeShell
* BRepOffsetAPI_MakeThickSolid
There the parameters will be discussed in more detail.
Check the classes:
* Geom_BezierCurve & Geom_BSplineCurve
* BRepOffsetAPI_MakePipe
* BRepOffsetAPI_MakePipeShell
* BRepOffsetAPI_MakeThickSolid
There the parameters will be discussed in more detail.