The new feature is a dialog window, where you can find, select and create the bearing without typing a word of code!
Self explanatory video:
How to install and start the BTool in linux:
-Download the files here
-Extract in /usr/lib/freecad/Mod
-In FreeCAD command line, type:
import BMain
BMain.BTool()
I think that the dialog window is so simple that I'm not going to describe how it works step by step.
I only want to clarify this:
d means inner radius of the bearing
D means outer radius of the bearing
B means bearing width
I should add a small picture to display that.
But the tool is almost finished, this is the todo list:
-Fix the bearing positioning script
-Add "cancel" button to dialog
-Add more parametric bearings
-Develop "Bearing smart placement function"
If you try it and like it, or if you have any problems or concerns, just leave me a comment :)
Bye!