Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Working with Images
How are the image filenames chosen? ( or what is all this obj1ge2shd3pg2p66.png gobble-de-gook?)|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
VM Staff![]() |
When you add a shape or title to your page, or when you modify a picture (by rotating it or adding contrast, for example) SiteSpinner (and WebEngine and WebDwarf) generates a new uniqiue image file.
The name for the file looks complicated but is actually quite simple to understand. The following technique is used to create it. A filename is composed of the names of all the parts that make an object unique. Those parts are: 1. the object itself (e.g. 'obj1' or 'OOO') 2. the geometry (e.g. 'geo2' or 'ggg') 3. the shading (if it exists)(e.g. 'Shd3' or 'SSS') 4. the index number of page it resides on (e.g. 1) 5. the project number for the project it is part of (e.g. 99) Those five pieces of information are joined together to make a filename in the following way: object + geometry + shading + "pg" + page index + "p" +project number So using the example values you would get: "obj1geo2shd3pg1p99" or "OOOgggSSSpg1p99" Note the fixed text "pg" and "p" are always placed in front of the page and project numbers, respectively. The extension, (.jpg, .png, etc.) is determined by the chosen image format. (see the geometry editor's 'Rendering File Format') The default format is 'png' so in this example the file would be: "obj1geo2shd3pg1p99.png" or "OOOgggSSSpg1p99.png" Notes: The names of an object, geometry or shading can be set to any unique name you choose by editing the name text box in the quick properties editor object, geometry or shading tab or in the respective item's editor. The page index is the order of page creation. This allows you to freely change page order or page name without forcing the images to be renamed. In future this page index may be changed to use the page name. The project number is automatically set in the Project Option's 'Project Number' field. It can be edited there as well. If the 'unique includes' object is un-checked, then the page index is omitted from the filename. This allows the same file to be used on multiple pages in the same project in cases where the 'include on' other pages option is used. E.g. 'obj1geo2shd3p99.png' If the 'unique clones' object is un-checked, then the object name is omitted from the filename. This allows the same file to be used for multiple clones (objects with shared geometries) in the same project. E.g. 'geo2shd3pg1p99.png' The settings 'unique includes' and 'unique clones' can be found in the Object Editor's Components tab. The default setting is 'checked' (i.e. unique) for both. If you un-check them you are asserting the images are in fact the same. If they have different backgrounds or rotationss etc., you make see unexpected results because the same image will be used in all instances. This message has been edited. Last edited by: Bruceee, |
||
|
| Powered by Social Strata |
| Please Wait. Your request is being processed... |
|
Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Working with Images
How are the image filenames chosen? ( or what is all this obj1ge2shd3pg2p66.png gobble-de-gook?)
