T1 files

Martin Wynne

Admin
Location
West of the Severn UK
Info
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 will contain my latest open-source code files derived from Templot2.

I'm calling these Templot1 (T1) files to avoid confusion with the previously released T3 Lazarus files.

These files are from Delphi5. They will need conversion for use in Lazarus.

First a couple of small units.

Martin.
 

Attachments

  • alert_unit.pas
    41.5 KB · Views: 9
  • action_unit.pas
    6 KB · Views: 11
  • alert_unit.dfm
    21.2 KB · Views: 9
  • action_unit.dfm
    13.4 KB · Views: 10
_______________
message ref: 1595

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
@graeme @Alistair Ward

3 more current T2 units.

bitmap_viewer_unit is new since T3 (printed page previewer).

Martin.
 

Attachments

  • bgnd_unit.dfm
    89.9 KB · Views: 12
  • bgkeeps_unit.dfm
    12.2 KB · Views: 11
  • bitmap_viewer_unit.dfm
    5.1 KB · Views: 10
  • bitmap_viewer_unit.pas
    6.2 KB · Views: 9
  • bgnd_unit.pas
    368.8 KB · Views: 8
  • bgkeeps_unit.pas
    8.5 KB · Views: 9
_______________
message ref: 1608

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.

Attachments

  • pdf_unit_redacted.pas
    287.4 KB · Views: 18
  • pdf_unit_redacted.dfm
    14.6 KB · Views: 11
_______________
message ref: 1643

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
3 more current T2 units.

Martin.
 

Attachments

  • calibration_unit.dfm
    204.4 KB · Views: 8
  • calibration_unit.pas
    59.4 KB · Views: 7
  • chat_unit.dfm
    5.9 KB · Views: 7
  • chat_unit.pas
    19.7 KB · Views: 6
  • check_diffs_unit.dfm
    14.5 KB · Views: 8
  • check_diffs_unit.pas
    31.3 KB · Views: 8
_______________
message ref: 1712

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
@Alistair Ward @graeme

This is what Delphi calls the "Main Form". Closing it closes the application.

I have redacted all the version-check on startup internet stuff.

Presumably T3 will have its own update functions.

Martin.
 

Attachments

  • control_room_redacted.pas
    229.1 KB · Views: 7
  • control_room_redacted.dfm
    502.7 KB · Views: 7
_______________
message ref: 1725

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.

Attachments

  • create_tandem.dfm
    5.4 KB · Views: 7
  • create_tandem.pas
    71 KB · Views: 7
  • create_y_turnout.dfm
    4.3 KB · Views: 8
  • create_y_turnout.pas
    5.4 KB · Views: 8
_______________
message ref: 1727

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
@Alistair Ward @graeme

More units.

dtp_settings_unit is the sketchboard control panel, and contains remnants of Nils's code.

Martin.
 

Attachments

  • data_memo_unit.dfm
    1.2 KB · Views: 9
  • data_memo_unit.pas
    3.1 KB · Views: 7
  • detail_mode_unit.dfm
    4.1 KB · Views: 7
  • detail_mode_unit.pas
    6 KB · Views: 6
  • dtp_settings_unit.dfm
    790.3 KB · Views: 6
  • dtp_settings_unit.pas
    228.3 KB · Views: 7
_______________
message ref: 1729

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
@Alistair Ward @graeme

This is the sketchboard screen unit.

It contains a few remnants of Nils's code.

Obviously it won't work without Nils's dtp units, but I'm posting it because it contains the sb_draw function which is also used for image and metafile exports.

cheers,

Martin.
 

Attachments

  • dtp_unit.dfm
    43.5 KB · Views: 6
_______________
message ref: 1730

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
@Alistair Ward @graeme

The problem with posting my current files is that they change so often. :(

dtp_unit.pas has a couple of fixes since I posted it earlier.

Martin.
 

Attachments

  • dtp_unit.pas
    365.2 KB · Views: 6
_______________
message ref: 1733

graeme

Member
Location
Bangkok
The problem with posting my current files is that they change so often. :(
Hi Martin,

I am not sure what Alistair was expecting, but I thought you would only post a new copy of the files with each new release.

If it is easier for you to post each time you update, though, that's fine too. I can accommodate either.

Whatever is easiest for you, really.

Cheers,

Graeme
 
_______________
message ref: 1736

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
am not sure what Alistair was expecting, but I thought you would only post a new copy of the files with each new release.
@graeme @Alistair Ward

Hi Graeme, Alistair,

I'm not sure how best to proceed either.

I made a big mistake with 227 in leaving too long a gap from the previous update, almost 12 months. There was a reason for that -- the urgent need to swap to a new server and a new Templot Club forum software. But I allowed that to distract me too much from the unfinished 227 work. By the time I got back to it I had completely forgotten where I had got to, which bits were finished, which still had loose ends, and which I had barely started. I scribble notes in my notebook, but nowadays they become meaningless within hours. As a result of all that it has taken me 4 updates to fix the bugs in 227a and I still haven't finished.

I should have known better, because I made the same mistake 10 years ago with a long gap going from TemplotZero to Templot2. And at that time I could still remember what I had for breakfast. :)

I originally added the auto-updating function so that I could make future updates little and often. Small incremental changes which don't leave unfinished loose ends for months, by which time I have forgotten all about them. And which allow easy back-tracking if I mess up. I intend to stick to that plan from now on, making frequent update releases even if they don't contain very much.

How that fits in with posting the updated files here isn't too clear, but the first task is to get every file posted in its current state. I'm working through them alphabetically and so far I have got only as far as D, so even that is going to take a while. After that we can decide how best to feed future changes from Templot2 into T3.

cheers,

Martin.
 
_______________
message ref: 1738

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
@Alistair Ward @graeme

Next up is the dxf_unit.

This is the export function for DXF files for CAD. Also STL files when exporting in 3D.

This file includes a lot of my unfinished experimental stuff for 3D chairing. I'm not sure how you want to deal with that for T3? A lot of it may never see the light of day. On the other hand, going through it to create a fully functional redacted version would take me several hours.

p.s. large chunks of this file haven't changed for 25 years. Probably I would do things differently now. :)

cheers,

Martin.
 

Attachments

  • dxf_unit.dfm
    52.9 KB · Views: 8
  • dxf_unit.pas
    187.7 KB · Views: 9
_______________
message ref: 1739

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.

Attachments

  • enter_timber.pas
    8.2 KB · Views: 7
  • edit_outline_unit.pas
    7.7 KB · Views: 7
  • edit_outline_unit.dfm
    3.8 KB · Views: 7
  • edit_memo_unit.pas
    5.3 KB · Views: 6
  • edit_memo_unit.dfm
    3.2 KB · Views: 6
  • enter_timber.dfm
    2.4 KB · Views: 6
_______________
message ref: 1740

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.

Attachments

  • entry_sheet.pas
    67.5 KB · Views: 6
  • entry_sheet.dfm
    30.9 KB · Views: 6
  • export_unit.pas
    45.5 KB · Views: 7
  • export_unit.dfm
    30.2 KB · Views: 7
_______________
message ref: 1741

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.

Attachments

  • gaps_unit.pas
    20.8 KB · Views: 7
  • gaps_unit.dfm
    20.1 KB · Views: 7
_______________
message ref: 1743

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.

Attachments

  • getfile_unit.dfm
    3 KB · Views: 9
  • getfile_unit.pas
    2.9 KB · Views: 8
  • gauge_unit.dfm
    16.7 KB · Views: 8
  • gauge_unit.pas
    104.9 KB · Views: 7
_______________
message ref: 1746

graeme

Member
Location
Bangkok
I made a big mistake with 227 in leaving too long a gap .....
You have my sympathy there. My memory has never been the best (I have NEVER been able to remember what I had for breakfast!) and leaving any kind of gap in development work never ends well for me. :confused:

... future updates little and often.... I intend to stick to that plan from now on, making frequent update releases even if they don't contain very much.... the first task is to get every file posted in its current state.....
That sounds like a plan to me. This seems to be going quicker than I expected, so barring whoopsies, it seems we will be there quite soon. :)

Cheers,

g
 
_______________
message ref: 1749

Martin Wynne

Admin
Location
West of the Severn UK
Info
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.
That sounds like a plan to me. This seems to be going quicker than I expected, so barring whoopsies, it seems we will be there quite soon.
@graeme @Alistair Ward

How is it going in getting any of this merged into T3?

2 more.

Martin.
 

Attachments

  • help_sheet.pas
    65.9 KB · Views: 6
  • help_sheet.dfm
    18.3 KB · Views: 7
  • grid_unit.pas
    221.3 KB · Views: 6
  • grid_unit.dfm
    20.8 KB · Views: 7
_______________
message ref: 1753
Top