rattleCAD HowTo

... to be continued.

... rattleCAD method

rattleCADs kernel uses saddle and handlebar position as its main references. Seat- and TopTube length are often discussed and the following video will show you the rattleCAD-method and why other parameters are much more important.



... hope this supports you to make rattleCADs method more clear ...

... you can run above demo in rattleCAD 3.4.01.40 and higher: Demo -> Stack and Reach ...

... install rattleCAD

Windows

Suggested Install Location

C:\Programme (x86)\rattleCAD\
    .\3.2.00\
    .\3.2.xx\
    .\3.2.78.26\
    .\3.3.02.01\ ................ Version/Revision Directories
    .\3.3.06.20\ ................ Version/Revision Directories
    .\3.3.06.36\ ................ Version/Revision Directories
        .\rattleCAD.tcl ......... tcl-Script to use with installed tclTk Environment
        .\rattleCAD.exe ......... standalone runtime
    .\tclkit.ico ................ rattleCAD icon-File
    .\rattleCAD.tcl
    .\rattleCAD.bat ............. version control batch files to start rattleCAD
    
Eigene Dateien\rattleCAD\
    .\components\ ............... users components Library
    .\_your_Project.xml ......... project Files
    .\export\
        .\anyFile.ps ............ exported Postscript File
        .\anyFile.svg ........... exported SVG File
        .\anyFile.dxf ........... exported DXF File
    .\html\
        .\index.html ............ exported HTML File

... execute rattleCAD

C:\Programme (x86)\rattleCAD>
    rattleCAD.tcl ............... if tcl-Interpretor is installed (e.g.: ActiveState)
    rattleCAD.bat ............... run the starkit-Version for Windows

Linux/Unix

/opt/rattleCAD
    ./3.2.00/
    ./3.2.xx/
    ./3.2.78.26/
    ./3.3.02.01/ ................ Version/Revision Directories
    ./3.3.06.20/ ................ Version/Revision Directories
    ./3.3.06.36/ ................ Version/Revision Directories
        ./rattleCAD.tcl ......... tcl-Script to use with installed tclTk Environment
    ./rattleCAD.tcl ............. version control
    
/home/~/rattleCAD/
    ./components/ ............... users components Library
    ./_your_Project.xml ......... project Files
    ./export/
        ./anyFile.ps ............ exported Postscript File
        ./anyFile.svg ........... exported SVG File
        ./anyFile.dxf ........... exported DXF File
    ./html/
        ./index.html ............ exported HTML File

... check tcl Configuration

/opt/rattleCAD>
    tclsh ...................... test the tcl interpretor
    info tclversion ............ get version of tcl interpretor (8.5 or more)
    package require tdom ....... test required package tdom
    package require BWidget .... test required package BWidget

... execute rattleCAD

/opt/rattleCAD>
    tclsh ./rattleCAD.tcl ...... if tcl-Interpretor is installed

... rattleCAD environment

rattleCAD is written in Tcl/Tk. To run rattleCAD your Operating System has to provide the required Tcl/Tk environment. The next chapter explain how to configure Tcl/Tk to run rattleCAD properly.

Tcl/Tk on Windows

... best practice to install Tcl/Tk on your computer is to download and install Tcl/Tk from ActiveState Tcl . Select the package that fits best to your computer and install this package,

Tcl/Tk on Mac OS X

... best practice to install Tcl/Tk on your computer is to download and install Tcl/Tk from ActiveState Tcl . Select the package that fits best to your computer and install this package,

Tcl/Tk on Ubunto Linux (14.04)

    new in rattleCAD 3.4.01.66 and improved in rattleCAD 3.4.01.67

  1. extract rattleCAD-zip file as described above
  2. check Tcl/Tk-installation
    1. open a terminal-Window (xterm, ...)
    2. goto installed rattleCAD-Version directory
    3. cd /opt/rattleCAD/3.4.01.67
    4. execute test-Script
    5. tclsh ./rattleCAD_checkEnv.tcl
    6. check output of test-Script
    7. ====== I N I T ============================


       -- auto_path ----------
            ... /usr/share/tcltk/tcl8.6
            ... /usr/share/tcltk
            ... /usr/lib
            ... /usr/local/lib/tcltk
            ... /usr/local/share/tcltk
            ... /usr/lib/tcltk/i386-linux-gnu
            ... /usr/lib/tcltk
            ... /usr/lib/tcltk/tcl8.6
            ... /samba/rattleCAD/dev/3.4.01.66/lib
            ... /samba/rattleCAD/dev


       -- tcl-packages ------

            unix


      -- common ------------
            tcl package Tk 8.6.1
            tcl package BWidget n/a
            tcl package tdom n/a



      ====== E R R O R ==========================

          ... missing packages

            BWidget          -> sudo apt-get install BWidget
            tdom             -> sudo apt-get install tdom

    8. install missing packages
    9. sudo apt-get install BWidget
      sudo apt-get install tdom
    10. execute test-Script
    11. tclsh ./rattleCAD_checkEnv.tcl
    12. check output of test-Script
    13.    ...

      ====== O K ================================

          ... all required packages installed!

    14. execute rattleCAD
    15. /opt/rattleCAD
          tclsh ./rattleCAD.tcl

Tcl/Tk on Linux Mint

    thanks to hammertownhead

  1. Open "Synaptic Package Manager"
  2. In the search type "tcl"
  3. Select and install "tcl8.5"
  4. In the search type "tk"
  5. Select and install "tk8.5"
  6. In the search type "bwidget"
  7. Select and install "bwidget"
  8. In the search type "tdom"
  9. Select and install "tdom"
  10. Open up a command prompt and enter

  11. sudo update-alternatives --config tclsh

    and you will see the following

    There are 3 choices for the alternative tclsh (providing /usr/bin/tclsh).
    Selection Path Priority Status
    ------------------------------------------------------------
    * 0 /usr/bin/tclsh-default 10000 auto mode
      1 /usr/bin/tclsh-default 10000 manual mode
      2 /usr/bin/tclsh8.4 841 manual mode
      3 /usr/bin/tclsh8.5 840 manual mode
    Press enter to keep the current choice[*], or type selection number:

  12. You will be prompted with several options, type the number which selects "tclsh8.5"
  13. Download and install RattleCAD to your home directory.
  14. To run rattleCAD from the command prompt type navigate to

  15. /home/{yourusername}/RattleCAD/

    and then type

    tclsh rattleCAD.tcl"

... Video Tutorial

by Softoxi.com

Windows

... based on Version 3.2.46. Thanks a lot :)

... open exported SVG-Files

Open automatically

Windows

SVG files can be opened and edited by different svg-Editors. rattleCAD recommends inkscape to open and print .svg Files.

Eigene Dateien\rattleCAD\
    .\export\
        .\anyFile.ps ............ exported Postscript File
        .\anyFile.svg ........... exported SVG File
        .\anyFile.dxf ........... exported DXF File

Open manually

Windows, Linux and others ...

Exported .svg are stored in the export - directory in the users rattleCAD home-directory. Select this direct out of your SVG-Editor.

/home/~/rattleCAD/
    ./export/
        ./anyFile.ps ............ exported Postscript File
        ./anyFile.svg ........... exported SVG File
        ./anyFile.dxf ........... exported DXF File

... open exported HTML-File

Open automatically

Windows

HTML file will be opened automaticaly.

Eigene Dateien\rattleCAD\
    .\html\
        .\index.html ............ exported HTML File

Open manually

Windows, Linux and others ...

Exported HTML file is stored in the HTML export - directory in the users rattleCAD home-directory. Select this directory in your web-Browser.

/home/~/rattleCAD/
    ./html/
        ./index.html ............ exported HTML File