I have no problem to give the macro another license and have it inside of FreeCAD. But I am wondering, as I copied the license claim from an FreeCAD-file. It was FeaturePython.py from wmayer.shoogen wrote:
I would like to see this script included into FreeCAD (LGPL), but unfortunately it is licensed GPL 2+.
I have a little bit different view. There are good reasons to have no python code inside of an online library.shoogen wrote:
As Jürgen pointed out, a script should not be part of the parts library for security reasons.
I am not shure with the chamfer. In technical drawings all screws have a chamfer, as this is the way threads are drawn. But not all real screws have chamfers. ISO 2009 has no chamfer. I saw a note on an educational document, mentioning an ISO-standard 4753 that it is allowed without chamfer for <= M4. I do not have this standard yet. I think there is some improvement possible.shoogen wrote:
But i think there should be a chamfer with amount of the pitch at end of the screw (or any male thread).
From the UI perspective i personally would prefer to use the task view instead of a dialog.
My starting point was this German document, which also influenced the selection of the screws:normandc wrote:
Out of curiosity, where did you get the specs?
I changed the license to LGPL. Two additional screw-types are added. A washer was added. Screws with chamfer have a chamfer now.shoogen wrote: I would like to see this script included into FreeCAD (LGPL), but unfortunately it is licensed GPL 2+.
Oh that's really cool!ulrich1a wrote:If you select a circle on a hole, or alternativel the inner surface of a circular hole and the circle at top of that hole at the same time, the screw will be placed into the hole with the create button.
Code: Select all
ScrewMaker.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint) # This function brings the window to the top