BoardCAD:Community Portal

From BoardCAD

Jump to: navigation, search

Welcome to the community portal. Here you will find all information you will need to contribute to the development of BoardCAD and this page.


Contents

Project goals

The main goals of BoardCAD are the following

  • Create full 3D-models of boards
  • Being compatible with current CAD/CAM standards
  • Allow all possible shapes of boards


Ongoing work


Setting up the development environment

BoardCAD is developed using Java Development Kit and Java3D. Make sure you have the latest versions of these installed:

Download the source code of BoardCAD following the instructions in Download:SourceCode


Compiling, running, and packaging

Compile the code by typing

javac cadcore/*.java board/*.java board/readers/*.java board/writers/*.java boardcad/*.java boardcad/i18n/*.java boardcam/*.java boardcam/cutters/*.java boardcam/holdingsystems/*.java boardcam/toolpathgenerators/*.java boardcam/readers/*.java boardcam/writers/*.java


Create an executable jar-file by typing

jar cvfm BoardCAD.jar mymanifest boardcad/*.class boardcad/i18n/*.class boardcad/i18n/*.properties boardcad/icons/* cadcore/*.class board/*.class board/readers/*.class board/writers/*.class boardcam/*.class boardcam/cutters/*.class boardcam/holdingsystems/*.class boardcam/toolpathgenerators/*.class boardcam/readers/*.class boardcam/writers/*.class

Sign the jar-file by typing

jarsigner -keystore newkey -storepass boardcad BoardCAD.jar boardcad

Run on Linux by typing

java -cp jython.jar:jythonconsole.jar:Lib.jar:BoardCAD.jar boardcad.BoardCAD

Run on Windows by typing

java -cp jython.jar;jythonconsole.jar;Lib.jar;BoardCAD.jar boardcad.BoardCAD

Generate API documentation

javadoc -d doc cadcore/*.java board/*.java board/readers/*.java board/writers/*.java boardcad/*.java boardcad/i18n/*.java boardcam/*.java boardcam/cutters/*.java boardcam/holdingsystems/*.java boardcam/toolpathgenerators/*.java boardcam/readers/*.java boardcam/writers/*.java
Personal tools