Starting parts
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Starting parts
I think if you model something based on an existing object, you can hardly be held responsible for breaking some copyright... It's the same as if for example you model an Ikea furniture, I don't think you can be prohibited to do that. The difference is probably, as you say, if you provide a model that is not yours...
Re: Starting parts
I also think we are mostly of the save side if some user model parts with FreeCAD. The copiright laws mostly apply to CAD-files and drawings itself. For the general shape there are different legal standards. In germany you can file a "Geschmacksmuster" which is a light wight patent on shapes (styling). But this mostly apply (like patents) if you pursue commercial purpose. As long as we don't earn money with the shape gallery we should be save (in that sense).
I fear at some stage of our little venture we need a lawyer....
I fear at some stage of our little venture we need a lawyer....
Stop whining - start coding!
Re: Starting parts
One safe thing to do is certainly to leave that library as something outside freecad itself, a community-driven side-project...
Re: Starting parts
OK, I uploaded files to the library.
I would like to know if I did it right!
Here's what I did:
To get a local copy of the git repo.
Then I added folders and files in my local copy. Then I used
to add the files. Then
to make commits.
And finally to push those files I did
Was that OK? Because I've read of remotes and of merge and it still all confuses the hell out of me.
I would like to know if I did it right!
Here's what I did:
Code: Select all
git clone https://github.com/yorikvanhavre/FreeCAD-library.git
Then I added folders and files in my local copy. Then I used
Code: Select all
git add dir/filename
Code: Select all
git commit -m "Commit description"
And finally to push those files I did
Code: Select all
git push origin master
Re: Starting parts
Wow, nice! Just browsing the repo now, yes it seems you did everything perfectly.
One git command I use a lot is "git status": it shows you everything, in which branch you are, if you are ahead of the remote repo, which files are about to be committed, etc... And you can undo anything, even revert a commit you pushed to the online repo.
Basically the greatest danger of git, which is to modify the history of the online repo (for example someone pushed something after you pulled, and committing your changes now would wipe out his changes), is prevented by github (sourceforge too), if you try to push something that has a different history than the online repo, your push is rejected. So there is actually not much harm possible.
To be on the safe side, always do "git pull" before doing some work, so you're sure to work with the latest version. With freecad itself, some people (you know who i mean ) work so fast that sometimes someone commits after you pulled, during the 5 minutes you've been working on fixing a bug, and in those cases your commits are rejected, you need to git pull again. Git then creates some "fake" commits (you can see them all over the freecad commits - Yorik merged the contents of repo XXX - but this is all normal.
One git command I use a lot is "git status": it shows you everything, in which branch you are, if you are ahead of the remote repo, which files are about to be committed, etc... And you can undo anything, even revert a commit you pushed to the online repo.
Basically the greatest danger of git, which is to modify the history of the online repo (for example someone pushed something after you pulled, and committing your changes now would wipe out his changes), is prevented by github (sourceforge too), if you try to push something that has a different history than the online repo, your push is rejected. So there is actually not much harm possible.
To be on the safe side, always do "git pull" before doing some work, so you're sure to work with the latest version. With freecad itself, some people (you know who i mean ) work so fast that sometimes someone commits after you pulled, during the 5 minutes you've been working on fixing a bug, and in those cases your commits are rejected, you need to git pull again. Git then creates some "fake" commits (you can see them all over the freecad commits - Yorik merged the contents of repo XXX - but this is all normal.
Re: Starting parts
I haven't tried it on your repo. But for my own repos I'am able to do force a push.yorikvanhavre wrote:Basically the greatest danger of git, which is to modify the history of the online repo (for example someone pushed something after you pulled, and committing your changes now would wipe out his changes), is prevented by github (sourceforge too), if you try to push something that has a different history than the online repo, your push is rejected. So there is actually not much harm possible.
http://stackoverflow.com/questions/5094 ... rom-push-f
https://support.enterprise.github.com/e ... rce-Pushes
Re: Starting parts
Hmmm, who could that be?yorikvanhavre wrote:With freecad itself, some people (you know who i mean ) work so fast that sometimes someone commits after you pulled, during the 5 minutes you've been working on fixing a bug, and in those cases your commits are rejected, you need to git pull again.
Re: Starting parts
Here is my approach for standard parts like screws. The macro provides four type of ISO-screws in several diameters and lengths.
- Attachments
-
- screw_maker.py.zip
- Macro for making screws
- (8.23 KiB) Downloaded 158 times
Re: Starting parts
Great work.
As Jürgen pointed out, a script should not be part of the parts library for security reasons. I would like to see this script included into FreeCAD (LGPL), but unfortunately it is licensed GPL 2+.
The heads look relay great. 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.
As Jürgen pointed out, a script should not be part of the parts library for security reasons. I would like to see this script included into FreeCAD (LGPL), but unfortunately it is licensed GPL 2+.
The heads look relay great. 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.