(*
-
- F
- * * *
- * * G
- * * * *
- E - - - H - - - I
- * * * *
- * * * *
- * * * *
- D-------A---------------B
- *
- (C) federgraph.de
-
*)
This is a Delphi FMX project. While it is technically a cross platform project, it was originally intended for Windows only. But now, using Delphi 12, it can be used on all targets: Windows, Mac, iOS and Android.
The RiggVar project started in 1995. Special versions of it have been created for several platforms and published via the app store. Published versions before 2020 were light versions that did not surface all of the original features.
The intention with this repository is to rescue some of the original work and provide a basis for future development.
Screenshot of RG38 with RotaForm1 active.
The standard use case for the application is of educational type. It shows how the 420 Rigg behaves in principle. To work with concrete values for your boat requires more work.
There is some help text content about the RiggVar project ( RG ) on the federgraph website, and here in the doc folder.
This project has three implementations of the graphical display:
- A close to original version of a 2D graph which is drawing to the canvas. This one can show overlaid instances of the model; the current situation under load, the relaxed situation, and a reference situation to compare with.
- A new 2D graph implementation which is created by defining drawing elements in code, which in turn will draw to the canvas.
- A real 3D graph.
These implementations are called RotaForm1, RotaForm2, and RotaForm3.
RotaForm was the name of the original standalone form where you could rotate the graph around 3 axis with the mouse. Now you can rotate, pan and zoom with touch screen or with touch pad as well.
The project includes documentation drawings.
- Button FD ( see picture above ) will bring up the form with the documentation drawings.
- This form can be used as the main form in a standalone application, see RG76.dpr.
- In TFormDrawing you can select a drawing from a list and manipulate the parameters of drawing elements with the mouse wheel.
Documentation drawings can serve as a unit test alternative.
Every drawing element has a caption attached so that you know what the name of the element is. Captions of elements can be hidden and shown interactively. The drawings can be used to produce screen shots for the documentation. To add a new drawing is supposed to be easy.
RotaForm2 for RG38 is based on the documentation drawings.
The following IDE versions should be good to build the project:
- Delphi 12 (currently used)
Please read my comments on how to recreate the dproj file (Delphi Project File) and how to fix project options in recreated dproj file.
For minimal project RG03 you need set the conditional define MinimalRG in the project options.
The executable - RG38.exe - can be used standalone on any current Windows 10 machine.
There is no database and no files are saved by default.
The name of the Windows Store application is Trimm420.
The library code for the RiggVar Model (TRigg) shall always be GPL only, and a complete application that you build with it should always have the same license.
Project | Platform | Note |
---|---|---|
RG03 | FMX | minimal desktop version of RG |
RG10 | FMX | mini version of RG |
RG19 | VCL | original RiggVar project |
RG38 | FMX | Trimm 420 full project |
RG51 | LCL | FPC / Lazarus project using TBGRABitmap |
RG69 | FMX | local color test project |
RG76 | FMX | local documentation drawings project |
RG79 | FMX | standalone documentation drawings repo |