Changes between Version 2 and Version 3 of PartsLibrary


Ignore:
Timestamp:
Mar 11, 2014 5:16:32 PM (2 years ago)
Author:
leo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PartsLibrary

    v2 v3  
    11= Parts Library =
    22
    3 Intro
     3LeoCAD is completely compatible with LDraw's Parts Library. In fact, the library included in the installer packages is just a zip archive of LDraw's library without any changes.
    44
    5 LeoCAD uses LDraw's Parts Library
     5This is done mostly to simplify things for new users so they don't need to download and install a separate file or worry about updating their library. A lot of LeoCAD's users are young people without a lot of computer experience so the setup process is kept as simple as possible.
     6
     7At the same time there are experienced users who like to maintain their own libraries with unofficial parts that they create or download from the internet. Those people can share their LDraw library with LeoCAD and use it directly, all they need to do is point LeoCAD to it.
    68
    79= Using a Custom Parts Library =
    810
    9 cmd line, env var, preferences
     11There are several ways to specify a custom library folder or file (in order of priority):
     12
     13 * Use the -l command line option followed by the library path
     14 * Set the LEOCAD_LIB environment variable
     15 * Enter a new library path in the Preferences Dialog
     16
     17Note that LeoCAD can use either a zip file or a regular folder for its library.
    1018
    1119= Default Library Path =
     
    1321The default library path is different for each OS:
    1422
    15  * Windows: The same folder where LeoCAD.exe is located
    16  * Linux: This is set at compile time but it's usually /usr/share/leocad or /usr/local/share/leocad
    17  * Mac OSX: Inside the application bundle
     23 * Windows: The program looks for library.bin in the same folder where LeoCAD.exe is located
     24 * Linux: This is set at compile time but it's usually /usr/share/leocad/library.bin or /usr/local/share/leocad/library.bin
     25 * Mac OSX: The library.bin file in the !Contents/Resources folder inside the application bundle
    1826
    1927On Linux you can set the install path prefix at compile time by passing it to qmake:
     
    2331}}}
    2432
    25 This will change the default library path to /my/path/leocad
     33This will change the default library path to /my/path/leocad/library.bin