Trouble modeling a cabinet door
-
The CutMasterPro panel optimizer is now available for download on the web site. CabMaker32.com
Please try it out and give me your comments.
-
Any chance that the Door Maker plugin could be made to work with Mac OS please?
-
What is the problem? Is it the Zip file or something else?
-
The zip's fine, but the various scripts seem to be calling for things form a Windows file structure, i.e. C:xxx which don't exist in the Mac OS. I did have a look to see if I could re-configure them to point to the correct file locations, but it didn't work for some reason (probably because I'm doing it wrong!)
-
@timinder said:
The zip's fine, but the various scripts seem to be calling for things form a Windows file structure, i.e. C:xxx which don't exist in the Mac OS. I did have a look to see if I could re-configure them to point to the correct file locations, but it didn't work for some reason (probably because I'm doing it wrong!)
The zipped 'Door Maker' is not set up for ease of installation as its file and folder of files/subfolders are both shipped within an unnecessary 'Sketchup' folder - so the 'GKWare_CabMaker_Ext.rb' file and the 'GKWare' folder need moving from there into the usual 'Plugins' folder by hand !
The plugin itself seems to be made so that it finds the path for its textures from reading the '_TextureLocation.txt' file within the 'GKWare/CabMaker' subfolder.
This file defaults to: "C:/Users/Public/Documents/CabMaker32/Textures"
BUT I'd expect that you could edit that file to include any valid folder path to suit yourself/OS - PC or MAC...
Try it...I can see no other references to 'C:/...' in the readable code other than the textures' folder path...
This toolset does have some encrypted rbs files so we can't be sure what happens inside those !
-
The DoorMaker.pdf file explains what the 3 files that start with _ are for.
They are not in effect with the _
If you want to use them then rename them by removing the _You should be able to just unzip and move all the files under plugins
The purpose of the _texturelocation.txt file was if you have CabMaker32 installed - a windows only cabinet making software, or if you are running multiple versions of Sketchup. This allows you to have 1 copy of textures at around 50 megs rather than many copies.
I will look into the encrypted files for file references.
-
Thanks for the clue about removing the '_' from the start of those file names
Presumably the 'texture' path file can then point anywhere ?
It is not PC specific ? -
I do not think that it is PC specific. However - I do not own a Mac - so I'm not sure what is going on.
I looked into the 2 encrypted files - nowhere is there a reference to
The _ files are simply there to give examples.
- TextureLocatio.txt contains the path to textures
- defaults.txt contains the default configuration you want at startup
- textures.txt contains the list of textures and in what order they appear in the drop down list.
It is possible that the file names and paths are case sensitive (like linux)
The name in the script for glass and mirror is glass.png and mirror.png however the file names in the Image folder is glass.PNG and mirro.PNG
All the rest of the images are in lower case.
In the scrip we have several occurances of using \ and several occurances of using / in paths
This is how the scrip refereces the various files.
filename = ABSDIR + '\textures.txt'
filename = ABSDIR + '\textureLocation.txt'
filename = ABSDIR + '\defaults.txt'This code is from the GKWare_CabMaker_Ext.rb
RBSFILE = LOADER.split("_")[0] << '.rbs'
RELDIR is relative to Plugins dir, OR the dir from
the $LOAD_PATH array that require used to find it.
RELDIR = File.dirname( PATH )
if ROOT
ABSDIR = File.join( ROOT, RELDIR )
elseassume the target dir is directly below, the dir that THIS file is in.
ABSDIR = File.join( File.dirname(FILE), RELDIR )
end -
I'm considering adding a door handle to the door maker plugin. Is there any interest for this option?
Advertisement