Search found 658 matches
- Sat Feb 26, 2011 9:59 am
- Forum: Developers corner
- Topic: Gears generation script
- Replies: 34
- Views: 8859
Re: Gears generation script
For the gear tooth profile maybe you are interested in a project of mine: http://gggears.sourceforge.net/ where you can find a tooth profile generator included, which is written in fortran and is capable of producing geometries for outer and inner gearings not only for the involute part but also for...
- Sat Feb 26, 2011 9:47 am
- Forum: Developers corner
- Topic: TODO for sketcher
- Replies: 396
- Views: 68643
Re: TODO for sketcher
Since PropertyConstraintList always allocates its own copies of the objects that it stores, I think it should also be responsible for deallocating them, so for the setValues method I would suggest: void PropertyConstraintList::setValues(const std::vector<Constraint*>& lValue) { aboutToSetValue()...
- Sat Feb 26, 2011 8:11 am
- Forum: Developers corner
- Topic: Coding style
- Replies: 4
- Views: 1665
Coding style
I have looked here:
https://sourceforge.net/apps/mediawiki/ ... eloper_hub
and I couldn't find any information about the coding style used for the C++ part of FreeCAD. Is there a preferred coding style? A corresponding entry in the wiki would be very helpful.
https://sourceforge.net/apps/mediawiki/ ... eloper_hub
and I couldn't find any information about the coding style used for the C++ part of FreeCAD. Is there a preferred coding style? A corresponding entry in the wiki would be very helpful.
- Fri Feb 25, 2011 11:37 pm
- Forum: Developers corner
- Topic: TODO for sketcher
- Replies: 396
- Views: 68643
Re: TODO for sketcher
I still have doubts. Actually for the following snippet std::vector< Constraint * > newVals(vals); Constraint *constNew = constraint->clone(); newVals.push_back(constNew); this->Constraints.setValues(newVals); delete constNew; return this->Constraints.getSize()-1; I see no reason why it couldn't bec...
- Fri Feb 25, 2011 9:38 am
- Forum: Developers corner
- Topic: TODO for sketcher
- Replies: 396
- Views: 68643
Re: TODO for sketcher
ok, should I fix things like this or are you working on it?
- Thu Feb 24, 2011 9:43 pm
- Forum: Developers corner
- Topic: TODO for sketcher
- Replies: 396
- Views: 68643
Re: TODO for sketcher
I am a bit stuck in the following question with respect to memory management. From the definition of the PropertyConstraintList class we have: private: std::vector<Constraint*> _lValueList; Consider e.g. the setValues method: void PropertyConstraintList::setValues(const std::vector<Constraint*>&...
- Thu Feb 24, 2011 3:14 pm
- Forum: Developers corner
- Topic: TODO for sketcher
- Replies: 396
- Views: 68643
Re: TODO for sketcher
the description in the mantis ticket for deletion support helps already a lot. I will come back soon probably with questions, or maybe directly with a patch .
- Thu Feb 24, 2011 12:31 am
- Forum: Developers corner
- Topic: TODO for sketcher
- Replies: 396
- Views: 68643
TODO for sketcher
Hi, it is a really great work you are doing with freecad, so I have decided to to reserve some time for helping the project in the next months. For the beginning I am interested in helping with the sketcher module so I would like to ask what has to be done yet and see what I could start with. I have...