Advanced Member pbowmar Posted November 24, 2009 Advanced Member Report Share Posted November 24, 2009 Hi, I have about 500 or so PSD files that would be suitable for becoming brushes, I auto-batched them in Photoshop to create the correct layer names, transparency etc. I can manually import one at a time via the Pen menu which works, but that gets old really fast I have found in $INSTALLDIR/textures/patterns where the .xml and .mclp files are, I could write a .xml creator in Python easily, but not so much .mclp. I tried importing a whole folder, and it just copied the .psd files into textures/patterns/OriginalDir but didn't actually make brushes from them. Anyone have any ideas? 3.1.17 Linux 64 bit. Cheers, Peter B Quote Link to comment Share on other sites More sharing options...
Advanced Member lc8b105 Posted November 24, 2009 Advanced Member Report Share Posted November 24, 2009 Place all your PSD in one folder, then click on the top-right tiny triangle icon of pen panel, in the pop-menu choose "Add existing folder". Quote Link to comment Share on other sites More sharing options...
Advanced Member pbowmar Posted November 24, 2009 Author Advanced Member Report Share Posted November 24, 2009 Yup, tried that, all it did was copy the .psd files over to the 3DC install area and didn't actually add them Maybe a Linux bug? Cheers, Peter B Quote Link to comment Share on other sites More sharing options...
Advanced Member pbowmar Posted February 5, 2011 Author Advanced Member Report Share Posted February 5, 2011 So this is fixed in 3-5-10 which is great, but I still would prefer to do this programmatically. Is there any way to make a .mclp file via a command-line tool? The XML part is easy. Cheers, Peter B Yup, tried that, all it did was copy the .psd files over to the 3DC install area and didn't actually add them Maybe a Linux bug? Cheers, Peter B Quote Link to comment Share on other sites More sharing options...
Andrew Shpagin Posted February 6, 2011 Report Share Posted February 6, 2011 I may open MCLP file format if you need, it isvery easy. The better possibility may be interoperation through Exchange/import.txt I may extend list of commands a bit. Quote Link to comment Share on other sites More sharing options...
Advanced Member pbowmar Posted February 6, 2011 Author Advanced Member Report Share Posted February 6, 2011 I may open MCLP file format if you need, it isvery easy. Hi Andrew, Is it a binary compilation of the 4 layers of the brush? Just curious Cheers, Peter B Quote Link to comment Share on other sites More sharing options...
Andrew Shpagin Posted February 6, 2011 Report Share Posted February 6, 2011 Hi Andrew, Is it a binary compilation of the 4 layers of the brush? Just curious Cheers, Peter B Yes, it is very close to just raw combination of several planes. DWORD 'MCLP' DWORD SizeX DWORD SizeY for every point: DWORD Color; float Height; float Specular; float Erase; Quote Link to comment Share on other sites More sharing options...
Advanced Member pbowmar Posted February 6, 2011 Author Advanced Member Report Share Posted February 6, 2011 Thanks Andrew, but this is where my coding ability stops, I'm pretty rubbish with C/C++. I understand what you say and mean, but have no idea how to start to implement Quote Link to comment Share on other sites More sharing options...
Andrew Shpagin Posted February 6, 2011 Report Share Posted February 6, 2011 Thanks Andrew, but this is where my coding ability stops, I'm pretty rubbish with C/C++. I understand what you say and mean, but have no idea how to start to implement Ok, then probably implementing some command mechnism thorough "Exchange/import.txt" will help. 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.