Thank you, I have push my first part !yorikvanhavre wrote:Okay, that's done. I removed user Rockn... The guy must have wondered what I wantedrockn wrote:Yes wood-galaxy is my github username. Please authorized me
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
Formations - Assistance - Développement : https://freecad-france.com
Re: Starting parts
Shoogen and Yorik is right! We have to start and see how its develop.
But - don't forget to assign CC licenses (preferable CC-BY) , or we have a big problem in the future and have to throw out all the stuff we have no license fore....
But - don't forget to assign CC licenses (preferable CC-BY) , or we have a big problem in the future and have to throw out all the stuff we have no license fore....
Stop whining - start coding!
Re: Starting parts
Aah very well remembered. I'll add a license declaration on the repo. Rockn, since you already have a part there, your part is now officially CC-licensed, ok?jriegel wrote:But - don't forget to assign CC licenses (preferable CC-BY) , or we have a big problem in the future and have to throw out all the stuff we have no license fore....
Re: Starting parts
This discussion escalated far beyond what I initially imagined.
Building a repository of models that can be easily shared is a good thing, but i still think that having 5..10 raw parametric parts that are commonly used in engineering and are easily accessible through menu, makes work a lot easier than just having a few primitives.
So, I will make a macro with a simple dialog and a few options to create raw parts - like in my first post. Probably, it is best to generate the parts and appropriate sketches by code instead of just loading previously modeled parts - would you agree?
If this turns out to be useful - it can later be easily implemented as a standard feature.
Building a repository of models that can be easily shared is a good thing, but i still think that having 5..10 raw parametric parts that are commonly used in engineering and are easily accessible through menu, makes work a lot easier than just having a few primitives.
So, I will make a macro with a simple dialog and a few options to create raw parts - like in my first post. Probably, it is best to generate the parts and appropriate sketches by code instead of just loading previously modeled parts - would you agree?
If this turns out to be useful - it can later be easily implemented as a standard feature.
Re: Starting parts
Yes, of course, I'm agree with that.yorikvanhavre wrote:Aah very well remembered. I'll add a license declaration on the repo. Rockn, since you already have a part there, your part is now officially CC-licensed, ok?jriegel wrote:But - don't forget to assign CC licenses (preferable CC-BY) , or we have a big problem in the future and have to throw out all the stuff we have no license fore....
Formations - Assistance - Développement : https://freecad-france.com
Re: Starting parts
As far as i remember the python interface to the constraints is not complete yet.bajsi wrote:Probably, it is best to generate the parts and appropriate sketches by code instead of just loading previously modeled parts - would you agree?
There are to sub-projects you might want to keep in mind.
1. There are feature requests to 'name' certain (esp. numerical) constraints.
2. When the resource framework will be fully functional, the part libraries can likely be viewed in FreeCAD (like a panel, or the task view)
IMHO creating sketches from python is ugly, because you have to give coordinates in the first place to create lines and arcs. And later keep track of the two geometry indexes.
Re: Starting parts
also remember that sharing python code in macros is not safe. Everything can be in such a macro, even code that emptys you harddrive. Thats the reason no python code is used in the freecad files and why it's a bad idea to build a repository upon macros.
Re: Starting parts
I agree with ickby and shoogen, but:
- even with incomplete sketcher, creating objects from python is interesting for several reasons, one of the best one being to show other people how it works, and after all scripts can be bettered later, once the sketcher gains more tools
- the dangerousness of python scripts can be much minimized (nullified) if they are on a "trusted" repository (such as my github account? )
so I would say why not? In any case, I find it interesting to host Parts in several forms, modeled objects and scripted ones... If this grows to something cool, we can see about next steps (how to integrate all that in FreeCAD)
- even with incomplete sketcher, creating objects from python is interesting for several reasons, one of the best one being to show other people how it works, and after all scripts can be bettered later, once the sketcher gains more tools
- the dangerousness of python scripts can be much minimized (nullified) if they are on a "trusted" repository (such as my github account? )
so I would say why not? In any case, I find it interesting to host Parts in several forms, modeled objects and scripted ones... If this grows to something cool, we can see about next steps (how to integrate all that in FreeCAD)
Re: Starting parts
Hi,
attached is a package of macros for initial parametric parts: profiles L and U, round and rectangular tube, and round bar (which is basically equal to cylinder primitive).
Please, test it a little and let me know what you think.
attached is a package of macros for initial parametric parts: profiles L and U, round and rectangular tube, and round bar (which is basically equal to cylinder primitive).
Please, test it a little and let me know what you think.
- Attachments
-
- initParts_v000.zip
- (16.7 KiB) Downloaded 211 times
-
- Posts: 554
- Joined: Sat Apr 07, 2012 2:42 am
Re: Starting parts
One thing that comes to mind: Will we have separate templates for Part and PartDesign workbenches? Since one will be sketchbased and the other won't ...