algorithmic modeling for Rhino
hello everyone,
how to create a closed geometry from surafces?
In this case I want to crate a kind of cube (but not straight) or a box from 6 surfaces.
At least I need to calculate the volume form this geometry.
When I do this by using the join-Brep-tool I get an unusfull result like: 2.8798e+7
But anyway.At first I'm higly interessted in understanding on how to get a closed geometry from touching surfaces.
Thank you for your help.
Tags:
hello Johannes,
I think it would be better if you posted your file so people can examine it and help you.
In the following simple example [joinbrep] works just fine in recreating a box from its faces so you should investigate the differences from your file (maybe your surfaces have gaps between them, or maybe they are trimmed surfaces and this somehow creates a problem, i don't know...)
cheers,
nikos
Hello Nikos,
sorry for my late reply.
Please find my file below.
I found out the meaning of the unusefull numbers and that my definition works well.
The e+7 from 0. 1.0539e+7 shows the missing numbers behind the point which can not be shown because of the length.
That was all i needed to know.
So I found a way to get a suitable result by deviding it.
Thank You.
I didn't know that either, thanks for getting back.
nikos
Hi Johannes, hi Nikos,
I think Roundtrip is useful here:
Format("{0:R}", x)
two search results:
http://www.grasshopper3d.com/forum/topics/equality-in-function-does...
http://www.grasshopper3d.com/forum/topics/create-set-not-working
I think default is rounding at 6 decimals for GH,
maybe the settings in File > Preferences > Display will adjust that. I didn't check that.
I don't know what the general rule for displaying is, and where/when/who it deviates from it...
Hi!
As Pieter already mentioned you can specify the representation of floating point numbers in the preferences.
The scientific notation is used when a number is smaller than 10^(E-Lower) or greater than 10^(E-Upper).
If "Special Case Integers" is selected then floats near to natural numbers (deviation < 1e-12) are represented without scientific notation. Also floats greater than 1e15 are displayed without exponent because they can't represent decimal places and are therefore handled like naturals.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by