PDA

View Full Version : XSI Unit to Foot-Inch Converter


byanfu
08-23-2006, 05:32 AM
Hello,

I’m going to be working on a couple of architectural viz projects and wrote a little PHP script to convert from feet-inch to XSI units. It’s free to use and modify for any propose you have if you have a need for this kind of thing. I know there are a lot of hard core coders here so please don’t rip into me, it’s the first script I have ever written so there is much room for improvements. I’m pretty sure the math is sound based on 1XSI unit = 10cm, but if you see mistakes please let me know.

You can find it here: http://www.joellongie.com/xsilength/

Thanks.

tuna
08-23-2006, 12:37 PM
Thanks for this, I'm sure it'll be quite popular since the question of units is asked about 10 times a day around here. :)

Stoehr
09-11-2006, 09:28 PM
Very helpful! I didn't catch this a couple weeks back, but I needed some info on units today and found this in a search. Very very nice. thank you

byanfu
09-11-2006, 09:34 PM
Thanks,

Feel free to download and modify it as you like.

Singularity
09-12-2006, 06:01 AM
byanfu
Thanks my friend. Very usefull for us old timers raised in imperial. I'm modelling off old WW2 blueprints atm and your script is a godsend.

byanfu
09-12-2006, 07:05 AM
cool Singularity, good luck to you.

dwigfor
09-12-2006, 04:47 PM
How are you guys using this? Setting it as a favorite and accessing thru netview? I'd rather have a script window inside of XSI.

Also, it'd be helpful if you could include a translation of Kilograms to Pounds to help with setting up RBD. Currently, I'm using http://www.manuelsweb.com/kg_lbs.htm

byanfu
09-12-2006, 07:03 PM
Adding the conversion to Kilograms to Pounds would be very easy to do, but since I only know a little about PHP at this point I don't have the skills yet to better incorporate into XSI. Its not the best solution by far but will get the job done if you need a few measurement. If I have time I would like to try and expand on it but right now I am little overloaded. Also from what I hear Python would probibly be a better language to do this in if you wanted it more XSI friendly.

Sbowling
09-13-2006, 06:35 AM
This thread inspired me to write a script that creates polygon grid, sets the grid sizes to inches or feet and and puts them in a new unselectable layer and then turns off the background grid.

Well, while trying to figure out how to turn off the background grid through scripting (after everything else was done) I realized I could create a very simple script that would set the background grid and snap size to inches or feet without the problems of having the polymesh grid in the user or camera views. So, the simple version is in the scripting section. :)

http://forums.cgsociety.org/showthread.php?p=3852181#post3852181

byanfu
09-13-2006, 08:48 AM
Cool Sbowling, Im glad this is starting to get people finding some nice solutions :)

CGTalk Moderation
09-13-2006, 08:48 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.