mcjTheLibrarian
================================================================================
Introduction
================================================================================
A script that lets you create an fill bookshelves
================================================================================
History
================================================================================
November 18th 2022- I ( really ) added pages.jpg in the Runtime/Textures/mcasual folder in the new package filename: LowPolyBooksRuntimeWithPagesTexture.zip
November 2nd 2022 - i added the missing texture 'pages.jpg' to the Low-Poly Books zip file and posted it in the attachments
September 4th 2018 - Release
================================================================================
Installation
================================================================================
This Script Will not work unless you install the two following props and their textures
mcjLowPolBook_6
mcjLowPolBook_54
they are packaged in the file named mcjLowPolBooks.zip found in the attachments section at the bottom of this web page
2022 update: the file LowPolyBooksRuntimeUpdate.zip is the same as mcjLowPolBooks but has the missing texture pages.jpg
unzip it in one of your Poser content folders ( this folder must be visible in your Daz Content Panel )
because the mcjTheLibrarian script must be able to find them
The zip package containing the mcjTheLibrarian script is found at the bottom of this page
unzip it in your daz content folder,
typically :
C:\Users\USERNAME\Documents\DAZ 3D\Studio\My Library
once installed, it will appear in your content library, under
The Daz Script will be found in My Library / Scripts / mcasual
Starting with Windows 7 if you right click on the downloaded zip file
and select the [Extract All ....] pop-up menu item
you simply browse up to your Daz Studio Content Folder
and the files will fall in the proper folder
================================================================================
Use
================================================================================
If you want a specific book placement position
typically the lower left front corner of a bookshelf prop,
Then select a null node before launching this script.
Specs for individual books
before generating each book, the script picks a random width/height/depth for that book,
here you can define the acceptable range for those dimensions.
Specs for shelves of books
before generating each row of book, the script picks a random row width
here you can define the acceptable range for that width
Specs for array of book shelves
A shelf is a row of books
Say you have 2 bookcases 37 inches wide
the shelves are 12 inches above one another
there's 5 shelves per bookcase
Then
-Array Columns = 2
-Array Rows = 5
-Column Spacing = 37
-Row Spacing = 12
The Remove template prop upon exit check-box
To generate all those books, the script loads (or finds in your scene) a morphing book prop
it resizes that prop and positions it, then it copies it into an .obj file.
Once all the book copies are in the .obj file, the morphing book prop is no longer needed.
Check-marking this text box tells the script to delete it upon exit.
The Use Super Low-Poly Book prop check-box
If you check-mark it the 6-facets book prop ( cube ) will be used instead of the 22 facets (54 vertices) one
Welding/Grouping
One Book : each book generated will be a node that you can move, rotate, resize
One Shelf : each row of books generated will be a node that you can move, rotate, resize
One Column: each column of row of books ( bookcase content) generated will be a node that you can move, rotate, resize
All Columns: all the books generated will share the sane 1 node
The Make Book Shelf Array
This starts the book generation process, you can halt the process if for example you accidentally tols you wanted 1000 column by 1000 rows of books
Note: that since the script repeatedly updates the scene, generating the books is much faster is your scene is empty.
The Apply Textures button
The script will randomly apply textures from the Book Covers Folder to the currently selected book props
The script automatically selects them upon creation, so you can use the Apply Textures button immediately after generating the books.
If you have non-textured book props in the scene, then select them before launching the script.
The Book Cover Folder
If you installed the mcjLowPolBooks.zip correctly, then the script will find and use the 55 book cover textures we included
Using the Browse button of the "Book Cover Folder" field, you can specify a different folder, where you placed your custom images.
example of a book cover texture map in the Runtime/Textures/mcasual/mcjBookCovers folder
================================================================================
License
================================================================================
// by mCasual/Jacques
// You can use this script freely for personal or commercial use.
// You may not resell, distribute for profit, sub-license or rent this script in any way.
// you may credit this script to mCasual/Jacques
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.