) function if you've already got a boolean value.
This expression:
x < 12
results in exactly the same things as this expression:
If( x < 12, True, False )
If() is only really useful when you want to return non-boolean data, like so:
If( x < 12, x, 100-x )
In this case, the expression will return either x, or 100-x if x is larger than or equal to 12:
x result
1 1
2 2
10 10
11 11
12 88
13 87
14 86
18 82
70 30
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:22am on August 10, 2011
ce?) (line 86)""Error: 'Rhino.DocObjects.Tables.LightTable' does not contain a definition for 'Sun' (line 86)"
I'm using Rhinoceros 4.0 v9 and just recently installed the Rhino4.0SDK. Any comments/suggestions would be appreciated. Thanks …
Hey, you need to reparameterize the Srf. You're running into the problem described on p. 86 in the primer, where you need to reset the domain of the surface to be between 0 and 1 :)
Hi Rasmus,
This looks like Tapeworm to me, but you might be interested in testing my Phasma definition.
I'll releasse v0.9.9b with mesh relaxation tomorow I hope.
Fred.