This is easy. Just click on the projects tab and select the appropriate listed project. In the sample shown below, you have 5 possible projects to choose from. The left hand column gives the user editing control over the vectors that you draw on the image which appears. After you have loaded a project, follow these simple steps:
|
The editor uses the same interface that is used in FreeBodyDrawer. The only difference is contained in the controls which appear under theFile menu selection. The following figure illustrates the editor side menu:
Use new project to start a brand new project file (see the note following this on file stucture) Open project allows you to open an existing project file and import project allows you to combine existing projects. |
It is essential that all FBD files be contained in a common folder (called projects in this example). Each project is a combination of a project file (created by the editor when you save the project) and an image file. It is important that the image file have a specific name of the format:
|
|
Notice, for example that project_1 is accompanied by the folder project_1_images. You can assign any valid name you wish to the project file but you must also store all images for that project in an appropriately named folder. | |
The HTML file which calls FreeBodyDrawer contains a parameter setting that names the projects that you wish to load. This may seem cumbersome but it allows the user to set up different instances of the applet that call only the projects you wish. A sample code snippet is shown below:
<PARAM NAME = "projects" VALUE ="project_1,project_2">
In this example only the projects named project_1 and project_2 would be loaded by the applet FreeBodyDrawer. Note carefully how you change the HTML file. Every instance of the project parameter must be changed to reflect the projects you wish to load. Since this applet uses the Sun plugin, there are 4 different locations in the file that need to be changed. It is recommended that you make a back up of the file before editing it and inspec the file carefully before hand so that you see where the project params are called.