ok, now how can i limit the rotation of the first bone?
other question : if i create bones with kinematics, can i rotate the bone along the direction of the bone itself (z angle range) ? for example: bones for hand, i want that kind of rotation for the palm, so i can make the palm face down/up.
thx,
clay~
Found 58 posts.
Search results Show results as topic list.
Technical Discussion » constrain problem
- clay
- 58 posts
- Offline
Technical Discussion » constrain problem
- clay
- 58 posts
- Offline
sorry , i tried to … but when i click this link:
i got something like this : “The topic or post you requested does not exist”
clay~
edward
Perhaps this thead might help:
http://www.sidefx.com/forum/viewtopic.php?t=864 [sidefx.com]
i got something like this : “The topic or post you requested does not exist”
clay~
Technical Discussion » constrain problem
- clay
- 58 posts
- Offline
yes , angle constraints.
NOTE : this only happen when i try version 6.1 and it only happen on first bone - after the root (the second, third etc will work fine)
create/bones/ik with constraint
set the constraint values of x,y,z of first bone (chain_bone1) to 0
if i did this in version 5.5 , that bone will become rigid.
in v.6.1 i did the same things and it has no effect at all, i can still move it around.
other thing is in 6.1 the kin_chop's export flag is off by default, and if i toggle it on/off , it doesn't give me any effect. it's different from 5.5, which will give any predictable result.
clay~
NOTE : this only happen when i try version 6.1 and it only happen on first bone - after the root (the second, third etc will work fine)
create/bones/ik with constraint
set the constraint values of x,y,z of first bone (chain_bone1) to 0
if i did this in version 5.5 , that bone will become rigid.
in v.6.1 i did the same things and it has no effect at all, i can still move it around.
other thing is in 6.1 the kin_chop's export flag is off by default, and if i toggle it on/off , it doesn't give me any effect. it's different from 5.5, which will give any predictable result.
clay~
Technical Discussion » constrain problem
- clay
- 58 posts
- Offline
when creating bones, i couldn't set up the constrain for the first bone right after the root. bydefault (if i don't change the name) the chain_bone1 under chain_root1 has this problem.
The chain_bone2, 3 , 4 etc. has no problem at all.
the export flag in kin_chops also seems not to work properly.
anyone can help me?
thx,
clay~
The chain_bone2, 3 , 4 etc. has no problem at all.
the export flag in kin_chops also seems not to work properly.
anyone can help me?
thx,
clay~
Technical Discussion » if - syntax error
- clay
- 58 posts
- Offline
i create a script like this:
set oplist = `execute(“opls -d sphere*”)`
if ($oplist) then
echo ok
else
echo Sorry, object not found.
endif
but i got error: invalid if syntax, i checked that this happened probably because the $oplist has an array-like value. I mean , it works if the $oplist contain single numeric value or string etc.
anyone know how to fix it?
the goal with that ‘if’ is to check if the opls command return any value or not(null)
clay~
set oplist = `execute(“opls -d sphere*”)`
if ($oplist) then
echo ok
else
echo Sorry, object not found.
endif
but i got error: invalid if syntax, i checked that this happened probably because the $oplist has an array-like value. I mean , it works if the $oplist contain single numeric value or string etc.
anyone know how to fix it?
the goal with that ‘if’ is to check if the opls command return any value or not(null)
clay~
Technical Discussion » set value by using function()
- clay
- 58 posts
- Offline
in my case:
i created a new geo type, in param–> callback , i put a function like this:
`myfunction(xxx)`. ‘myfunction()’ is a custom expression that i created .
in this function, i put some ‘opparm’ by using -execute:
execute(“opparm bla bla”);
so i think it would be simple if there's an expression that can do the same thing like ‘opparm’, which mean i don't have to use ‘execute()’ to call the opparm.
i know i can make a hscript (already did and thanx about that ‘opparm’ anyway) and put it in script directory, but i just want practicing to handle a similar task using expression.
clay~
i created a new geo type, in param–> callback , i put a function like this:
`myfunction(xxx)`. ‘myfunction()’ is a custom expression that i created .
in this function, i put some ‘opparm’ by using -execute:
execute(“opparm bla bla”);
so i think it would be simple if there's an expression that can do the same thing like ‘opparm’, which mean i don't have to use ‘execute()’ to call the opparm.
i know i can make a hscript (already did and thanx about that ‘opparm’ anyway) and put it in script directory, but i just want practicing to handle a similar task using expression.
clay~
Technical Discussion » onchange
- clay
- 58 posts
- Offline
thx lucap,
it works..but why it's executed twice?
i tested by putting ‘message test’ in callback, and when i change the value, the message is displayed twice, why?
what if i want to apply this to built-in op type, the parameter is locked, there's no callback param available. can i do this?
clay~
it works..but why it's executed twice?
i tested by putting ‘message test’ in callback, and when i change the value, the message is displayed twice, why?
what if i want to apply this to built-in op type, the parameter is locked, there's no callback param available. can i do this?
clay~
Technical Discussion » onchange
- clay
- 58 posts
- Offline
if i create a new object type and its parameters as well, then i want to add an event handler for this parameter, so if the parameter is modified/changed this handler will call a function.
kind like –> onchange().
the goal is to make a filter , so if someone change the value too high , it will be automatically cut down to max value allowed. it's similar to ‘clamp’, but this time i hope i can make a ‘realtime’ filter.
is it possible or not?
clay~
kind like –> onchange().
the goal is to make a filter , so if someone change the value too high , it will be automatically cut down to max value allowed. it's similar to ‘clamp’, but this time i hope i can make a ‘realtime’ filter.
is it possible or not?
clay~
Technical Discussion » set value by using function()
- clay
- 58 posts
- Offline
thanx Simon,
i don't want to animate it this time. Is there's any expression that's similar to this hscript (opparm) ?
clay~
i don't want to animate it this time. Is there's any expression that's similar to this hscript (opparm) ?
clay~
Technical Discussion » set value by using function()
- clay
- 58 posts
- Offline
how to set/change the value of any OP parameter (for example : scale,tranlation of xform1) by using expression? in this case , i don't want to type the expression in the input box itself. what i want to do is creating a function that's executed by other event and this function contain some scripts that look probably like this :
set ch(“myOPparam”)= 123;
which i tried and didn't work.
clay~
set ch(“myOPparam”)= 123;
which i tried and didn't work.
clay~
Technical Discussion » curve shape
- clay
- 58 posts
- Offline
when i create a nurbs curve, let say with 12 cv and it has specific shape, then i use blast OP to blast first 8 cv , the result is showing that the shape of my curve is changed, of course it's because the removed cv has control to the overall shape.
how to keep the shape unchanged? can i hide some cv (and exclude them for next operation) rather than blast them to keep the shape?
thx,
clay~
how to keep the shape unchanged? can i hide some cv (and exclude them for next operation) rather than blast them to keep the shape?
thx,
clay~
Technical Discussion » view operation
- clay
- 58 posts
- Offline
i have some questions :
- is it possible to change the ‘tab’ and ‘space’ key that we use for access the houdini menu and doing view operation (thumble,pan etc)
- while i'm working , can i record everything i do to script (edit/modify etc) ? so , it's like ‘recording script’ feature in zbrush. so i can replay it later.
- what script command that associate with panning, zooming, thumbling operation in viewer?
thx,
clay~
- is it possible to change the ‘tab’ and ‘space’ key that we use for access the houdini menu and doing view operation (thumble,pan etc)
- while i'm working , can i record everything i do to script (edit/modify etc) ? so , it's like ‘recording script’ feature in zbrush. so i can replay it later.
- what script command that associate with panning, zooming, thumbling operation in viewer?
thx,
clay~
Technical Discussion » how to set $JOB
- clay
- 58 posts
- Offline
Technical Discussion » viewing otl file
- clay
- 58 posts
- Offline
is there any other way to view what OP type that is available inside my OTL file without having to import the otl file first?
clay~
clay~
Technical Discussion » how to set $JOB
- clay
- 58 posts
- Offline
i see what u mean,
that ‘created file and new file’ gave me the idea.
the problem is : my houdini icon is not a link to the app itself but (i changed it before) it points to my : template001.hipnc
so i didn't realize that i always open template001.hipnc file everytime i double click my houdini icon (i already forgot about it), i was thinking that i just started houdini and start new file.
so since i open this hipnc file, the $JOB is already set. that's why the changes i just made has no effect.
thanx a lot, deecue.
anyway i changed this link because i set that template001.hipnc to a specific UI configuration, and i want to use this config everytime i start houdini.so i open this file and later i save as different name.
in this file, I make same changes like putting very small size background file in my network editor (network editor display option ), so i can change color independently - different from general background color. The problem i don't know how to make this changes permanent.
does anyone know how to save it as default? in viewer display option, there's a button labeled ‘ save as default’ but in network editor display option, this button just doesn't exist.
thanx,
clay~
that ‘created file and new file’ gave me the idea.
the problem is : my houdini icon is not a link to the app itself but (i changed it before) it points to my : template001.hipnc
so i didn't realize that i always open template001.hipnc file everytime i double click my houdini icon (i already forgot about it), i was thinking that i just started houdini and start new file.
so since i open this hipnc file, the $JOB is already set. that's why the changes i just made has no effect.
thanx a lot, deecue.
anyway i changed this link because i set that template001.hipnc to a specific UI configuration, and i want to use this config everytime i start houdini.so i open this file and later i save as different name.
in this file, I make same changes like putting very small size background file in my network editor (network editor display option ), so i can change color independently - different from general background color. The problem i don't know how to make this changes permanent.
does anyone know how to save it as default? in viewer display option, there's a button labeled ‘ save as default’ but in network editor display option, this button just doesn't exist.
thanx,
clay~
Technical Discussion » problem with putting my own script in expression
- clay
- 58 posts
- Offline
i created & tested a script, i name it : hnpoints
the content is like this:
echo `npoints(“$arg1”)`
usage : hnpoints <objname>
it works fine in texport.
in my case , i have sphere1 and curve1 under /obj/geo1
and just for fun i put this expression:
execute(“hnpoints ../curve1”)
into param box of -x radius- of my sphere1 and it doesn't work. it returned 0. it doesn't recognize the curve1.
the wierd thing was:
i run this function first in textport, then i edit the expression in param box by doing silly thing like delete the bracket and add it back. now it works. i don't know what's wrong…
it looks like when i refresh the expression, it refresh the relationship between obj, but first still i have to run the function in texport .
Does anyone know how to solve it? is it a bug?
do i have to do the ‘refreshing’ for every script that i make??
clay~
the content is like this:
echo `npoints(“$arg1”)`
usage : hnpoints <objname>
it works fine in texport.
in my case , i have sphere1 and curve1 under /obj/geo1
and just for fun i put this expression:
execute(“hnpoints ../curve1”)
into param box of -x radius- of my sphere1 and it doesn't work. it returned 0. it doesn't recognize the curve1.
the wierd thing was:
i run this function first in textport, then i edit the expression in param box by doing silly thing like delete the bracket and add it back. now it works. i don't know what's wrong…
it looks like when i refresh the expression, it refresh the relationship between obj, but first still i have to run the function in texport .
Does anyone know how to solve it? is it a bug?
do i have to do the ‘refreshing’ for every script that i make??
clay~
Technical Discussion » how to set $JOB
- clay
- 58 posts
- Offline
my configuration:
variable name : JOB
variable value : d:\projects
anyway it works for my $HOME, but for some reason it doesn't work for $JOB. i've restarted my comp and still got the same problem.
so my $JOB always points to : CProgram Files/Side Effects Software/Houdini 6.1.208
i have no clue…
clay~
variable name : JOB
variable value : d:\projects
anyway it works for my $HOME, but for some reason it doesn't work for $JOB. i've restarted my comp and still got the same problem.
so my $JOB always points to : CProgram Files/Side Effects Software/Houdini 6.1.208
i have no clue…
clay~
Technical Discussion » how to set $JOB
- clay
- 58 posts
- Offline
simple question:
i tried to change $JOB by putting JOB var in window environment variables (control panel), but i didn't work. So ,how to change/control this var?
thx,
clay~
i tried to change $JOB by putting JOB var in window environment variables (control panel), but i didn't work. So ,how to change/control this var?
thx,
clay~
Technical Discussion » please help with my Houdini Questions
- clay
- 58 posts
- Offline
brucelayhow about open desktop manager, click the triangle icon near the desktop name u want to change and choose load from, locate the $HFS , go to houdini/desktop folder find the appropriate file like : model.desk etc.
How can I reset my Houdini destop settings as factory default settings?
the current desktop setting is ussually saved in local user dir, so the original desktop file in $HFS is untouch and can be used to load the default.
clay~
Technical Discussion » copy to follow path
- clay
- 58 posts
- Offline
mikela
As far as I know this isn't as straightforward as it may seem. Here http://www.odysseus.anderson.name/mikela/Houdini/RotateToNormal.hipnc [odysseus.anderson.name] is my solution.
sorry, i tried to open this file , but i got a fatal error msg : segmentation fault.
probably different version? i use apprentice 6.1 fyi.
clay~
-
- Quick Links