Avoid numbers in Operator Parameter
3697 11 2- bhb
- Member
- 67 posts
- Joined: April 2017
- Offline
I need to know if posible to avoid certain numbers when defining the Range in a float expresion parameter.
The float Range goes from 0 to 1.
I need to avoid the following numbers:
0
0,25
0,5
0,75
1
In some expresions, using the symbols ^ or ! negates de selection.
¿Is there a way to use in Range selecction??
Thanks.
The float Range goes from 0 to 1.
I need to avoid the following numbers:
0
0,25
0,5
0,75
1
In some expresions, using the symbols ^ or ! negates de selection.
¿Is there a way to use in Range selecction??
Thanks.
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- bhb
- Member
- 67 posts
- Joined: April 2017
- Offline
if (ch("testx")==0||ch("testx")==0.25||ch("testx")==0.5||ch("testx")==0.75||ch("testx")==1,ch("testx")+0.001,ch("testx"))
after using Refine in a quad_grid + Copy to point , the corners breaks the simulation. I solved it using with the Resample node and deleting the corners (with Sort to point (0,0,0) + Delete 0,1,2,3 points).
The image below is for place a Door in a wall.
¿Is there any trick or best way to do??
Im very newbie.
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- anon_user_40689665
- Member
- 648 posts
- Joined: July 2005
- Offline
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- bhb
- Member
- 67 posts
- Joined: April 2017
- Offline
is it possible to share the scene?The photo I uploaded? Yes of course you can.
Both examples you uploaded are fantastic.
For the first one is dificult to understand the relation between “Resample>segments” and “Marker>modulo” , changing those numbers alters the number and positions of the doors.. but dificult to control them.
The second one has the issue with the Bool, it breaks also the corners making dificult to place a door after in such place.
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
@The second one has the issue with the Bool, it breaks also the corners making dificult to place a door after in such place.
Yes, I know, that's what I said:
Use a Carve SOP with “Breakpoints” on the “Wall Curve”
Then put it in an HDA with a select slider for the “Wall”.
On the Segments add A: a resample with proper values, then delete
first/last point.
Simple example attached, yes I know, it needs some more love ;-)
Yes, I know, that's what I said:
Use a Carve SOP with “Breakpoints” on the “Wall Curve”
Then put it in an HDA with a select slider for the “Wall”.
On the Segments add A: a resample with proper values, then delete
first/last point.
Simple example attached, yes I know, it needs some more love ;-)
English is not my native language, sorry in advance for any misunderstanding :-)
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- bhb
- Member
- 67 posts
- Joined: April 2017
- Offline
-
- Quick Links