News:

New TurboCAD Mac 2D/3D Training Essentials

Main Menu

Feature of Materials.ini file

Started by daeschner, January 17, 2016, 09:38:40 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

daeschner

In the course of adding some materials to the the Materials.ini file I decided to add an entry for EPS or Expanded Polystyrene otherwise known as Styrofoam (for a future pond dock). Since it can have a wide range of densities I decided to suggest a range of values in the description such as "... .70 to 2.9 lbs/ft3...". My default value was .000868 lbs/in3 or 1.5 lbs/ft3. It did not work and I always got a zero in the density field.  I finally narrowed it down to the slash in the description of "lbs/ft3".  When I spelled it out as "lbs per ft3" it worked fine.  I generally think of this sort of problem as a bug but some would call it a feature.  :)

Doug

daeschner

Thanks again Mitch,

Yeah, I took a close look at the parenthesis and they were correct and then I considered that it could not handle all the zeroes so I gave it a bogus density of .01 and it still did not work.  I did enter an error the first time I edited it because I forgot to put in "Plastic." but I quit TurboCAD Mac Pro 8 for each iteration of my troubleshooting. Another consideration was that my description was too long since it was a few characters longer than any other in the list but that turned out not to be the case.  It was a couple of iterations later that I narrowed it down to the slash. Can you add EPS to your Materials.ini file with a slash in the description and have it work?

Doug

daeschner

#2
Thanks Mitch,

Oh, guess I missed that.  I'll leave it as is since it now works (if it ain't broke don't fix it) and remember that with parenthesis enclosing a slash it is a feature.  ;D

Doug