Page 1 of 1

Python Book Help

PostPosted: Tue Dec 09, 2008 7:41 pm
by Race
Thanks for the help with my previous post, I am now trying to do a journal and am having a rough time. First, my book object is in 3 pieces, a cover, spine and pages, that was the way the object came and I tried everything I can think of but blender doesnt group objects I guess. When I apply the Convex Hull Polytope to the Book Cover it shrinks to nothing when I link in, all I see is the spine and pages. The click region works but clicking does nothing. I am using D'Lanors template, do I have to delete all the instructions within the python file? I have looked at others py files for guidance and I have modeled mine after that but nothing happens, my age name is Pakin. The click object is PakinBook, so I am replacing everything with either PakinBook, or PakinPageDefs etc. and for the cover image, is it BookCover.jpg or just BookCover? Also what are the Book Pages supposed to be? I dont have any pages objects for the book, or does it mean something else? I need some serious help here, if you need to see some of the code let me know and I will paste it, thanks for reading. -Race

Re: Python Book Help

PostPosted: Wed Dec 10, 2008 3:24 am
by boblishman
Race wrote:... but blender doesnt group objects I guess....


yes it does ... Select each object using your right mouse button & the Shift key (the one you want to keep the name of, select last), and then, when they all all selected, press ctrl+J ... and click "Join selected meshes ? " ... Next, (with the mesh still selected, press Crt+A and click Apply scale and rotation). You book object is now ready to use and wont "shrink"...(make sure you still have the bounds set as convex hull and that it's an actor)

As for the python, you need to head over to Andy's tutorial at the GoMa ... HERE ... (that's about as detailed as it gets ... ;) )