hello guys i try to convert sheet size feet to inch, but i string to number is not work for me, is anyone know the solution for this issue please tell me
@sovitek hello sir again i need your help for this script
Hey @bim6MRER3 bassicly i dont know anything about inches-feet.i try only work in ml…i guees its more a US thing…but i know @jacob.small can help in this kind of stuff
String to Number assumes you’ve only got numbers in the string (i.e. 1.958333).
To convert to decimal feet from feet inches you can use the node from springs which does the hard work of splitting the string at the -
, removing the '
and "
marks, splitting again at the fraction, converting the fraction into a decimal, and adding the inches to the decimal and then dividing by 12, and adding the result to the number of feet.
If you can’t get the springs node to work there are a few other nodes to do the conversion out there (search for stuff like Feet2Frac, etc.), and even some design script on the forum. If even that fails you I recommend you take the measurement yourself instead of pulling a parameter value.
thank you for good time @jacob.small @sovitek