Templot Club forums powered for Martin Wynne by XenForo :

TEMPLOT 3D PLUG TRACK - To get up to speed with this experimental project click here.   To watch an introductory video click here.   See the User Guide at Bexhill West.

  • The Plug Track functions are experimental and still being developed. Some of the earlier pages of this topic are now out-of-date.

    For an updated overview of this project see this topic.   For some practical modelling aspects of using Plug Track see Building 3D Track.

    The assumption is that you have your own machines on which to experiment, or helpful friends with machines. Please do not send Templot files to commercial laser cutting or 3D printing firms while this project is still experimental, because the results are unpredictable and possibly wasteful.

    Some pages of this and other topics include contributions from members who are creating and posting their own CAD designs for 3D printing and laser-cutting. Do not confuse them with Templot's own exported CAD files. All files derived from Templot are © Martin Wynne.
  • The Plug Track functions are experimental and still being developed.

    For an updated overview of this project see this topic.   For some practical modelling aspects of using Plug Track see Building 3D Track.

    The assumption is that you have your own machines on which to experiment, or helpful friends with machines. Please do not send Templot files to commercial laser cutting or 3D printing firms while this project is still experimental, because the results are unpredictable and possibly wasteful.

    Some pages of this and other topics include contributions from members who are creating and posting their own CAD designs for 3D printing and laser-cutting. Do not confuse them with Templot's own exported CAD files. All files derived from Templot are © Martin Wynne.

OpenTemplot2024 -- files ex-Delphi5

Quick reply >

Martin Wynne

Admin
Location
West of the Severn UK
Info
.
Enjoy using Templot?
Thanks.

Please do not send requests for help direct to me via email.

Post your questions on the forum where everyone can see them and add
helpful replies.
This topic is about the internal programming of Templot. If you are interested only in using Templot, this topic can be ignored.



Here are the first 8 Delphi5 files open-sourced on 25th May 2024 from Templot2 version 244d.

licence.txt contains the open-source licence.​
OpenTemplot2024.dpr is the main program wrapper, containing a list of all the unit files and the startup code.​
control_room.pas is the program panel. This is the program's main form -- closing this form (window) quits the program.​
control_room.dfm
bgnd_unit.pas contains the background shapes functions, including the timbering brick assemblers, and BGS3 file functions.​
bgnd_unit.dfm
keep_select.pas is the storage box and includes the BOX file functions. edit see later:
keep_select.dfm
The origins of some of the file names are lost in the mists of time, and ceased to be entirely meaningful as the program developed over the years. Originally a background template was called a "keep", and this term is still used in many places in the code.

A note about identifiers. Pascal is case-insensitive, but for Delphi's own identifiers I normally use CamelCase. For Templot's identifiers I use lower_case_with_underscores. e,g.

Code:
Pen.Width:=pen_width;
counter_str:=IntToStr(counter);

declarations for pen_width and counter_str would be found in the Templot units.
declarations for Pen and IntToStr() will be found in the Delphi library units.

These are all text-based files. Your browser may open them directly. To prevent that, right-click on them and click Save target as...

More soon, there are a lot more yet. :)

Martin.
 

Attachments

  • bgnd_unit.dfm
    109.9 KB · Views: 67
  • bgnd_unit.pas
    451.1 KB · Views: 62
  • control_room.dfm
    389.5 KB · Views: 63
  • control_room.pas
    230.5 KB · Views: 67
  • keep_select.dfm
    78.6 KB · Views: 60
  • licence.txt
    31.8 KB · Views: 58
  • OpenTemplot2024.dpr
    10.9 KB · Views: 57
_______________
message ref: 11279
@nickom @NoIdea

Next up is

bgkeeps_unit.pas
bgkeeps_unit.dfm

The DFM is:

bgkeeps.png



The PAS file includes declarations of the storage box content for each template. It is too long to copy here, see lines 112-1099.

Not all the content is included in a BOX file -- stored templates are re-generated on loading.

When saved in a BOX file it is re-arranged in Told_keep_data like this (from keep_select.pas line 642):

Code:
  Tkeep_dims1=record      // first part of Tkeep_dims

                box_dims1:Tbox_dims1;

              end;//record Tkeep_dims1


  Tkeep_dims2=record

                turnout_info2:Tturnout_info2;

              end;//record Tkeep_dims2


  Told_keep_data=record    // this matches the old Tkeep_data record pre 071 including the timber shove data.
                           // used on loading files.

                   old_keep_dims1:Tkeep_dims1;
                   old_keep_shoves:T048_shoves;
                   old_keep_dims2:Tkeep_dims2;

                 end;//record.

cheers,

Martin.
 

Attachments

  • bgkeeps_unit.dfm
    14.1 KB · Views: 54
  • bgkeeps_unit.pas
    55.1 KB · Views: 56
_______________
message ref: 11294
@nickom @NoIdea @Rusty

Now the big one -- 41,218 lines.

math_unit.pas

This contains most of the calculations for generating a template. Plus the code for drawing the control template on the screen.

And also the 2D part of the experimental chairing for the chair base outlines and the plug and socket sizing (begins at line 30097).

If you need a text editor to look at these files, I suggest Notepad++ (free): https://notepad-plus-plus.org



math_unit.dfm is a simple dialog utility:

math_unit_form.png


Martin.
 

Attachments

  • math_unit.pas
    1.7 MB · Views: 60
  • math_unit.dfm
    7.3 KB · Views: 57
_______________
message ref: 11319
'
Next is:

pad_unit.pas (30,621 lines): This contains most of the UI code for the trackpad.

pad_unit.dfm (12,912 lines):

pad_design_time.png


This the Delphi5 pad_form design-time, with the menu structure, etc.

Martin.
 

Attachments

  • pad_unit.dfm
    442.2 KB · Views: 62
  • pad_unit.pas
    1.2 MB · Views: 59
_______________
message ref: 11333
@nickom @NoIdea @Rusty @Alistair Ward @graeme

Next:

chair_frame_unit.pas
chair_frame_init.dfm


chairs_unit.pas: (1,856 lines) declarations and dimensioning for the chairs -- still experimental and subject to change.

chairs_unit.dfm:

chairs_form.png


Martin.
 

Attachments

  • chairs_unit.pas
    57.8 KB · Views: 53
  • chair_frame_unit.pas
    2.2 KB · Views: 57
  • chairs_unit.dfm
    57.3 KB · Views: 53
  • chair_frame_unit.dfm
    2.2 KB · Views: 53
_______________
message ref: 11339
@nickom @NoIdea @Rusty @Alistair Ward @graeme

A couple more while it is still raining. :)

heave_chairs.pas (unfinished)
heave_chairs.dfm:

heave_design_time.png



intersect_unit.pas
intersect_unit.dfm
:

find_intersect_form.png



Still a long way to go. I will do dxf_unit next, but it's very messy and will need a lot of tidying up.

Martin.
 

Attachments

  • intersect_unit.pas
    17.5 KB · Views: 54
  • intersect_unit.dfm
    11.6 KB · Views: 51
  • heave_chairs.dfm
    405.8 KB · Views: 49
  • heave_chairs.pas
    44.6 KB · Views: 57
_______________
message ref: 11359
@nickom @NoIdea @Rusty @Alistair Ward @graeme

Next is:

dxf_unit.pas: (14,840 lines) This contains all the recent experimental stuff to generate the chairs and export the DXF and STL files. It had got into quite a mess with all the crossings out. :) I hope I haven't broken anything in cleaning it up. It seems to be ok. It is likely to get in a mess again as I progress the plug track chairs, so this is just a snapshot in time.

It's a strange mix of code I wrote 30 years ago, using Autodesk DXF docs from the 1980s, and stuff I wrote last week. When we are all set and done, if ever, I will split it up into more sensible chunks.

dxf_unit.dfm:

dxf_form.png


Martin.
 

Attachments

  • dxf_unit.dfm
    144.5 KB · Views: 53
  • dxf_unit.pas
    676.1 KB · Views: 56
_______________
message ref: 11360
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

Next:

grid_unit.pas: (6,067 lines) This unit draws the background templates on the screen, and also handles the utils functions (ruler, spacing-ring, dummy vehicle). Some of this code is very old and hasn't changed for years, as you can see from some of the comments.

grid_unit.dfm:

grid_form.png


Martin.
 

Attachments

  • grid_unit.pas
    299.2 KB · Views: 51
  • grid_unit.dfm
    22.6 KB · Views: 62
_______________
message ref: 11369

Attachments

  • info_unit.pas
    28.7 KB · Views: 58
  • math2_unit.pas
    147.5 KB · Views: 54
  • info_unit.dfm
    26.2 KB · Views: 48
_______________
message ref: 11373

Attachments

  • switch_select.dfm
    12.4 KB · Views: 51
  • xing_select.dfm
    13.6 KB · Views: 52
  • xing_select.pas
    20.8 KB · Views: 52
  • switch_select.pas
    203.4 KB · Views: 53
_______________
message ref: 11382

Attachments

  • help_sheet.pas
    65.7 KB · Views: 46
  • alert_unit.pas
    41 KB · Views: 49
  • help_sheet.dfm
    18.3 KB · Views: 52
  • alert_unit.dfm
    21.2 KB · Views: 52
_______________
message ref: 11391
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

4 more units, mostly unchanged from the beginning of time:

chat_unit.pas
chat_unit.dfm

entry_sheet.pas
entry_sheet.dfm

metric_unit.pas
metric_unit.dfm

colour_unit.pas

colour_unit.dfm


chat_unit includes the help > print F key chart function.

entry_sheet is the 8-line data-entry form. Copied originally from the same thing on the Atari circa.1990, pre porting Templot to Windows.

metric_unit is the utils > metric calculator utility.

colour_unit is used globally to show the Windows colour selection dialog.

Martin.
 

Attachments

  • colour_unit.pas
    5.5 KB · Views: 40
  • metric_unit.pas
    17.9 KB · Views: 46
  • metric_unit.dfm
    17.2 KB · Views: 49
  • chat_unit.dfm
    5.9 KB · Views: 42
  • entry_sheet.pas
    68.9 KB · Views: 42
  • chat_unit.pas
    19.4 KB · Views: 43
  • entry_sheet.dfm
    31.8 KB · Views: 44
  • colour_unit.dfm
    1.6 KB · Views: 41
_______________
message ref: 11428
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

preview_unit.pas : (2,372 lines) preview the print paper output.
preview_unit.dfm

print_unit.pas
: (6,552 lines) output the printed paper templates. This unit is still waiting for me to add the chair outlines. So much still to do. :(

print_unit.dfm :

print_form.png


Martin.
 

Attachments

  • preview_unit.pas
    104.6 KB · Views: 43
  • preview_unit.dfm
    3.4 KB · Views: 43
  • print_unit.pas
    326.5 KB · Views: 52
  • print_unit.dfm
    20.9 KB · Views: 45
_______________
message ref: 11429
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

This file is not mine:

dtpNativeXml.pas : This is Nils Haeck's open-source XML engine, used to save some Templot files. I have made a couple of changes in it, identified as 85A in the comments.

There are later versions and release notes (including a note about FreePascal) at:

https://sourceforge.net/projects/simdesign/files/trunk/nativexml/

However, the version attached here has not been upgraded to the later versions. Because it is working fine and I haven't found time to thoroughly test the upgrades for compatibility with Delphi5.


Author: Nils Haeck M.Sc. (n.haeck@simdesign.nl)
Copyright (c) 2003 - 2010 Simdesign BV
Version: 2.28
Original date: 01-Apr-2003
Last Modified: 05-Dec-2006

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.

THIS SOFTWARE IS PROVIDED BY SIMDESIGN BV "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SIMDESIGN BV OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF

ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


p.s. Sadly, Nils suffered a serious head injury in a horse-riding accident and was unable to continue with his software projects. This includes the DTP engine used for the Templot sketchboard. His SimDesign web site is now closed.

Martin.
 

Attachments

  • dtpNativeXml.pas
    206.8 KB · Views: 43
_______________
message ref: 11431

Attachments

  • gauge_unit.pas
    108.9 KB · Views: 46
  • startup_unit.pas
    20.3 KB · Views: 40
  • startup_unit.dfm
    116.3 KB · Views: 39
  • gauge_unit.dfm
    16.7 KB · Views: 44
_______________
message ref: 11434

Attachments

  • slider_unit.pas
    2 KB · Views: 48
  • date_unit.dfm
    1.8 KB · Views: 44
  • date_unit.pas
    1.9 KB · Views: 49
  • export_preview_unit.dfm
    4.8 KB · Views: 44
  • export_preview_unit.pas
    2.7 KB · Views: 42
  • mw_unit.dfm
    30.5 KB · Views: 46
  • mw_unit.pas
    2.1 KB · Views: 44
  • search_unit.dfm
    2.9 KB · Views: 45
  • search_unit.pas
    4.5 KB · Views: 41
  • slider_unit.dfm
    3.6 KB · Views: 47
_______________
message ref: 11435
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

Next lot:

brick_unit.pas : 3D utils
brick_unit.dfm

brick_form.png




jigs_unit.pas : rail filing jigs -- and tweezer tips (needs update)
jigs_unit.dfm

jigs_form.png



map_clarity_unit.pas : map functions
map_clarity_unit.dfm

map_clarity_form.png




resample.pas : this file is not mine:

// Project: bitmap resampler
// Module: resample
// Description: Interpolated Bitmap Resampling using filters.
// Version: 01.02
// Release: 3
// Date: 15-MAR-1998
// Target: Win32, Delphi 2 & 3
// Author(s): anme: Anders Melander, anders@melander.dk
// Copyright (c) 1997,98 by Anders Melander
// Formatting: 2 space indent, 8 space tabs, 80 columns.
// -----------------------------------------------------------------------------
// This software is copyrighted as noted above. It may be freely copied,
// modified, and redistributed, provided that the copyright notice(s) is

// preserved on all copies.

My changes in above commented 85A.


Martin.
 

Attachments

  • map_clarity_unit.pas
    53.7 KB · Views: 45
  • map_clarity_unit.dfm
    18.6 KB · Views: 43
  • brick_unit.dfm
    4.6 KB · Views: 45
  • jigs_unit.pas
    79.6 KB · Views: 40
  • jigs_unit.dfm
    21.9 KB · Views: 37
  • brick_unit.pas
    16.1 KB · Views: 43
  • resample.pas
    19.2 KB · Views: 43
_______________
message ref: 11455
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

More files.

create_y_turnout.pas : tools > make Y turnout
create_y_turnout.dfm :

create_y_form.png



lib_unit.pas : library viewer
lib_unit.dfm :

lib_form.png



gaps_unit.pas : template symbols
gaps_unit.dfm :

gaps_form.png



calibration_unit.pas : printer calibration function
calibration_unit.dfm

Martin.
 

Attachments

  • calibration_unit.pas
    59.5 KB · Views: 44
  • calibration_unit.dfm
    204.4 KB · Views: 43
  • gaps_unit.pas
    22 KB · Views: 45
  • gaps_unit.dfm
    20.1 KB · Views: 43
  • lib_unit.pas
    9.2 KB · Views: 40
  • lib_unit.dfm
    3.7 KB · Views: 42
  • create_y_turnout.dfm
    4.3 KB · Views: 42
  • create_y_turnout.pas
    5.5 KB · Views: 44
_______________
message ref: 11458

Attachments

  • stay_visible_unit.pas
    4.9 KB · Views: 49
  • stay_visible_unit.dfm
    5.8 KB · Views: 40
  • panning_unit.pas
    26.4 KB · Views: 41
  • panning_unit.dfm
    31.2 KB · Views: 47
  • shove_timber.pas
    96.3 KB · Views: 46
  • shove_timber.dfm
    29.8 KB · Views: 44
  • plain_track_unit.pas
    31.2 KB · Views: 45
  • plain_track_unit.dfm
    9.2 KB · Views: 45
_______________
message ref: 11463

Attachments

  • jotter_unit.pas
    21.9 KB · Views: 42
  • jotter_unit.dfm
    6.7 KB · Views: 40
  • enter_timber.pas
    8.3 KB · Views: 42
  • enter_timber.dfm
    2.4 KB · Views: 43
  • wait_message.pas
    3.4 KB · Views: 45
  • wait_message.dfm
    20.4 KB · Views: 40
  • mint_unit.pas
    13.7 KB · Views: 43
  • mint_unit.dfm
    15.4 KB · Views: 47
  • edit_memo_unit.pas
    5.4 KB · Views: 40
  • edit_memo_unit.dfm
    3.2 KB · Views: 40
  • action_unit.pas
    6 KB · Views: 42
  • action_unit.dfm
    13.4 KB · Views: 43
_______________
message ref: 11465
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

This file dtp_unit.pas has been about 90% redacted because it contained functions for the non-open-source sketchboard.

It is still needed because it includes the sb_draw function which draws templates on metafiles and exported images.

At present I can't test it in this redacted form, it is likely to need some extra uses links.

cheers,

Martin.
 

Attachments

  • dtp_unit.pas
    193.9 KB · Views: 50
_______________
message ref: 11467
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

A slight diversion.

In a lot of places Templot requires David Baldwin's HTMLViewer component to show HTML-formatted help notes, and links.

The ZIP file below includes HTMLViewer as purchased by me from David Baldwin 20 years ago. The files include some changes by me, generally identified with "85A" in the comments.

They also include David Baldwin's copyright notices. Since then he has made HTMLViewer open-source, so I believe it is permissible to post the original files here.

However, although this version still works fine in Delphi5 with Templot2, it is likely to need some changes for later versions of Delphi and other compilers.

In 2018 I posted a guide to installing the then-current version of HTMLViewer in Lazarus. See this topic:

https://85a.uk/templot/archive/topics/topic_3283.php

But since then Lazarus has upgraded several times and the process is probably changed.

Also below is the original CHM help file for HTMLViewer which will be helpful in getting it working in OpenTemplot2024.

(To read a CHM file in Windows, right-click on the saved file, click Properties, click Unblock at bottom-right of General tab.)

Martin.
 

Attachments

  • HTML_VIEWER.zip
    464.7 KB · Views: 44
  • THtmlViewer.chm
    157.2 KB · Views: 44
_______________
message ref: 11468

Attachments

  • platform_unit.pas
    26.2 KB · Views: 45
  • platform_unit.dfm
    22.6 KB · Views: 45
  • export_unit.pas
    45.6 KB · Views: 42
  • export_unit.dfm
    30.6 KB · Views: 46
  • print_now_box.pas
    2.3 KB · Views: 42
  • print_now_box.dfm
    3.1 KB · Views: 46
  • prefs_unit.pas
    84.2 KB · Views: 46
  • prefs_unit.dfm
    2 KB · Views: 41
  • print_settings_unit.pas
    16.5 KB · Views: 40
  • rail_options_unit.pas
    24.8 KB · Views: 43
  • print_settings_unit.dfm
    10.7 KB · Views: 41
  • rail_options_unit.dfm
    21.4 KB · Views: 44
_______________
message ref: 11469

Attachments

  • check_diffs_unit.pas
    31.1 KB · Views: 44
  • check_diffs_unit.dfm
    14.8 KB · Views: 42
  • keep_select.pas
    568.9 KB · Views: 45
  • data_memo_unit.pas
    3.2 KB · Views: 44
  • data_memo_unit.dfm
    1.2 KB · Views: 40
_______________
message ref: 11471

Attachments

  • make_slip_unit.pas
    36.5 KB · Views: 46
  • make_slip_unit.dfm
    1.5 KB · Views: 41
  • trackbed_unit.pas
    25 KB · Views: 41
  • trackbed_unit.dfm
    13.8 KB · Views: 41
  • map_loader_unit.pas
    97.1 KB · Views: 46
  • map_loader_unit.dfm
    37.4 KB · Views: 43
  • file_viewer.dfm
    9.8 KB · Views: 42
  • file_viewer.pas
    60.2 KB · Views: 39
  • mouse_colour_unit.pas
    4.4 KB · Views: 46
  • mouse_colour_unit.dfm
    3.1 KB · Views: 42
  • image_viewer_unit.dfm
    3 KB · Views: 41
  • image_viewer_unit.pas
    7.8 KB · Views: 45
_______________
message ref: 11472

Attachments

  • detail_mode_unit.pas
    6.1 KB · Views: 43
  • detail_mode_unit.dfm
    4.1 KB · Views: 44
  • track_spacing_unit.pas
    28.8 KB · Views: 41
  • track_spacing_unit.dfm
    24 KB · Views: 40
  • shoved_colour_unit.pas
    5 KB · Views: 43
  • shoved_colour_unit.dfm
    9 KB · Views: 46
  • bitmap_viewer_unit.pas
    6.3 KB · Views: 43
  • bitmap_viewer_unit.dfm
    5.1 KB · Views: 43
  • create_tandem.pas
    71 KB · Views: 45
  • create_tandem.dfm
    5.3 KB · Views: 41
_______________
message ref: 11473
_______________
message ref: 11474
Hi Martin,
I have just tried Lazarus 2.2.6, > Tools > Delphi conversion > Convert Delphi Project.....
and got this message:-
1717533923228.png

Which I believe is expected , especially the "sketchboard_unit" that you have already mentioned.
I assume the others are also expected to be not found due to 3rd party copyright issues.

I also assume that I should just take the [comment out] option.

I should also upgrade to the latest Lazarus, but could not stop myself experimenting first (as today my eggs were scrambled)
Steve
ps dont waste any time replying, as i am just trying the "automatic conversion".
 
_______________
message ref: 11476
Last edited:
_______________
message ref: 11477
When I convert these to lazarus do I need to import and convert within Lazarus. Or is it a manual process .
@nickom

Hi Nick,

The only thing I can say about these files is that they are exactly as-is from Delphi5. That means the only compiler that I can say will definitely work with them as they stand is Delphi5 (from 1998). Other old versions of Delphi from 1998 until 2009 will very likely work too, or with only minor changes. Lazarus will definitely need some changes, but whether that can be automatic I don't know but very much doubt. Any automatic converter in Lazarus is likely to assume it is converting code from a more modern version of Delphi.

Later versions of Delphi from 2009 need to have the string type changed to AnsiString(1252) to ensure they are always single-byte characters. I got the current Delphi Community Edition to run these files without doing that, but it would take a lot of testing to confirm that every part of Templot is working correctly that way.

There doesn't seem to be a compiler directive for that. It would be necessary to declare a new string type as say:

Code:
 twine = type AnsiString(1252);

And then use maybe the file search/replace function in Notepad++ to replace string with twine everywhere in every file.

But not short strings declared as

Code:
string[..]

which should remain unchanged.

cheers,

Martin.
 
_______________
message ref: 11478
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford

Here at last is all the previous files in a single ZIP.

It contains a nested ZIP file - HTML_VIEWER.zip . If you are unable to install HTMLViewer in your compiler, this will need to be unzipped after unzipping the downloaded file.

There are some minor changes in a few of these files since I posted them earlier, so it would be better to use these for ongoing work. Especially the DPR file.

That completes my main intention, which was to have all the current Templot2 and plug track files open-sourced. So that Templot can continue if I get struck by lightning. :)

But I don't want to get too involved in what actually happens to these OpenTemplot2024 files just now, because I need to get back to Templot2 plug track. There is too much unfinished stuff, and folks waiting for it.

But I will try to keep this topic updated with developments, so that OpenTemplot2024 can be in sync with Templot2 and not several years behind. Likewise if someone comes up with the code for a great new function in OpenTemplot2024 I shall be grabbing it for Templot2. :)

cheers,

Martin.
 

Attachments

  • OPEN_TEMPLOT_2024.zip
    2.5 MB · Views: 49
_______________
message ref: 11479
@nickom @NoIdea @Rusty @Alistair Ward @graeme @Steve_Cornford @James Walters

I didn't include this one because it is the control panel for the sketchboard, which can't itself be open-sourced.


sketchboard_control_panel.png


It's also a large and complex form and file (6,575 lines).

However it is much referenced by other units such as the export_unit, so it is probably easiest to include it. Almost all of it will need to be commented out, but we need some of the controls on the form.

I said I wasn't going to do any more with the files -- but here I am tinkering about in Lazarus. :( If I don't stop this and get back to plug track I can't see us having the K-crossings in time for Scaleforum. And now the sun has come out for the afternoon, so my lunch is going into my rucksack. :)

Martin.
 

Attachments

  • dtp_settings_unit.pas
    228.3 KB · Views: 44
  • dtp_settings_unit.dfm
    790.3 KB · Views: 46
_______________
message ref: 11483
Back
Top