Installing LeoCad[]
LeoCad is a software to make 3D tente models. It works similar to MLCad and it's a good idea install both programs. Leocad runs under GNU/Linux, MacOS and Windows.
What we need?[]
- Leocad
- Last 3D tente set of pieces for leocad (you can find it in https://www.dropbox.com/s/irba95qphdxtiq7/LDrawTente_Ultima.zip subfolder leocad)
Windows[]
- Download Windows installer from https://github.com/leozide/leocad/releases/download/v19.07.1/LeoCAD-Windows-19.07.1.exe
- While leocad is installing it asked about LDraw subfolder (the same you use for MLCad).
Setup[]
- Run LeoCAD.
- To load the catalogue of pieces miscat.lcf select -> Pieces Library Manager -> Open.
- Select File -> Save.
- Close and open LeoCAD and changes will be effective.
- If you see 3D tente categories but you can select for seeing pieces do this: copy pieces.bin and pieces.idx from leocad subfolder in LDrawTente_Ultima.zip file to folder where we've just install LeoCAD (this erase lego set of pieces, so you might copy in another place to keep them previously)
Linux[]
Installation[]
- Download Appimage https://github.com/leozide/leocad/releases/download/v19.07.1/LeoCAD-Linux-19.07.1-x86_64.AppImage
Or compile it yourself:
- Install git and the necessary libraries to compile QT code:
sudo apt-get install git libqt5-dev zlib1g-dev - Download the latest version of LeoCAD code in $HOME
cd $HOME
git clone https://github.com/leozide/leocad.git - Select the leocad folder, compile and setup:
cd leocad
qmake leocad.pro
make
sudo make install - Note the path of the parts library to run the software (we suppose you download Tente 3D pieces library to $HOME):
leocad -l /opt/ldraw/tente/ - Create a new text file with the Tente's categories, import this file with the options menu: View ► Preferences ► Categories ► Import
Tente - Jacenas=jacena
Tente - Baldosas placas=baldosa|placa Tente - Basico=:B Tente - Aire=:A Tente - Alpha=:F Tente - Escorpion=:E Tente - Mar=:M Tente - Micro=:C Tente - Ruta=:R Tente - Titanium=:T Tente - Ventanas=ventanas|marco|cristal Tente - Vehiculos=:V Tente - Etiquetas=etiqueta|etiquetas|EtiquetaTente Tente - Castillos=:X Tente - Ruedas=rueda | ( eje & !bisagra ) | ( agujero & !enganche & !baldosa )