From: Doug B. <dou...@gm...> - 2010-12-01 00:34:47
|
On Tue, Nov 30, 2010 at 7:11 PM, Emmanuel Tavernier <emm...@la...> wrote: > > > All, > > I have been writing a modification of the Fan Chart report to create a > descendant fan chart (starts from a chosen center person and unfolds for > its descendants). It is not quite finished, as it is not optimized and I > have not yet done the effort of bundling it into an installable add-on. > For the time being, I just import the py file located in > gramps/plugins/drawreports in the add-on manager. My questions are the > following : > - Has anyone already worked on such an add-on ? Sounds interesting. I haven't seen one, I don't think. > - Is there a 'test family' I could work on to check various features ? There are a couple of example databases: http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/example/gramps/data.gramps?revision=10822&pathrev=16235 http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/example/gramps/example.gramps?revision=16235&pathrev=16235 > For example I checked double marriages, but there might be other > standard situations that are more complicated to handle. > - If anybody is interested in trying this add-on, should I send it to > this list, or should I post it directly into the third party add-on part > of the gramps wiki ? The best way is to add it to the gramps-addons repository. For more details, see: http://gramps-project.org/wiki/index.php?title=Addons_development > - Lastly, one thing that really slows my developping is the need to > reload the add-on in gramps, run report etc. Is there a way to simply > call the report generator on the command line and automatically have it > connect to the database to generate a test report ? Yes. See: http://gramps-project.org/wiki/index.php?title=Gramps_3.2_Wiki_Manual_-_Command_Line#report_action_option > Something similar to > if __MAIN__ etc... > > What the script does for the time being is run through the family of all > descendants for a given number of generations, and for each person > assign a wedge angle proportionnal to its number of descendants. Then it > creates the wedges and writes name and dates radially. I only have > examples for my family now, so if there were a test family, I could send > you some pdfs. Look forward to seeing it! -Doug > Thank you, > > > Emmanuel. > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |