zoki Posted June 7, 2007 Share Posted June 7, 2007 Hi I am copying multiple object through one switch with fit01(rand($PT),0,(opninputs("../switch1"))) on stamp so they get randomly placed problem I have is that all inputs into switch sop have different bounding boxes and I would like them to align one side by side each other? So I need to have my template grid for copy sop shifting points depending on size of the object that gets copied on a that particular point? I dont know if this is doable I have bounds of boxes and their center points but now I am stuck thanks z Quote Link to comment Share on other sites More sharing options...
kubabuk Posted June 7, 2007 Share Posted June 7, 2007 Hi Zoran, I might be wrong...but I'd rather try to scale down or up each stamped object to fit the space in a grid? I am thinking of comparing factors between bounding boxes (in X and Z axis) and than scale your geometry by this factor. You start from grid yes? So I could try to stamp on points which lay in the center of the face. in that case BB box of each face gives you a space around it. Would be great to see a file if you can send it? good luck kuba Quote Link to comment Share on other sites More sharing options...
zoki Posted June 7, 2007 Author Share Posted June 7, 2007 (edited) hi and thanks for reply unfortunately I cant scale or tweak my copies since they represent finished model parts so they cant be altered in scale....I just need to distribute them for now on a plane not in some 3d order and make sure they dont overlap but stick nicely together like 3d tetris I will try to get file up zinstance_setup_v001.hip Edited June 7, 2007 by zoki Quote Link to comment Share on other sites More sharing options...
stabby Posted June 7, 2007 Share Posted June 7, 2007 ...I'd be tempted to let dops do the work...instance_DOPS_v001.hip Quote Link to comment Share on other sites More sharing options...
zoki Posted June 8, 2007 Author Share Posted June 8, 2007 hi thats a clever idea and certainly would work I would like to stick with sops if posible and get as cheap solution as i can and then if it doesnt work go to dops or something in simulation region z Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.