Hi there,
i have a very long script that basically rebuilds a bad mesh with a god topology. each function deals with a different part of the body eg. torso/foot/leg/arm/head etc. However each section of the body requires alot of work. the hand function is almost 1000 lines long of code and there are alot of similar processes going on so it can be hard to work my way through the script and am constantly losing my place.
i was wondering is it good practice to seperate each of these functions off into their own python script so i have ‘hand.py’, ‘leg.py’ etc and just have a ‘main’ script which triggers everything off. This way i think the main script will be readable and i can organise things better.
is this a smart thing to do or are you only supposed to create modules for functions that need to be called frequently.
thanks alot,
Sam