E+005 number view- change to view entire number - Grasshopper2024-03-28T21:06:59Zhttps://www.grasshopper3d.com/forum/topics/e005-number-view-change-to?commentId=2985220%3AComment%3A732611&feed=yes&xn_auth=noI added culture data to Grass…tag:www.grasshopper3d.com,2013-02-22:2985220:Comment:7947882013-02-22T10:52:03.021ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>I added culture data to Grasshopper and now Sorting and Formatting can be made to use the rules of a specific culture/language:</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768794637?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2768794637?profile=original" width="441" class="align-center"/></a></p>
<p></p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p>
<p>I added culture data to Grasshopper and now Sorting and Formatting can be made to use the rules of a specific culture/language:</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768794637?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2768794637?profile=original" width="441" class="align-center"/></a></p>
<p></p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p> Grasshopper (like Rhino) only…tag:www.grasshopper3d.com,2013-02-06:2985220:Comment:7841072013-02-06T18:04:49.172ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>Grasshopper (like Rhino) only supports English numeric formatting by default. The confusion would be complete if we allowed variable notation like that.</p>
<p></p>
<p>If you <em>must</em> create Dutch floating point numbers for export or display purposes then I'm afraid you'll have to perform a string replace operation. And since you're swapping two characters, you'll need to perform a game of Three-card-Monty as well:…</p>
<p></p>
<p></p>
<p>Grasshopper (like Rhino) only supports English numeric formatting by default. The confusion would be complete if we allowed variable notation like that.</p>
<p></p>
<p>If you <em>must</em> create Dutch floating point numbers for export or display purposes then I'm afraid you'll have to perform a string replace operation. And since you're swapping two characters, you'll need to perform a game of Three-card-Monty as well:</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768788286?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2768788286?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p></p>
<p></p>
<p>I could add a Culture input to the Format component, you could then specify a culture such as "nl-NL". Cultures are also used to modify the way strings are sorted so maybe the string sort component also needs a culture input.</p>
<p></p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p> Hi David:
I'm struggling to r…tag:www.grasshopper3d.com,2013-02-03:2985220:Comment:7819942013-02-03T21:01:11.757ZJustin Dileshttps://www.grasshopper3d.com/profile/JustinDiles
<p>Hi David:</p>
<p>I'm struggling to reveal more numbers behind the decimal place on floats in definition. A sample number displays as "22.786307", but I know that there are are more numbers behind the decimal point. How can I set a custom resolution for viewing, say, 12 numbers behind the decimal point instead of six?</p>
<p></p>
<p>Many Thanks!</p>
<p></p>
<p>Justin</p>
<p>Hi David:</p>
<p>I'm struggling to reveal more numbers behind the decimal place on floats in definition. A sample number displays as "22.786307", but I know that there are are more numbers behind the decimal point. How can I set a custom resolution for viewing, say, 12 numbers behind the decimal point instead of six?</p>
<p></p>
<p>Many Thanks!</p>
<p></p>
<p>Justin</p> Its a bit out of context and…tag:www.grasshopper3d.com,2012-11-21:2985220:Comment:7326112012-11-21T19:46:11.809ZJesus Galvezhttps://www.grasshopper3d.com/profile/JesusGalvez
<p>Its a bit out of context and out of date, but is it possible to find the pathmapper component operators listed and explained in a page like the links which you gave above?</p>
<p></p>
<p>Thanks</p>
<p>Its a bit out of context and out of date, but is it possible to find the pathmapper component operators listed and explained in a page like the links which you gave above?</p>
<p></p>
<p>Thanks</p> Where exactly do i have to ty…tag:www.grasshopper3d.com,2012-11-15:2985220:Comment:7268262012-11-15T01:25:14.688ZJonathan Wiederinhttps://www.grasshopper3d.com/profile/JonathanWiederin
<p>Where exactly do i have to type in that code?</p>
<p>thanks</p>
<p>Where exactly do i have to type in that code?</p>
<p>thanks</p> why this is not working now?…tag:www.grasshopper3d.com,2012-09-07:2985220:Comment:6788972012-09-07T11:29:03.597ZPhilipphttps://www.grasshopper3d.com/profile/Philipp
<p>why this is not working now?</p>
<p>I used this format issue for a long time but it is not working now on the last grasshopper...</p>
<p>why this is not working now?</p>
<p>I used this format issue for a long time but it is not working now on the last grasshopper...</p> Hi David,
This XML fix works…tag:www.grasshopper3d.com,2012-02-26:2985220:Comment:5442192012-02-26T07:38:28.321ZDaniel Kautzhttps://www.grasshopper3d.com/profile/DanielKautz
<p>Hi David,</p>
<p>This XML fix works perfectly, thank you!</p>
<p></p>
<p>I encountered the limits of scientific notation for the first time in grasshopper as a result of trying to work with WGS84 decimal coordinates and GIS data.</p>
<p></p>
<p>Would you consider adding a UI control for the upper and lower limits? Perhaps within the right-click menu for the numbers components? Or does this cause problems elsewhere?</p>
<p>Hi David,</p>
<p>This XML fix works perfectly, thank you!</p>
<p></p>
<p>I encountered the limits of scientific notation for the first time in grasshopper as a result of trying to work with WGS84 decimal coordinates and GIS data.</p>
<p></p>
<p>Would you consider adding a UI control for the upper and lower limits? Perhaps within the right-click menu for the numbers components? Or does this cause problems elsewhere?</p> I did figure one way to work…tag:www.grasshopper3d.com,2011-01-14:2985220:Comment:1502672011-01-14T23:33:32.634ZStan Carrollhttps://www.grasshopper3d.com/profile/Stan_Carroll
<p>I did figure one way to work around the scientific notation issue. I offer it here in case it might help someone in the future. I was originally working on a coordinate system dictated by my client. The project location was a very far distance from the 0,0,0. Therefore, all my point coordinates were 7 or 8 digit numbers which was the reason the scientific notation kicked in. As a work around, I moved my model closer to 0,0,0 and will translate to owner coordinates when needed. Can it…</p>
<p>I did figure one way to work around the scientific notation issue. I offer it here in case it might help someone in the future. I was originally working on a coordinate system dictated by my client. The project location was a very far distance from the 0,0,0. Therefore, all my point coordinates were 7 or 8 digit numbers which was the reason the scientific notation kicked in. As a work around, I moved my model closer to 0,0,0 and will translate to owner coordinates when needed. Can it be that simple???? Yes it can... At least it was for me this time.</p>
<p> </p>
<p>It never fails, I learn something every single day.</p> Nope, at present the formatti…tag:www.grasshopper3d.com,2011-01-14:2985220:Comment:1501632011-01-14T14:45:07.439ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>Nope, at present the formatting is hard-coded, you can't change it. </p>
<p>And relax, you're not changing 'code'. It's just xml. And you can always rip out the entire line to revert to default, or even delete the entire xml file.</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p>
<p>Nope, at present the formatting is hard-coded, you can't change it. </p>
<p>And relax, you're not changing 'code'. It's just xml. And you can always rip out the entire line to revert to default, or even delete the entire xml file.</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p> Hello David,
Thank you for th…tag:www.grasshopper3d.com,2011-01-14:2985220:Comment:1500982011-01-14T11:49:31.489ZStan Carrollhttps://www.grasshopper3d.com/profile/Stan_Carroll
<p>Hello David,</p>
<p>Thank you for the feed back. The ability to adjust the threshold will be a welcome addition, although changing constants in code is a bit scary.</p>
<p><br/>In the meantime, can you think of an alternate method to avoid the undesirable scientific notation rounding challenge? </p>
<p> </p>
<p>Thank you for all your hard work. GH is an amazing tool. I am so happy it came along during my lifetime. It allows me to get the edge on my competition.</p>
<p> </p>
<p>Stan</p>
<p>Hello David,</p>
<p>Thank you for the feed back. The ability to adjust the threshold will be a welcome addition, although changing constants in code is a bit scary.</p>
<p><br/>In the meantime, can you think of an alternate method to avoid the undesirable scientific notation rounding challenge? </p>
<p> </p>
<p>Thank you for all your hard work. GH is an amazing tool. I am so happy it came along during my lifetime. It allows me to get the edge on my competition.</p>
<p> </p>
<p>Stan</p>