Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

2 Neutral

About bonassus

  • Rank

Personal Information

  • Name
  • Location
  1. I'm setting up type properties for an hda i'm working on. I would like to set the value of the range fields relative to the value of a different parameter. For instance set a window width parameter based on the wall width parameter. however the range fields in the operator type properties window only allows me to type in integer values. It wont let me type relative reference to the other parameter. Is there a way to do this? thanks
  2. That was it! thank you very much!
  3. I sometimes use the bbox expression to reference the dimensions of an object in a group node to create a primitive group by bounding object. I'm trying to create a preset to speed up the process of creating this kind of group. So i'm trying the operator path parameter set to string. see below image. it seems like this should work the same as the above image but it Chanel expression returns the dimensions of input 0. not the bbox of the object in the path field. can someone enplane how this could work?
  4. reset to origin.

    ok it's an arbitrary vector. thanks for the response. i kind of understand...
  5. reset to origin.

    I'm trying to understand vex creating the x,y,z vectors in the example given here. I don't understand why vector x is calculated by crossing y with {1,2,3}. does any one have an answer that would explain this?
  6. popnet explodes with collisions

    So I didn't have @v on the collision geo. I guess you need that. thanks anyway.
  7. I'm trying to work out a simple debris sim with collisions. But when i add the collision object the particle system explodes with supper high velocities. its a simple rbd sim and then a debris source into a popnet. I create a vdb and geo for collisions. the collision guides look good inside the pop net. I don't understand why the particles don't just fall with gravity and collide with the collision object. I attached a test file. if anyone has some insight about this i would appreciate it. debris_test.hiplc
  8. Something unexpected keeps happening with the geometry spreadsheet. I when I try and display an attribute value in ascending or descending order it's displayed in apparent random order. Is this a problem for anyone else? Is there a way to fix this? Is this a bug? Thanks
  9. Thank You Dominik, that help tremendously. I was approaching it in a confusing way. Although calling the array index with that operator was ambiguous, according to the error message. see attached image. point(0, "name", primpoint(0, @primnum, 0))[0] i don't understand why though as i assume the point function is returning a string. however your code works like this. string s1 = point(0, "name", primpoint(0, @primnum, 0)); string s2 = point(0, "name", primpoint(0, @primnum, 1)); if(s1[0] == s2[0]){ removeprim(0, @primnum, 1); } cheers con3
  10. I think this post is confusing i've attached some screen grabs and a test file to help explain what i'm trying to do. Thanks remove_constraints_wip1.hiplc
  11. I have a constraint network built with a connectadjacentpieces sop from multiple geometries. Each geometry part has a name with its own naming scheme(Apieces_000, Bpieces_000, etc.). every primitive in the constraint network has two points each with a name attribute that matches a packed prim with the same name. some of the primitives have points with names from the same geo. These have similar names. pt0 name=Apieces_000 pt1 name=Apieces_001 some of the primitives have points with names from the different geo And have name attributes with different naming schemes. I want to remove the primitives from the constraint network whose points have name attributes from the same scheme by comparing the first character in the name and removing the prim if they are the same. here's what i have but it'n not working correctly and i don't quite understand the code i've written. string name0; string name1; i[]@primPts = primpoints(0,@primnum); foreach(int i; @primPts){ name0 = point(0,"name",i-1); name1 = point(0,"name",i); if( name0[0] == name1[0] ){ removeprim(0,@ptnum,1); } } allow me to try and explain. primpoints stores both points from each prim in the primPts array. then it loops through the points and assigns the name attribute of each point to a variable. so far so good i think. then it compares the first letter of each sting var and if they are the same i want to remove the prim to which the points belong. however this does not happen. If someone could point out where I've gone wrong or show me a better way to do this. I would be grateful. Thanks
  12. Atom, thanks for the sprintf tip.
  13. Thanks for all the responses. Sorry for the confusing question. The answer was obvious after taking a break. I only had to: @id = @ptnum; before the second input and then s@name = concat(s@name,"_copy_"+itoa(+@id)); after the copytopoints.
  14. How can I access the ptnum of the points coming in though the second input of of a wrangle? I tried to do it with a point expression but i don't know what to put for the atttibute_name. s@name = point(1,"ptnum", @ptnum); I want to concat the second input's point ptnum with the first input's name attribute after a copy to points sop. the copy and transform sop creates a copynum attribute which works to rename copies. but copytopoints doesn't How can i do this? thanks