3dtente Wiki
(→‎Linux: Updated categories text file example)
Tag: Visual edit
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
=== Installing LeoCad ===
 
=== Installing LeoCad ===
[http://www.leocad.org/ 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 Windows or GNU/Linux.
+
[http://www.leocad.org/ 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 need us? ====
+
==== What we need? ====
 
* Leocad
 
* Leocad
* Last 3D tente set of pieces for leocad (you can find it in http://dl.dropbox.com/u/1076721/LDraw/LDrawTente_Ultima.zip subfolder ''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 ====
 
==== Windows ====
   
* Download Windows installer from http://code.google.com/p/leocad/downloads/list
+
* 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).
 
* While leocad is installing it asked about LDraw subfolder (the same you use for MLCad).
   
Line 26: Line 26:
 
==== Linux ====
 
==== Linux ====
   
===== Setup =====
+
===== Installation =====
  +
* Download Appimage https://github.com/leozide/leocad/releases/download/v19.07.1/LeoCAD-Linux-19.07.1-x86_64.AppImage
 
* See http://leocad.org/linux.htm for requerimients.
 
 
 
====== Install Tente LeoCAD under GNU/Linux ======
 
 
* Go to console and type:
 
<code>sudo bash</code>
 
 
*Install dependences:
 
** Ubuntu/Debian:
 
<code>sudo apt-get install subversion libgtk2.0-dev libgl1-mesa-dev libg3d-plugins</code>
 
* Red Hat and similar distros:
 
<code>yum install subversion libgtk2.0-dev libgl1-mesa-dev libg3d-plugins</code>
 
* Download http://leocad.googlecode.com/files/pieces-3074.zip
 
* Uncompress this file and copy ''bin'' subfolder to /usr/local/share/leocad/ path (but pieces.* files).
 
* Download 3D tente special version: http://dl.dropbox.com/u/1071192/utilidades/tente-leocad/leocad-tente.tar.gz
 
 
* Uncompress the file and copy ''bin'' subfolder to /usr/local/bin
 
 
* Copy [http://dl.dropbox.com/u/1076721/LDraw/LDrawTente_Ultima.zip last 3D tente set of pieces], leocad subfolder to /usr/local/share/leocad
 
 
====== Links for Lego LeoCAD under GNU/Linux ======
 
   
  +
Or compile it yourself:
* Compilation guide http://trac.gerf.org/leocad/wiki/CompilingGuide (download 0.75 release, last one doesn't work).
 
  +
#Install git and the necessary libraries to compile QT code:<br />sudo apt-get install git libqt5-dev zlib1g-dev
  +
#Download the latest version of LeoCAD code in $HOME<br />cd $HOME<br />git clone https://github.com/leozide/leocad.git
  +
#Select the leocad folder, compile and setup:<br />cd leocad<br />qmake leocad.pro<br />make<br />sudo make install 
  +
#Note the path of the parts library to run the software (we suppose you download [https://www.dropbox.com/s/irba95qphdxtiq7/LDrawTente_Ultima.zip Tente 3D pieces library ] to $HOME):<br />leocad -l /opt/ldraw/tente/
  +
#Create a new text file with the Tente's categories, import this file with the options menu: <span style="color:rgb(34,34,34);font-family:Georgia,Utopia,PalatinoLinotype,Palatino,serif;font-size:15px;line-height:21.559999465942383px;text-align:justify;">View ► Preferences ► Categories ► Import</span>
   
  +
<p style="margin-top:0px;margin-bottom:0.25em;">
* Instalation on Asus EEE: http://www.instructables.com/id/Installing_LeoCAD_on_an_ASUS_eee_pc.
 
  +
</p>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 )

Latest revision as of 13:23, 30 May 2020

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?[]

Windows[]


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[]

Or compile it yourself:

  1. Install git and the necessary libraries to compile QT code:
    sudo apt-get install git libqt5-dev zlib1g-dev
  2. Download the latest version of LeoCAD code in $HOME
    cd $HOME
    git clone https://github.com/leozide/leocad.git
  3. Select the leocad folder, compile and setup:
    cd leocad
    qmake leocad.pro
    make
    sudo make install 
  4. 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/
  5. 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 )