Copy Paste weightmaps using dazscript

Is it possible to copy paste weight maps using daz script?

Comments

  • crosswindcrosswind Posts: 7,568

    Personally I don't think it's practical even if it's possible...(most likely possible since Daz Script is powerful...)

    If you want to "copy/paste" the weight maps on all Bones from figure A to figure B, you should simply use Transfer Utility.

    If you want to do the same thing but only with the selected Bone, manually copy / paste weight map will just do.

  • colcurvecolcurve Posts: 162

    Transfer utility is the problem. I try to transfer from a figure with grafts to a figure were all grafts are merged as it seems to be usable more easily, but if I first transfer the base then the grafts using "merge hierarchies", then this will break all the weight maps on shared actors.

  • crosswindcrosswind Posts: 7,568
    edited December 2024

    I don't understand.... why you fitted geo-grafts on the source Figure and merged the geo-grafts on the target Figure before transferring weight ? What do you really want ?

    You workflow seems confusing to me...I can understand your transferred weight from Figure A Base to Figure B Base while having their root nodes selected... but how you transferred weight from the geo-grafts on Figure A to the geo-grafts on Figure B ?  After having done Merge Fitted Figures Geometry (did you merge the geo-grafts on Figure B by using this function ?), you should've already deleted all the geo-grafts under Figure B... otherwise Merging Fitted Figures Geometry... would be meaningless.

    Then how did you transfer the weight for the geo-grafts ?... let alone using the option of merge hierarchies which should be used in the case of preserving custom Bones on the target... however there should be no geo-graft at all under Figure B. They had been already merged as new geometry / surfaces on Figure B... there's even no Bones for them. You further created Bones for the merged geometry ?

     

    Post edited by crosswind on
  • Weight maps can be acessed and edited via script http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/weightmap_dz but I am not sure how to get the weight map for a modifier (a joint, specifically) - if you could then copying the values across should be fairly simple.

Sign In or Register to comment.