DAZ 3D sink
Links
Exporting
Basic config
to export a rigged char with rigged clothes
Objects
Props checkmark when enabled exports the props (wardrobe, etc) as separate rigged geometry. Other wise it's capture together with the character.
Figures
Properties
Installing downloaded pack
Place zip into DAZ\InstallManager\Downloads
Name manifest file after the zip name and place it to DAZ\InstallManager\ManifestFiles
If there's no xml title in the manifest files add the first line <?xml version="1.0" encoding="UTF-8"?>
Run DAZ manager, go to Downloaded and hit Install
Exporting tools
JS script
To export materials and textures
Open the tab Script IDE (if I remember well) , copy the script in the window, change line 8 to where you want the texture to be saved, then execute the script and you'll see in the log all copied textures
const aNodes = Scene.getNodeList();
var allImgs = [];
var uniqueImgs;
var imgMgr = App.getImageMgr();
var oSettings = new DzFileIOSettings();
// Path to copy images to
var saveImgPath = 'C:/Users/You/Pictures/Dump';
function processNode(node) {
var obj = node.getObject();
if (obj) {
//print("Node", node.name, "Object", obj.name);
var shape = obj.getCurrentShape();
if (shape) {
var aMaterials = shape.getAllMaterials();
print("Shape ", shape.name);
print("Num materials ", shape.getNumMaterials());
aMaterials.forEach(
function(mat) {
//print(mat.name)
// Collect images for this 'material'
var aMaps = mat.getAllMaps();
var aMatImgs = aMaps.map(function(m) {return m.getFilename()});
// Add images for this material to all images array
var aTmpImgs = allImgs;
allImgs = aTmpImgs.concat(aMatImgs);
}
);
// Strip out dupes
var uniqueImgs = allImgs.filter(function(v, i, self) {return self.indexOf(v) === i;});
// Copy each unique image file to the save path
uniqueImgs.forEach(
function(i) {
print("Image filename: ", i);
var img = imgMgr.findImage(i);
var imgFile = new DzFile(i);
rtn = imgFile.copy([saveImgPath, '/', i.split('/').pop()].join(''));
if (rtn) {
print("File copied");
} else {
print("File copy failed!");
}
}
);
}
}
}
aNodes.forEach(processNode);
Sagan plugin
Alembic exporter
https://www.daz3d.com/forums/discussion/428856/sagan-a-daz-studio-to-blender-alembic-exporter/p20
Diffeomorphic
Great 3rd party exporter for Blender
https://bitbucket.org/Diffeomorphic/import_daz/wiki/Home
Problems
Grafting
Stupid function that makes parts of the Figure's mesh invisible when an outfit is fitted to is.
Even more stupid is that you cannot simply unhide it in the DAZ Studio 🤦♀️.
The best way is to remove this grafting feature completely from the outfit file itself. To do that:
- Search the DAZ library for the asset with the
dsfextension (not theduf) - Open it in text editor. It's a json file.
- Search for the "graft" section: "graft"; { ... },
- Remove it, save the file and reload the asset.