From 7b358424ebad9349421acd533c2fa1cbf6cf3e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 28 Dec 2016 16:52:56 +0100 Subject: Initial import of xtrkcad version 1:4.0.2-2 --- app/lib/CMakeLists.txt | 17 + app/lib/COPYING | 340 + app/lib/Readme.creole | 283 + app/lib/Readme.txt | 330 + app/lib/demos/CMakeLists.txt | 5 + app/lib/demos/dmadjend.xtr | 643 + app/lib/demos/dmbench.xtr | 70 + app/lib/demos/dmcancel.xtr | 112 + app/lib/demos/dmcircle.xtr | 51 + app/lib/demos/dmconn1.xtr | 230 + app/lib/demos/dmconn2.xtr | 242 + app/lib/demos/dmcrvtrk.xtr | 96 + app/lib/demos/dmctlpnl.xtr | 891 + app/lib/demos/dmdelund.xtr | 80 + app/lib/demos/dmdialog.xtr | 36 + app/lib/demos/dmdimlin.xtr | 165 + app/lib/demos/dmease.xtr | 72 + app/lib/demos/dmelev.xtr | 357 + app/lib/demos/dmexcept.xtr | 89 + app/lib/demos/dmextend.xtr | 69 + app/lib/demos/dmflip.xtr | 190 + app/lib/demos/dmgroup.xtr | 467 + app/lib/demos/dmhelix.xtr | 193 + app/lib/demos/dmhndld.xtr | 111 + app/lib/demos/dmintro.xtr | 79 + app/lib/demos/dmjcir.xtr | 240 + app/lib/demos/dmjnabut.xtr | 59 + app/lib/demos/dmjncs.xtr | 64 + app/lib/demos/dmjnmove.xtr | 51 + app/lib/demos/dmjnss.xtr | 61 + app/lib/demos/dmjntt.xtr | 175 + app/lib/demos/dmlines.xtr | 223 + app/lib/demos/dmlines2.xtr | 197 + app/lib/demos/dmmouse.xtr | 210 + app/lib/demos/dmmovabt.xtr | 75 + app/lib/demos/dmnotes.xtr | 43 + app/lib/demos/dmparall.xtr | 183 + app/lib/demos/dmplymod.xtr | 76 + app/lib/demos/dmprof.xtr | 330 + app/lib/demos/dmrescal.xtr | 180 + app/lib/demos/dmrotate.xtr | 504 + app/lib/demos/dmruler.xtr | 46 + app/lib/demos/dmselect.xtr | 412 + app/lib/demos/dmsplit.xtr | 100 + app/lib/demos/dmstrtrk.xtr | 31 + app/lib/demos/dmtbledg.xtr | 213 + app/lib/demos/dmtodes.xtr | 52 + app/lib/demos/dmtosel.xtr | 283 + app/lib/demos/dmtotrim.xtr | 96 + app/lib/demos/dmtoyard.xtr | 204 + app/lib/demos/dmtrkwid.xtr | 136 + app/lib/demos/dmtrntab.xtr | 26 + .../2_train_round_mrklnhomde_v1_2014_01.xtc | 712 + app/lib/examples/2oval8_mrklnhomde_v1_2013_03.xtc | 1444 + .../examples/2way2loop_mrklnhomde_v1_2013_04.xtc | 1935 + app/lib/examples/2x8+L+layout+01c.xtc | 3159 + ...3_circles_loops_mrklnhomde_2013_06_jruppert.xtc | 1238 + .../3oval1circle_mrklnhomde_v1_2013_03.xtc | 1667 + .../examples/3oval2loops_mrklnhomde_v1_2013_04.xtc | 1413 + app/lib/examples/3oval8_mrklnhomde_v1_2013_03.xtc | 3627 + ...ack_and_looping_mrklnhomde_2013_02_jruppert.xtc | 3568 + .../4_Triangles_mrklnhomde_2012_11_jruppert.xtc | 1743 + app/lib/examples/Bridge_over_central_station.xtc | 1854 + app/lib/examples/CMakeLists.txt | 6 + ...al_Station_City_mrklnhomde_2013_06_jruppert.xtc | 3201 + ...Central_Station_mrklnhomde_2013_04_jruppert.xtc | 5592 + app/lib/examples/Control-Panels.xtc | 4281 + .../DVRR v3.0 E Stroudsburg - Pt Jervis.xtc | 138933 ++++++++++++++++++ app/lib/examples/Eishindo T Track Test Layout.xtc | 911 + app/lib/examples/MaerklinLayout_ReverseLoop4.xtc | 1311 + .../Station_2ladder_v1_2014_07_jruppert.xtc | 4577 + ...ion_and_Circles_mrklnhomde_2013_02_jruppert.xtc | 3565 + .../bridge_and_loops_mrklnhomde_v1_2013_03.xtc | 1782 + app/lib/examples/cascade.xtc | 7290 + app/lib/examples/iota.xtc | 135 + app/lib/examples/katoxing.xtc | 310 + app/lib/examples/laurel_hon3.xtc | 483 + app/lib/examples/mr03.xtc | 272 + app/lib/examples/mrklnhomde_v1_geometry.xtc | 1761 + app/lib/examples/ntrak4.xtc | 67 + app/lib/examples/ntrak6.xtc | 67 + app/lib/examples/ntrak8.xtc | 67 + app/lib/examples/pmi.xtc | 281 + app/lib/examples/port_dinllean.xtc | 8183 ++ app/lib/examples/psr.xtc | 95685 ++++++++++++ ...ck-rail-ski-train-t-trak-triple-double-wide.xtc | 1644 + app/lib/examples/spagw1.xtc | 1005 + app/lib/examples/spagw2.xtc | 1099 + app/lib/examples/spagw3.xtc | 1297 + app/lib/examples/spagw4.xtc | 1471 + app/lib/examples/spagw5.xtc | 1728 + app/lib/examples/stonega.xtc | 989 + app/lib/examples/timesavr.xtc | 282 + app/lib/icon.icns | Bin 0 -> 90631 bytes app/lib/icon.png | Bin 0 -> 3803 bytes app/lib/icon.svg | 454 + app/lib/logo.bmp | Bin 0 -> 97974 bytes app/lib/logo.xcf | Bin 0 -> 225222 bytes app/lib/params/ACG19.350 Track.xtp | 85 + app/lib/params/ACG20.000 Track.xtp | 85 + app/lib/params/ACG20.000_Track.xtp | 92 + app/lib/params/Any-CTC_panel.xtp | 414 + app/lib/params/Any-CabooseIndustries.xtp | 31 + app/lib/params/Any-ElecSymbol.xtp | 647 + app/lib/params/AtlasTrueTrk.xtp | 263 + app/lib/params/Azatrax.xtp | 92 + app/lib/params/BachmannEZ-HO.xtp | 575 + app/lib/params/BachmannEZ-N.xtp | 554 + app/lib/params/CMakeLists.txt | 93 + app/lib/params/Central Valley turnout kits.xtp | 73 + app/lib/params/Central Valley turnouts.xtp | 25 + app/lib/params/ChangeLog | 87 + app/lib/params/Circuits.xtp | 325 + app/lib/params/DiamondSc.xtp | 29 + app/lib/params/EM-UK Fine Scale.xtp | 611 + app/lib/params/FastTrack-HO.xtp | 930 + app/lib/params/FastTrack_n.xtp | 1080 + app/lib/params/G-aristo.xtp | 232 + app/lib/params/Gn15-nmra.xtp | 162 + app/lib/params/H0_ncb-Roads.xtp | 1098 + app/lib/params/HO-AtlasHOstruct.xtp | 154 + app/lib/params/HO-DapolHOOO.xtp | 117 + app/lib/params/HO-HornbyHO.xtp | 208 + app/lib/params/HO-LifeLike-Power-Loc.xtp | 114 + app/lib/params/HO-MetcalfeHOOO.xtp | 105 + app/lib/params/HO-OldJouefHO100.xtp | 165 + app/lib/params/HO-RatioHOOO.xtp | 209 + app/lib/params/HO-Slot-Car-AFX-Track.xtp | 376 + app/lib/params/HO-Slot-Car-Adapter-Track.xtp | 116 + .../HO-Slot-Car-Aurora-Track-Manually-Modified.xtp | 985 + app/lib/params/HO-Slot-Car-Aurora-Track.xtp | 1320 + app/lib/params/HO-Slot-Cars.xtp | 8 + app/lib/params/HO-Superquick.xtp | 852 + app/lib/params/HO-WillsHOOO.xtp | 255 + app/lib/params/HO-atl100ho.xtp | 330 + app/lib/params/HO-cmr-ho.xtp | 325 + app/lib/params/HO_toolkit-Roads.xtp | 675 + app/lib/params/Hornby Dublo 2 Rail Buildings.xtp | 746 + app/lib/params/Hornby Dublo 2 Rail.xtp | 644 + .../params/Hornby Dublo 3 Rail with Turntable.xtp | 744 + app/lib/params/Hornby Dublo Signals.xtp | 494 + app/lib/params/Hornby Dublo Wood Buildings.xtp | 477 + app/lib/params/HornbyOO.xtp | 221 + app/lib/params/JouefHO.xtp | 215 + app/lib/params/K-Line O Structures (Kits).xtp | 1053 + app/lib/params/LifeLike-N.xtp | 66 + app/lib/params/LimaHO.xtp | 222 + app/lib/params/Lionel O Misc.xtp | 604 + app/lib/params/Lionel O Operating Structures.xtp | 2330 + app/lib/params/Lionel O Structures (Kits).xtp | 1233 + app/lib/params/Lionel-O-O27.xtp | 323 + app/lib/params/Lionel-O.xtp | 227 + app/lib/params/Lionel27.xtp | 178 + app/lib/params/LionelFasttrack.xtp | 466 + .../Lionel_Marx Beacons & Floodlight Towers.xtp | 1275 + .../Lionel_Marx Highway Signals & Blocks.xtp | 558 + app/lib/params/Marx.xtp | 97 + app/lib/params/N-AtlasTrueTrack.xtp | 195 + app/lib/params/N-BRIDGES.xtp | 139 + app/lib/params/N-Bonus Commercial Structures.xtp | 110 + .../N-Bonus Generic Industrial Structures.xtp | 220 + app/lib/params/N-Bonus Industrial Structures.xtp | 823 + app/lib/params/N-Bonus Railroad Structures.xtp | 178 + app/lib/params/N-Bonus Residential Structures.xtp | 103 + app/lib/params/N-Bonus Structures.xtp | 148 + app/lib/params/N-DESIGN-PRESERVATION.xtp | 251 + app/lib/params/N-GRAIN-ELEVATORS.xtp | 646 + app/lib/params/N-Greenmax-Engine sheds.xtp | 544 + app/lib/params/N-Greenmax-Island platform 16.xtp | 56 + app/lib/params/N-Kato-Unitram.xtp | 155 + app/lib/params/N-Katocn.xtp | 73 + app/lib/params/N-LifeLike Power-Loc.xtp | 66 + app/lib/params/N-ME Structures.xtp | 334 + app/lib/params/N-MOBILE-HOMES.xtp | 489 + app/lib/params/N-N- 90ft-ROUNDHOUSE.xtp | 171 + app/lib/params/N-NScaleArchitect.xtp | 47 + app/lib/params/N-NULINE.xtp | 876 + app/lib/params/N-Rix-Pikestuff.xtp | 2060 + app/lib/params/N-Shinohara70.xtp | 183 + app/lib/params/N-atlasn55.xtp | 546 + app/lib/params/N-cmr.xtp | 325 + app/lib/params/N-kato-n-gl-trk.xtp | 567 + app/lib/params/N-kato-turntable.xtp | 205 + app/lib/params/N-kato.xtp | 1625 + app/lib/params/N-me.xtp | 47 + app/lib/params/NJI.xtp | 4 + .../NScale_SectorPlate_Traverser_Examples.xtp | 37 + app/lib/params/Ninco_SCX Slot Car.xtp | 184 + app/lib/params/O-RealTrax.xtp | 372 + app/lib/params/O-Ross.xtp | 746 + app/lib/params/O-atlaso3rail.xtp | 617 + app/lib/params/O-nmra-lapped.xtp | 76 + app/lib/params/On14mm KBScale.xtp | 98 + app/lib/params/On30-FastTrack.xtp | 177 + app/lib/params/On30-Guy.xtp | 171 + app/lib/params/On30-Interfaceplates.xtp | 136 + app/lib/params/On30.xtp | 469 + app/lib/params/Peco-On30.xtp | 37 + app/lib/params/Piko-A.xtp | 188 + app/lib/params/Piko-g.xtp | 183 + app/lib/params/ProZ-Track.xtp | 66 + app/lib/params/Proto-AmSlotCar.xtp | 10 + app/lib/params/RSLaserKits.xtp | 684 + app/lib/params/RocoGeoLineHO.xtp | 243 + app/lib/params/S-AmericanModel.xtp | 117 + app/lib/params/S-Trax.xtp | 201 + app/lib/params/S_ACG_18.824in Radius Track.xtp | 79 + app/lib/params/S_ACG_20.000 Track.xtp | 93 + app/lib/params/SideTrk.xtp | 16 + app/lib/params/T-Eishindo.xtp | 321 + app/lib/params/TT-Kuehn.xtp | 105 + app/lib/params/TT-Roco-Turntable.xtp | 64 + app/lib/params/TT-TilligAdvBeddingTrack.xtp | 257 + app/lib/params/TT-Trak Modules.xtp | 419 + app/lib/params/Tables (all scales).xtp | 64 + app/lib/params/TilligAdvTT.xtp | 304 + app/lib/params/TilligEliteHO-V2a.xtp | 395 + app/lib/params/USA-G.xtp | 110 + app/lib/params/Woodland.xtp | 74 + app/lib/params/Z-Rokuhan.xtp | 1019 + app/lib/params/accurail.cars | 653 + app/lib/params/amb-n.xtp | 165 + app/lib/params/arnold.xtp | 233 + app/lib/params/atl83ho.xtp | 448 + app/lib/params/atlascho.cars | 654 + app/lib/params/atlascn.xtp | 2005 + app/lib/params/atlaseho.cars | 2456 + app/lib/params/atlasen.xtp | 1190 + app/lib/params/atlasn.xtp | 697 + app/lib/params/atlaso2rail.xtp | 311 + app/lib/params/bach-n.xtp | 95 + app/lib/params/br.xtp | 754 + app/lib/params/busch-HOf.xtp | 80 + app/lib/params/cars.csv | 121 + app/lib/params/color.tab | 7 + app/lib/params/ctlpanel.xtp | 107 + app/lib/params/dpm-ho.xtp | 45 + app/lib/params/dpm-n.xtp | 710 + app/lib/params/eu.xtp | 16 + app/lib/params/fallerho.struct | 99 + app/lib/params/fl-model.xtp | 496 + app/lib/params/fl-profi.xtp | 595 + app/lib/params/flnpicco.xtp | 666 + app/lib/params/gargrv-o.xtp | 151 + app/lib/params/ho-amb.xtp | 180 + app/lib/params/ho-barm.xtp | 455 + app/lib/params/ho-blair.xtp | 144 + app/lib/params/ho-branc.xtp | 445 + app/lib/params/ho-campb.xtp | 133 + app/lib/params/ho-craft.xtp | 319 + app/lib/params/ho-fos.xtp | 121 + app/lib/params/ho-jlinn.xtp | 244 + app/lib/params/ho-ncb-roads.xtp | 1098 + app/lib/params/hornby3r.xtp | 393 + app/lib/params/hubner1.xtp | 157 + app/lib/params/kato-ho.xtp | 460 + app/lib/params/kato-n-DblTrk.xtp | 369 + app/lib/params/kato-n.xtp | 1484 + app/lib/params/lgb.xtp | 356 + app/lib/params/marcway-EM.xtp | 138 + app/lib/params/me-ho.xtp | 47 + app/lib/params/minitrix.xtp | 318 + app/lib/params/mkcarpart.c | 463 + app/lib/params/mkstruct.c | 146 + app/lib/params/mp-n.xtp | 1460 + app/lib/params/mrkholde.xtp | 552 + app/lib/params/mrkhomde.xtp | 3124 + app/lib/params/mrkln1.xtp | 82 + app/lib/params/mrklnhoc-de.xtp | 495 + app/lib/params/mrklnhoc.xtp | 495 + app/lib/params/mrklnhok.xtp | 401 + app/lib/params/mrklnhom.xtp | 906 + app/lib/params/mrklnz.xtp | 488 + app/lib/params/mtl-z.xtp | 253 + app/lib/params/nmra-0-lapped.xtp | 76 + app/lib/params/nmra-ho.to | 8 + app/lib/params/nmra-ho3.to | 8 + app/lib/params/nmra-n.to | 9 + app/lib/params/nmra-o.to | 9 + app/lib/params/nmra-o3.to | 8 + app/lib/params/nmra-s.to | 8 + app/lib/params/nmra-to.c | 272 + app/lib/params/nmra-tt.to | 8 + app/lib/params/p4.xtp | 611 + app/lib/params/peco turntable wo routes.xtp | 43 + app/lib/params/peco-O-Bullhead.xtp | 80 + app/lib/params/pecoho.xtp | 217 + app/lib/params/pecoho83.xtp | 126 + app/lib/params/pecohom.xtp | 63 + app/lib/params/pecohon30.xtp | 62 + app/lib/params/pecohost.xtp | 170 + app/lib/params/pecon55.xtp | 316 + app/lib/params/pecon80.xtp | 237 + app/lib/params/peconst.xtp | 189 + app/lib/params/pikestuf.struct | 12 + app/lib/params/protoam.xtp | 2988 + app/lib/params/protosteam.xtp | 219 + app/lib/params/prototype-de.xtp | 360 + app/lib/params/revell.struct | 15 + app/lib/params/roadname.tab | 247 + app/lib/params/rocho100.xtp | 61 + app/lib/params/rocho83.xtp | 293 + app/lib/params/rocon.xtp | 296 + app/lib/params/signals_HO.xtp | 64 + app/lib/params/smltown.xtp | 306 + app/lib/params/t-trak-notes.txt | 16 + app/lib/params/t-trak.xtp | 431 + app/lib/params/taylor-ho.xtp | 407 + app/lib/params/tillig-hom.xtp | 105 + app/lib/params/tomix-n.xtp | 1310 + app/lib/params/toolkit-n.xtp | 697 + app/lib/params/tortoise.xtp | 37 + app/lib/params/trees.xtp | 353 + app/lib/params/walth-bkgrd-ho.xtp | 174 + app/lib/params/walth-ho.xtp | 2103 + app/lib/params/walth-n.xtp | 2686 + app/lib/params/wlthho10.xtp | 146 + app/lib/params/wlthho83.xtp | 480 + app/lib/pencil.gif | Bin 0 -> 454 bytes app/lib/xtrkcad.desktop | 9 + app/lib/xtrkcad.ini | 10 + app/lib/xtrkcad.xtq | 346 + 322 files changed, 411136 insertions(+) create mode 100644 app/lib/CMakeLists.txt create mode 100644 app/lib/COPYING create mode 100644 app/lib/Readme.creole create mode 100644 app/lib/Readme.txt create mode 100644 app/lib/demos/CMakeLists.txt create mode 100644 app/lib/demos/dmadjend.xtr create mode 100644 app/lib/demos/dmbench.xtr create mode 100644 app/lib/demos/dmcancel.xtr create mode 100644 app/lib/demos/dmcircle.xtr create mode 100644 app/lib/demos/dmconn1.xtr create mode 100644 app/lib/demos/dmconn2.xtr create mode 100644 app/lib/demos/dmcrvtrk.xtr create mode 100644 app/lib/demos/dmctlpnl.xtr create mode 100644 app/lib/demos/dmdelund.xtr create mode 100644 app/lib/demos/dmdialog.xtr create mode 100644 app/lib/demos/dmdimlin.xtr create mode 100644 app/lib/demos/dmease.xtr create mode 100644 app/lib/demos/dmelev.xtr create mode 100644 app/lib/demos/dmexcept.xtr create mode 100644 app/lib/demos/dmextend.xtr create mode 100644 app/lib/demos/dmflip.xtr create mode 100644 app/lib/demos/dmgroup.xtr create mode 100644 app/lib/demos/dmhelix.xtr create mode 100644 app/lib/demos/dmhndld.xtr create mode 100644 app/lib/demos/dmintro.xtr create mode 100644 app/lib/demos/dmjcir.xtr create mode 100644 app/lib/demos/dmjnabut.xtr create mode 100644 app/lib/demos/dmjncs.xtr create mode 100644 app/lib/demos/dmjnmove.xtr create mode 100644 app/lib/demos/dmjnss.xtr create mode 100644 app/lib/demos/dmjntt.xtr create mode 100644 app/lib/demos/dmlines.xtr create mode 100644 app/lib/demos/dmlines2.xtr create mode 100644 app/lib/demos/dmmouse.xtr create mode 100644 app/lib/demos/dmmovabt.xtr create mode 100644 app/lib/demos/dmnotes.xtr create mode 100644 app/lib/demos/dmparall.xtr create mode 100644 app/lib/demos/dmplymod.xtr create mode 100644 app/lib/demos/dmprof.xtr create mode 100644 app/lib/demos/dmrescal.xtr create mode 100644 app/lib/demos/dmrotate.xtr create mode 100644 app/lib/demos/dmruler.xtr create mode 100644 app/lib/demos/dmselect.xtr create mode 100644 app/lib/demos/dmsplit.xtr create mode 100644 app/lib/demos/dmstrtrk.xtr create mode 100644 app/lib/demos/dmtbledg.xtr create mode 100644 app/lib/demos/dmtodes.xtr create mode 100644 app/lib/demos/dmtosel.xtr create mode 100644 app/lib/demos/dmtotrim.xtr create mode 100644 app/lib/demos/dmtoyard.xtr create mode 100644 app/lib/demos/dmtrkwid.xtr create mode 100644 app/lib/demos/dmtrntab.xtr create mode 100644 app/lib/examples/2_train_round_mrklnhomde_v1_2014_01.xtc create mode 100644 app/lib/examples/2oval8_mrklnhomde_v1_2013_03.xtc create mode 100644 app/lib/examples/2way2loop_mrklnhomde_v1_2013_04.xtc create mode 100644 app/lib/examples/2x8+L+layout+01c.xtc create mode 100644 app/lib/examples/3_circles_loops_mrklnhomde_2013_06_jruppert.xtc create mode 100644 app/lib/examples/3oval1circle_mrklnhomde_v1_2013_03.xtc create mode 100644 app/lib/examples/3oval2loops_mrklnhomde_v1_2013_04.xtc create mode 100644 app/lib/examples/3oval8_mrklnhomde_v1_2013_03.xtc create mode 100644 app/lib/examples/3way_track_and_looping_mrklnhomde_2013_02_jruppert.xtc create mode 100644 app/lib/examples/4_Triangles_mrklnhomde_2012_11_jruppert.xtc create mode 100644 app/lib/examples/Bridge_over_central_station.xtc create mode 100644 app/lib/examples/CMakeLists.txt create mode 100644 app/lib/examples/Central_Station_City_mrklnhomde_2013_06_jruppert.xtc create mode 100644 app/lib/examples/Central_Station_mrklnhomde_2013_04_jruppert.xtc create mode 100644 app/lib/examples/Control-Panels.xtc create mode 100644 app/lib/examples/DVRR v3.0 E Stroudsburg - Pt Jervis.xtc create mode 100644 app/lib/examples/Eishindo T Track Test Layout.xtc create mode 100644 app/lib/examples/MaerklinLayout_ReverseLoop4.xtc create mode 100644 app/lib/examples/Station_2ladder_v1_2014_07_jruppert.xtc create mode 100644 app/lib/examples/Station_and_Circles_mrklnhomde_2013_02_jruppert.xtc create mode 100644 app/lib/examples/bridge_and_loops_mrklnhomde_v1_2013_03.xtc create mode 100644 app/lib/examples/cascade.xtc create mode 100644 app/lib/examples/iota.xtc create mode 100644 app/lib/examples/katoxing.xtc create mode 100644 app/lib/examples/laurel_hon3.xtc create mode 100644 app/lib/examples/mr03.xtc create mode 100644 app/lib/examples/mrklnhomde_v1_geometry.xtc create mode 100644 app/lib/examples/ntrak4.xtc create mode 100644 app/lib/examples/ntrak6.xtc create mode 100644 app/lib/examples/ntrak8.xtc create mode 100644 app/lib/examples/pmi.xtc create mode 100644 app/lib/examples/port_dinllean.xtc create mode 100644 app/lib/examples/psr.xtc create mode 100644 app/lib/examples/rack-rail-ski-train-t-trak-triple-double-wide.xtc create mode 100644 app/lib/examples/spagw1.xtc create mode 100644 app/lib/examples/spagw2.xtc create mode 100644 app/lib/examples/spagw3.xtc create mode 100644 app/lib/examples/spagw4.xtc create mode 100644 app/lib/examples/spagw5.xtc create mode 100644 app/lib/examples/stonega.xtc create mode 100644 app/lib/examples/timesavr.xtc create mode 100644 app/lib/icon.icns create mode 100644 app/lib/icon.png create mode 100644 app/lib/icon.svg create mode 100755 app/lib/logo.bmp create mode 100644 app/lib/logo.xcf create mode 100644 app/lib/params/ACG19.350 Track.xtp create mode 100644 app/lib/params/ACG20.000 Track.xtp create mode 100644 app/lib/params/ACG20.000_Track.xtp create mode 100644 app/lib/params/Any-CTC_panel.xtp create mode 100644 app/lib/params/Any-CabooseIndustries.xtp create mode 100644 app/lib/params/Any-ElecSymbol.xtp create mode 100644 app/lib/params/AtlasTrueTrk.xtp create mode 100644 app/lib/params/Azatrax.xtp create mode 100644 app/lib/params/BachmannEZ-HO.xtp create mode 100644 app/lib/params/BachmannEZ-N.xtp create mode 100644 app/lib/params/CMakeLists.txt create mode 100644 app/lib/params/Central Valley turnout kits.xtp create mode 100644 app/lib/params/Central Valley turnouts.xtp create mode 100644 app/lib/params/ChangeLog create mode 100644 app/lib/params/Circuits.xtp create mode 100644 app/lib/params/DiamondSc.xtp create mode 100644 app/lib/params/EM-UK Fine Scale.xtp create mode 100644 app/lib/params/FastTrack-HO.xtp create mode 100644 app/lib/params/FastTrack_n.xtp create mode 100644 app/lib/params/G-aristo.xtp create mode 100644 app/lib/params/Gn15-nmra.xtp create mode 100644 app/lib/params/H0_ncb-Roads.xtp create mode 100644 app/lib/params/HO-AtlasHOstruct.xtp create mode 100644 app/lib/params/HO-DapolHOOO.xtp create mode 100644 app/lib/params/HO-HornbyHO.xtp create mode 100644 app/lib/params/HO-LifeLike-Power-Loc.xtp create mode 100644 app/lib/params/HO-MetcalfeHOOO.xtp create mode 100644 app/lib/params/HO-OldJouefHO100.xtp create mode 100644 app/lib/params/HO-RatioHOOO.xtp create mode 100644 app/lib/params/HO-Slot-Car-AFX-Track.xtp create mode 100644 app/lib/params/HO-Slot-Car-Adapter-Track.xtp create mode 100644 app/lib/params/HO-Slot-Car-Aurora-Track-Manually-Modified.xtp create mode 100644 app/lib/params/HO-Slot-Car-Aurora-Track.xtp create mode 100644 app/lib/params/HO-Slot-Cars.xtp create mode 100644 app/lib/params/HO-Superquick.xtp create mode 100644 app/lib/params/HO-WillsHOOO.xtp create mode 100644 app/lib/params/HO-atl100ho.xtp create mode 100644 app/lib/params/HO-cmr-ho.xtp create mode 100644 app/lib/params/HO_toolkit-Roads.xtp create mode 100644 app/lib/params/Hornby Dublo 2 Rail Buildings.xtp create mode 100644 app/lib/params/Hornby Dublo 2 Rail.xtp create mode 100644 app/lib/params/Hornby Dublo 3 Rail with Turntable.xtp create mode 100644 app/lib/params/Hornby Dublo Signals.xtp create mode 100644 app/lib/params/Hornby Dublo Wood Buildings.xtp create mode 100644 app/lib/params/HornbyOO.xtp create mode 100644 app/lib/params/JouefHO.xtp create mode 100644 app/lib/params/K-Line O Structures (Kits).xtp create mode 100644 app/lib/params/LifeLike-N.xtp create mode 100644 app/lib/params/LimaHO.xtp create mode 100644 app/lib/params/Lionel O Misc.xtp create mode 100644 app/lib/params/Lionel O Operating Structures.xtp create mode 100644 app/lib/params/Lionel O Structures (Kits).xtp create mode 100644 app/lib/params/Lionel-O-O27.xtp create mode 100644 app/lib/params/Lionel-O.xtp create mode 100644 app/lib/params/Lionel27.xtp create mode 100644 app/lib/params/LionelFasttrack.xtp create mode 100644 app/lib/params/Lionel_Marx Beacons & Floodlight Towers.xtp create mode 100644 app/lib/params/Lionel_Marx Highway Signals & Blocks.xtp create mode 100644 app/lib/params/Marx.xtp create mode 100644 app/lib/params/N-AtlasTrueTrack.xtp create mode 100644 app/lib/params/N-BRIDGES.xtp create mode 100644 app/lib/params/N-Bonus Commercial Structures.xtp create mode 100644 app/lib/params/N-Bonus Generic Industrial Structures.xtp create mode 100644 app/lib/params/N-Bonus Industrial Structures.xtp create mode 100644 app/lib/params/N-Bonus Railroad Structures.xtp create mode 100644 app/lib/params/N-Bonus Residential Structures.xtp create mode 100644 app/lib/params/N-Bonus Structures.xtp create mode 100644 app/lib/params/N-DESIGN-PRESERVATION.xtp create mode 100644 app/lib/params/N-GRAIN-ELEVATORS.xtp create mode 100644 app/lib/params/N-Greenmax-Engine sheds.xtp create mode 100644 app/lib/params/N-Greenmax-Island platform 16.xtp create mode 100644 app/lib/params/N-Kato-Unitram.xtp create mode 100644 app/lib/params/N-Katocn.xtp create mode 100644 app/lib/params/N-LifeLike Power-Loc.xtp create mode 100644 app/lib/params/N-ME Structures.xtp create mode 100644 app/lib/params/N-MOBILE-HOMES.xtp create mode 100644 app/lib/params/N-N- 90ft-ROUNDHOUSE.xtp create mode 100644 app/lib/params/N-NScaleArchitect.xtp create mode 100644 app/lib/params/N-NULINE.xtp create mode 100644 app/lib/params/N-Rix-Pikestuff.xtp create mode 100644 app/lib/params/N-Shinohara70.xtp create mode 100644 app/lib/params/N-atlasn55.xtp create mode 100644 app/lib/params/N-cmr.xtp create mode 100644 app/lib/params/N-kato-n-gl-trk.xtp create mode 100644 app/lib/params/N-kato-turntable.xtp create mode 100644 app/lib/params/N-kato.xtp create mode 100644 app/lib/params/N-me.xtp create mode 100644 app/lib/params/NJI.xtp create mode 100644 app/lib/params/NScale_SectorPlate_Traverser_Examples.xtp create mode 100644 app/lib/params/Ninco_SCX Slot Car.xtp create mode 100644 app/lib/params/O-RealTrax.xtp create mode 100644 app/lib/params/O-Ross.xtp create mode 100644 app/lib/params/O-atlaso3rail.xtp create mode 100644 app/lib/params/O-nmra-lapped.xtp create mode 100644 app/lib/params/On14mm KBScale.xtp create mode 100644 app/lib/params/On30-FastTrack.xtp create mode 100644 app/lib/params/On30-Guy.xtp create mode 100644 app/lib/params/On30-Interfaceplates.xtp create mode 100644 app/lib/params/On30.xtp create mode 100644 app/lib/params/Peco-On30.xtp create mode 100644 app/lib/params/Piko-A.xtp create mode 100644 app/lib/params/Piko-g.xtp create mode 100644 app/lib/params/ProZ-Track.xtp create mode 100644 app/lib/params/Proto-AmSlotCar.xtp create mode 100644 app/lib/params/RSLaserKits.xtp create mode 100644 app/lib/params/RocoGeoLineHO.xtp create mode 100644 app/lib/params/S-AmericanModel.xtp create mode 100644 app/lib/params/S-Trax.xtp create mode 100644 app/lib/params/S_ACG_18.824in Radius Track.xtp create mode 100644 app/lib/params/S_ACG_20.000 Track.xtp create mode 100644 app/lib/params/SideTrk.xtp create mode 100644 app/lib/params/T-Eishindo.xtp create mode 100644 app/lib/params/TT-Kuehn.xtp create mode 100644 app/lib/params/TT-Roco-Turntable.xtp create mode 100644 app/lib/params/TT-TilligAdvBeddingTrack.xtp create mode 100644 app/lib/params/TT-Trak Modules.xtp create mode 100644 app/lib/params/Tables (all scales).xtp create mode 100644 app/lib/params/TilligAdvTT.xtp create mode 100644 app/lib/params/TilligEliteHO-V2a.xtp create mode 100644 app/lib/params/USA-G.xtp create mode 100644 app/lib/params/Woodland.xtp create mode 100644 app/lib/params/Z-Rokuhan.xtp create mode 100644 app/lib/params/accurail.cars create mode 100644 app/lib/params/amb-n.xtp create mode 100644 app/lib/params/arnold.xtp create mode 100644 app/lib/params/atl83ho.xtp create mode 100644 app/lib/params/atlascho.cars create mode 100644 app/lib/params/atlascn.xtp create mode 100644 app/lib/params/atlaseho.cars create mode 100644 app/lib/params/atlasen.xtp create mode 100644 app/lib/params/atlasn.xtp create mode 100644 app/lib/params/atlaso2rail.xtp create mode 100644 app/lib/params/bach-n.xtp create mode 100644 app/lib/params/br.xtp create mode 100644 app/lib/params/busch-HOf.xtp create mode 100644 app/lib/params/cars.csv create mode 100644 app/lib/params/color.tab create mode 100644 app/lib/params/ctlpanel.xtp create mode 100644 app/lib/params/dpm-ho.xtp create mode 100644 app/lib/params/dpm-n.xtp create mode 100644 app/lib/params/eu.xtp create mode 100644 app/lib/params/fallerho.struct create mode 100644 app/lib/params/fl-model.xtp create mode 100644 app/lib/params/fl-profi.xtp create mode 100644 app/lib/params/flnpicco.xtp create mode 100644 app/lib/params/gargrv-o.xtp create mode 100644 app/lib/params/ho-amb.xtp create mode 100644 app/lib/params/ho-barm.xtp create mode 100644 app/lib/params/ho-blair.xtp create mode 100644 app/lib/params/ho-branc.xtp create mode 100644 app/lib/params/ho-campb.xtp create mode 100644 app/lib/params/ho-craft.xtp create mode 100644 app/lib/params/ho-fos.xtp create mode 100644 app/lib/params/ho-jlinn.xtp create mode 100755 app/lib/params/ho-ncb-roads.xtp create mode 100644 app/lib/params/hornby3r.xtp create mode 100644 app/lib/params/hubner1.xtp create mode 100644 app/lib/params/kato-ho.xtp create mode 100644 app/lib/params/kato-n-DblTrk.xtp create mode 100644 app/lib/params/kato-n.xtp create mode 100644 app/lib/params/lgb.xtp create mode 100644 app/lib/params/marcway-EM.xtp create mode 100644 app/lib/params/me-ho.xtp create mode 100644 app/lib/params/minitrix.xtp create mode 100644 app/lib/params/mkcarpart.c create mode 100644 app/lib/params/mkstruct.c create mode 100644 app/lib/params/mp-n.xtp create mode 100644 app/lib/params/mrkholde.xtp create mode 100644 app/lib/params/mrkhomde.xtp create mode 100644 app/lib/params/mrkln1.xtp create mode 100644 app/lib/params/mrklnhoc-de.xtp create mode 100644 app/lib/params/mrklnhoc.xtp create mode 100644 app/lib/params/mrklnhok.xtp create mode 100644 app/lib/params/mrklnhom.xtp create mode 100644 app/lib/params/mrklnz.xtp create mode 100644 app/lib/params/mtl-z.xtp create mode 100644 app/lib/params/nmra-0-lapped.xtp create mode 100644 app/lib/params/nmra-ho.to create mode 100644 app/lib/params/nmra-ho3.to create mode 100644 app/lib/params/nmra-n.to create mode 100644 app/lib/params/nmra-o.to create mode 100644 app/lib/params/nmra-o3.to create mode 100644 app/lib/params/nmra-s.to create mode 100644 app/lib/params/nmra-to.c create mode 100644 app/lib/params/nmra-tt.to create mode 100644 app/lib/params/p4.xtp create mode 100644 app/lib/params/peco turntable wo routes.xtp create mode 100644 app/lib/params/peco-O-Bullhead.xtp create mode 100644 app/lib/params/pecoho.xtp create mode 100644 app/lib/params/pecoho83.xtp create mode 100644 app/lib/params/pecohom.xtp create mode 100644 app/lib/params/pecohon30.xtp create mode 100644 app/lib/params/pecohost.xtp create mode 100644 app/lib/params/pecon55.xtp create mode 100644 app/lib/params/pecon80.xtp create mode 100644 app/lib/params/peconst.xtp create mode 100644 app/lib/params/pikestuf.struct create mode 100644 app/lib/params/protoam.xtp create mode 100644 app/lib/params/protosteam.xtp create mode 100644 app/lib/params/prototype-de.xtp create mode 100644 app/lib/params/revell.struct create mode 100644 app/lib/params/roadname.tab create mode 100644 app/lib/params/rocho100.xtp create mode 100644 app/lib/params/rocho83.xtp create mode 100644 app/lib/params/rocon.xtp create mode 100644 app/lib/params/signals_HO.xtp create mode 100644 app/lib/params/smltown.xtp create mode 100644 app/lib/params/t-trak-notes.txt create mode 100644 app/lib/params/t-trak.xtp create mode 100644 app/lib/params/taylor-ho.xtp create mode 100644 app/lib/params/tillig-hom.xtp create mode 100644 app/lib/params/tomix-n.xtp create mode 100644 app/lib/params/toolkit-n.xtp create mode 100644 app/lib/params/tortoise.xtp create mode 100644 app/lib/params/trees.xtp create mode 100644 app/lib/params/walth-bkgrd-ho.xtp create mode 100644 app/lib/params/walth-ho.xtp create mode 100644 app/lib/params/walth-n.xtp create mode 100644 app/lib/params/wlthho10.xtp create mode 100644 app/lib/params/wlthho83.xtp create mode 100644 app/lib/pencil.gif create mode 100644 app/lib/xtrkcad.desktop create mode 100644 app/lib/xtrkcad.ini create mode 100644 app/lib/xtrkcad.xtq (limited to 'app/lib') diff --git a/app/lib/CMakeLists.txt b/app/lib/CMakeLists.txt new file mode 100644 index 0000000..2ec9d2d --- /dev/null +++ b/app/lib/CMakeLists.txt @@ -0,0 +1,17 @@ + +# $Header: /home/dmarkle/xtrkcad-fork-cvs/xtrkcad/app/lib/CMakeLists.txt,v 1.6 2008-03-27 18:17:16 m_fischer Exp $ +# + +PROJECT(lib) + +ADD_SUBDIRECTORY(demos) +ADD_SUBDIRECTORY(examples) +ADD_SUBDIRECTORY(params) + +INSTALL(FILES + COPYING + Readme.txt + logo.bmp + xtrkcad.xtq + DESTINATION ${XTRKCAD_SHARE_INSTALL_DIR} + ) diff --git a/app/lib/COPYING b/app/lib/COPYING new file mode 100644 index 0000000..5b6e7c6 --- /dev/null +++ b/app/lib/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/app/lib/Readme.creole b/app/lib/Readme.creole new file mode 100644 index 0000000..1159d57 --- /dev/null +++ b/app/lib/Readme.creole @@ -0,0 +1,283 @@ += XTrackCAD 4.2.0 = + +This file contains installation instructions and up-to-date information regarding XTrackCad. + +== Contents == + +* About XTrackCad +* License Information +* New features in this release +* Installation +* Upgrading from earlier releases +* Bugs fixed +* Building +* Where to go for support + +== About XTrackCad == + +XTrackCad is a powerful CAD program for designing Model Railroad layouts. + +Some highlights: +* Easy to use. +* Supports any scale. +* Supplied with parameter libraries for many popular brands of turnouts, plus the capability to define your own. +* Automatic easement (spiral transition) curve calculation. +* Extensive help files and video-clip demonstration mode. + +Availability: +XTrkCad Fork is a project for further development of the original XTrkCad +software. See the project homepage at [[http://www.xtrackcad.org/]] for news and current releases. + + +== License Information == + +**Copying:** + +XTrackCad is copyrighted by Dave Bullis and Martin Fischer and licensed as +free software under the terms of the GNU General Public License v2 which +you can find in the file COPYING. + +== New features in this release == + +* New and updated parameter files and layout examples +* Apply user preferences for dimensions to elevations +* Add ability to update color of Text in properties +* Fix compile problem on FreeBSD +* Fix Oracle Solaris Studio 12.3 warnings +* partially completed Brazilian Portuguese translation (57%) +* Improve German translations +* Merged webkit help system from Debian +* Update help CSS to the Wiki's new default look + += Installation = +== Windows == + +XTrackCad has only been tested on Windows 7. + +The MS-Windows version of XTrackCad is shipped as a self-extracting/ +self-installing program using the NSIS Installer from Nullsoft Inc. + +Using Windows Explorer, locate the directory in which you downloaded or copied your new version of XTrackCAD. + +Start the installation program by double clicking on the +xtrkcad-setup-4.2.0.exe file icon. + +Follow the steps in the installation program. + +The installation lets you define the directory into which XTrackCAD is +installed. The directory is created automatically if it doesn't already exist. + +A program folder named XTrackCAD 4.2.0 will be created during the installation +process. This folder contains the program, documentation, parameter and +example files. An existing installation of earlier versions of XTrackCad is +not overwritten. + +A new program group named XTrackCad 4.2.0 will be created in the Start menu. + +== Linux == + +XTrackCAD for LINUX is shipped as a self-extracting archive (executable). +You will need libc6, X11R6, GTK+2.0, webkitgtk. + + +=== Installing from the self-extracting archive. === + +After downloading open a command line then + +./xtrkcad-setup-4.2.0.x86_64.sh --prefix=/usr/local --exclude-subdir + +This will install the executable in /usr/local/bin. A directory named +xtrkcad will be created in /usr/local/share and all files will be unpacked +into it. + +If you install XTrackCAD into another directory, set the XTRKCADLIB +environment variable to point to that directory. + += Release Info = + +== Upgrade Information == + +In order to prevent problems when moving files between different platforms, the symbol '½' was +removed from the scale definitions and parameter files for narrow gauge definitions. +As customary '.5' or the corresponding gauge in inches eg. 30 is used instead. +Layouts using the old definition can be still be loaded. Use the 'Layout Parameter' dialog to +set the updated definition. + +== Bugs fixed == + +The following bugs have been fixed with this release: +* Fix I18N on Windows +* Fix bug 48: created invalid XPMs when many colors were used +* Windows: associate application icon to xtc files +* Fixed installation problem on Windows 7 when profile directory did not exist +* Add math library libm to link library list. +* sscanf extra format string parameter removed +* Changed the font size used to print XtrackCAD in the engineering data box. +* Update in app/README - correct instructions for Mercurial access +* Fixed bug 3121382 - made menu item and dialog box labeling consistent for custom management +* Fix bug 3310506, 3121372 (partly) - Minimum gauge is persisted, gauge is automatically selected in Layout Options +* Fixed bug 3524218: print scale is shown correctly on print out. +* Fixed bug 3468014 - build instructions for OSX in README have been updated +* Fixed bug 3535258 - Broken PostScript in German locale +* Fixed bug 3375218 - Odometer Reads A Multiple Of Locos +* Fixed MSVC compile problem and added missing function to mswlib +* Updated doxygen configuration file to doxygen version 1.8.2 +* Added code to properly determine the postscript fonts occurring in a document. +* Fixed the syntax of the Document Structure Comments. +* Circle line tangent/center were interchanged +* Fix cairo text drawing bugs by forcing painting with frequent redraws. +* Locale prefix change to conform to FHS (tracker bug 3049900) +* Internationalization support added for help button text. +* FIX: replaced hard-coded XTRKCAD_LOCALE_DIR path with 'locale' based on application library directory (XTRKCAD_LOCALE_DIR is defined at makefiles generation time and does not reflect the place where the application is actually installed) +* FIX: now it should work with CMake-2.8.1 +* Get command line parameter handling correct +* make load last layout option work +* Pango version check at compile time +* Block and Switchmotor updates +* FIX: "Gauge" translation support +* FIX: application crash due to a double value used as a "%*" sprintf. scenario is "Manage" -> "Parts List..." -> "Price" (checkbox). +* Bug fix for setting the minimum radius +* FIX: hotbar redraw too slow under gtk-quartz +* FIX: linux still crashed due to a cairo context access after its drawable destruction +* FIX: workaround for OSX with GTK-Quartz -> pixmaps are not rendered when using the mask; and replaced gtk_pixmap_new deprecated function with gtk_image_new_from_pixmap +* FIX: crash when displaying a non utf8 string in balloon help +* FIX: warning removed: pointer targets in passing argument 1 of 'strcpy' differ in signedness +* FIX: removed GTK run-time references to /opt/local in root directory +* FIX: removed remained Xlib dependencies and added gtk configuration files when generating the OSX bundle +* FIX: image in about dialog box was not being displayed +* FIX: deallocate PangoFontDescription using the right function +* FIX: EXC_BAD_ACCESS when displaying about dialog +* ENH: replace the old font select dialog with the GTK standard one, and some code cleanup +* FIX - text in layout and selection were not aligned +* New 'About' and new icons +* Add source for new button icons +* LINUX Desktop File +* New application icon +* Improved support for bitmaps +* New tip of the day icon +* Enhanced bitmap display control +* Improve internationalization support, use simple gettext on Win32 + += Building = +== Overview == + +The following instructions detail building XTrackCAD using CMake. CMake is a +cross-platform build system, available at http://www.cmake.org, that can be +used to generate builds for a variety of build tools ranging from "make" to +Visual Studio and XCode. Using CMake you can build XTrackCAD on Windows, +GNU/Linux, and Mac OSX using the build tool(s) of your choice. + +=== Building XTrackCAD on GNU/Linux === + +* Obtain the current sources from Mercurial; I assume that they are stored locally at + "~/src/xtrkcad". + Note that the correct URL for read-only access to Mercurial is\\ + {{{http://xtrkcad-fork.hg.sourceforge.net:8000/hgroot/xtrkcad-fork/xtrkcad}}} +* Create a separate build directory; for these instructions I assume that + your build directory is "~/build/xtrkcad". +* Run CMake from the build directory, passing it the path to the source + directory: + + $ cd ~/build/xtrkcad + $ ccmake ~/src/xtrkcad + +* Press the "c" key to configure the build. After a few moments you will see + four options to configure: CMAKE_BUILD_TYPE, CMAKE_INSTALL_PREFIX, + XTRKCAD_USE_GTK, and XTRKCAD_USE_GTK_CAIRO. +* Use CMAKE_BUILD_TYPE to control the build type. Enter "Debug" for a debug + build, "Release" for a release build, etc. +* Use CMAKE_INSTALL_PREFIX to control where the software will be installed. + For this example, I assume "~/install/xtrkcad". +* Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose + "OFF" to use XTrackCAD's default language (English). Refer to + http://www.xtrkcad.org/Wikka/Internationalization for additional information. +* Use XTRKCAD_USE_GTK to control the user-interface back-end. Choose "OFF" + for Windows, "ON" for all other platforms. +* Use XTRKCAD_USE_GTK_CAIRO to enable optional high-quality antialiased + Cairo rendering for the GTK back-end. This option has no effect unless you are + using the GTK back-end. +* Use XTRKCAD_USE_DOXYGEN to enable the production of type, function, etc., + documentation from the the source code. Requires doxygen if enabled. + Enable if and only if you intend to hack on the code. +* If you made any changes, press the "c" key again to update your new + configuration. +* Once everything is configured to your satisfaction, press the "g" key to + generate makefiles for your build. +* Compile XTrkCad using your new build: + + ##$ make## + +* Install the new binary: + + ##$ make install## + +* Run the installed binary: + + ##$ ~/install/xtrkcad/bin/xtrkcad## + +* If XTRKCAD_USE_DOXYGEN was enabled: + + ##$ make docs-doxygen## + + to create the internals documentation. Read this documentation by pointing + your web browser at ~/build/xtrkcad/docs/doxygen/html/index.html. + +=== Building XTrackCAD on Mac OSX === + +* You will need to install the following dependencies - I recommend using + http://www.macports.org to obtain them: + o GTK2 + o webkit + o gnome-icon-theme +* Once the prerequisites are installed the build instructions are the same + as for the GNU/Linux build, above. +* Remember that to run XTrackCAD on OSX, you need to have X11 running with + your DISPLAY set. + +=== Building XTrackCAD on Windows === + +* Obtain the current sources from Mercurial; I assume that they are stored locally at + "c:/src/xtrkcad". + Note that the correct URL for read-only access to Mercurial is\\ + {{{http://xtrkcad-fork.hg.sourceforge.net:8000/hgroot/xtrkcad-fork/xtrkcad}}} +* Use the Windows Start menu to run CMake. +* Specify the source and build directories in the CMake window. You must + provide a build directory outside the source tree - I use "c:/build/xtrkcad". +* Press the "Configure" button to configure the build. You will be prompted + for the type of build to generate. Choose your desired tool - I used "Visual + Studio 10". After a few moments you will see three options to + configure: CMAKE_INSTALL_PREFIX, XTRKCAD_USE_GTK, and XTRKCAD_USE_GTK_CAIRO. +* Use CMAKE_INSTALL_PREFIX to control where the software will be installed. + The default "c:/Program Files/XTrkCAD" is a good choice. +* Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose + "OFF" to use XTrackCAD's default language (English). Refer to + http://www.xtrkcad.org/Wikka/Internationalization for additional information. +* Use XTRKCAD_USE_GTK to control the user-interface back-end. Choose "OFF" + for Windows. +* Use XTRKCAD_USE_GTK_CAIRO to enable optional high-quality antialiased + Cairo rendering for the GTK back-end. This option has no effect unless you are + using the GTK back-end. +* Use XTRKCAD_USE_DOXYGEN to enable the production of type, function, etc., + documentation from the the source code. Requires doxygen if enabled. + Enable if and only if you intend to hack on the code. +* If you made any changes, press the "Configure" button again to update your + new configuration. +* Once everything is configured to your satisfaction, press the "OK" button + to generate project files for your build. +* Compile XTrackCad using the new project files. For example, start MSVC and + open the "XTrkCAD.sln" solution file which is located in your build directory. +* Build the "BUILD_ALL" project to build the software. +* Build the "INSTALL" project to install the software. +* Run XTrackCAD by double-clicking its icon located in the install directory - + for example: c:/Program Files/XTrkCAD/bin/xtrkcad.exe. + +== Where to go for support == + +The following web addresses will be helpful for any questions or bug +reports + +[[http://groups.yahoo.com/projects/XTrkCad | The Yahoo!Group mailing list]]\\ +[[http://www.xtrackcad.org/ | The project website for the open source development]]\\ +[[http://www.sourceforge.net/groups/xtrkcad-fork/ | The official Sourceforge site]]\\ + +Thanks for your interest in XTrackCAD. diff --git a/app/lib/Readme.txt b/app/lib/Readme.txt new file mode 100644 index 0000000..619662e --- /dev/null +++ b/app/lib/Readme.txt @@ -0,0 +1,330 @@ + XTrackCAD 4.2.0 + +This file contains installation instructions and up-to-date +information regarding XTrackCad. + + Contents + + - About XTrackCad + - License Information + - New features in this release + - Installation + - Upgrading from earlier releases + - Bugs fixed + - Building + - Where to go for support + + About XTrackCad + +XTrackCad is a powerful CAD program for designing Model Railroad +layouts. + +Some highlights: + + - Easy to use. + - Supports any scale. + - Supplied with parameter libraries for many popular brands of + turnouts, plus the capability to define your own. + - Automatic easement (spiral transition) curve calculation. + - Extensive help files and video-clip demonstration mode. + +Availability: XTrkCad Fork is a project for further development +of the original XTrkCad software. See the project +homepage at http://www.xtrackcad.org/ for news and current releases. + + License Information + +Copying: + +XTrackCad is copyrighted by Dave Bullis and Martin Fischer and +licensed as free software under the terms of the GNU General Public +License v2 which you can find in the file COPYING. + + New features in this release + + - New and updated parameter files and layout examples + - Apply user preferences for dimensions to elevations + - Add ability to update color of Text in properties + - Fix compile problem on FreeBSD + - Fix Oracle Solaris Studio 12.3 warnings + - partially completed Brazilian Portuguese translation (57%) + - Improve German translations + - Merged webkit help system from Debian + - Update help CSS to the Wiki's new default look + + Installation + + Windows + +XTrackCad has only been tested on Windows 7. + +The MS-Windows version of XTrackCad is shipped as a +self-extracting/ self-installing program using the NSIS Installer +from Nullsoft Inc. + +Using Windows Explorer, locate the directory in which you downloaded +or copied your new version of XTrackCAD. + +Start the installation program by double clicking on the +xtrkcad-setup-4.2.0.exe file icon. + +Follow the steps in the installation program. + +The installation lets you define the directory into which +XTrackCAD is installed. The directory is created automatically if it +doesn't already exist. + +A program folder named XTrackCAD 4.2.0 will be created +during the installation process. This folder contains the program, +documentation, parameter and example files. An existing installation +of earlier versions of XTrackCad is not overwritten. + +A new program group named XTrackCad 4.2.0 will be +created in the Start menu. + + Linux + +XTrackCAD for LINUX is shipped as a self-extracting archive +(executable). You will need libc6, X11R6, GTK+2.0, webkitgtk. + + Installing from the self-extracting archive. + +After downloading open a command line then + +./xtrkcad-setup-4.2.0.x86_64.sh --prefix=/usr/local --exclude-subdir + +This will install the executable in /usr/local/bin. A directory named +xtrkcad will be created in /usr/local/share and all files will be +unpacked into it. + +If you install XTrackCAD into another directory, set +the XTRKCADLIB environment variable to point to that directory. + + Release Info + + Upgrade Information + +In order to prevent problems when moving files between different +platforms, the symbol '½' was removed from the scale definitions and +parameter files for narrow gauge definitions. As customary '.5' or +the corresponding gauge in inches eg. 30 is used instead. Layouts +using the old definition can be still be loaded. Use the 'Layout +Parameter' dialog to set the updated definition. + + Bugs fixed + +The following bugs have been fixed with this release: + + - Fix I18N on Windows + - Fix bug 48: created invalid XPMs when many colors were used + - Windows: associate application icon to xtc files + - Fixed installation problem on Windows 7 when profile directory + did not exist + - Add math library libm to link library list. + - sscanf extra format string parameter removed + - Changed the font size used to print XtrackCAD in + the engineering data box. + - Update in app/README - correct instructions for Mercurial + access + - Fixed bug 3121382 - made menu item and dialog box labeling + consistent for custom management + - Fix bug 3310506, 3121372 (partly) - Minimum gauge is persisted, + gauge is automatically selected in Layout Options + - Fixed bug 3524218: print scale is shown correctly on print out. + - Fixed bug 3468014 - build instructions for OSX in README have + been updated + - Fixed bug 3535258 - Broken PostScript in German + locale + - Fixed bug 3375218 - Odometer Reads A Multiple Of Locos + - Fixed MSVC compile problem and added missing function to mswlib + - Updated doxygen configuration file to doxygen version 1.8.2 + - Added code to properly determine the postscript fonts occurring + in a document. + - Fixed the syntax of the Document Structure Comments. + - Circle line tangent/center were interchanged + - Fix cairo text drawing bugs by forcing painting with frequent + redraws. + - Locale prefix change to conform to FHS (tracker bug 3049900) + - Internationalization support added for help button text. + - FIX: replaced hard-coded XTRKCAD_LOCALE_DIR path with 'locale' + based on application library directory (XTRKCAD_LOCALE_DIR is + defined at makefiles generation time and does not reflect the + place where the application is actually installed) + - FIX: now it should work with CMake-2.8.1 + - Get command line parameter handling correct + - make load last layout option work + - Pango version check at compile time + - Block and Switchmotor updates + - FIX: "Gauge" translation support + - FIX: application crash due to a double value used as a "%*" + sprintf. scenario is "Manage" -> "Parts List..." -> "Price" + (checkbox). + - Bug fix for setting the minimum radius + - FIX: hotbar redraw too slow under gtk-quartz + - FIX: linux still crashed due to a cairo context access after + its drawable destruction + - FIX: workaround for OSX with GTK-Quartz -> pixmaps are not + rendered when using the mask; and replaced gtk_pixmap_new + deprecated function with gtk_image_new_from_pixmap + - FIX: crash when displaying a non utf8 string in balloon help + - FIX: warning removed: pointer targets in passing argument 1 of + 'strcpy' differ in signedness + - FIX: removed GTK run-time references to /opt/local in root + directory + - FIX: removed remained Xlib dependencies and added gtk + configuration files when generating the OSX bundle + - FIX: image in about dialog box was not being displayed + - FIX: deallocate PangoFontDescription + using the right function + - FIX: EXC_BAD_ACCESS when displaying about dialog + - ENH: replace the old font select dialog with the GTK standard + one, and some code cleanup + - FIX - text in layout and selection were not aligned + - New 'About' and new icons + - Add source for new button icons + - LINUX Desktop File + - New application icon + - Improved support for bitmaps + - New tip of the day icon + - Enhanced bitmap display control + - Improve internationalization support, use simple gettext on + Win32 + + Building + + Overview + +The following instructions detail building XTrackCAD +using CMake. CMake is a cross-platform build system, available at +http://www.cmake.org, that can be used to generate builds for a +variety of build tools ranging from "make" to Visual Studio and +XCode. Using CMake you can build XTrackCAD on Windows, +GNU/Linux, and Mac OSX using the build tool(s) of your choice. + + Building XTrackCAD on GNU/Linux + + - Obtain the current sources from Mercurial; I assume that they are + stored locally at "/src/xtrkcad". Note that the correct URL for + read-only access to Mercurial is + + http://xtrkcad-fork.hg.sourceforge.net:8000/hgroot/xtrkcad-fork/xtrkcad + + - Create a separate build directory; for these instructions I + assume that your build directory is "/build/xtrkcad". + - Run CMake from the build directory, passing it the path to the + source directory: + +$ cd /build/xtrkcad $ ccmake /src/xtrkcad + + - Press the "c" key to configure the build. After a few moments you + will see four options to configure: CMAKE_BUILD_TYPE, + CMAKE_INSTALL_PREFIX, XTRKCAD_USE_GTK, and XTRKCAD_USE_GTK_CAIRO. + - Use CMAKE_BUILD_TYPE to control the build type. Enter "Debug" + for a debug build, "Release" for a release build, etc. + - Use CMAKE_INSTALL_PREFIX to control where the software will be + installed. For this example, I assume "/install/xtrkcad". + - Use XTRKCAD_USE_GETTEXT to add new locales (language + translations). Choose "OFF" to use XTrackCAD's + default language (English). Refer to + http://www.xtrkcad.org/Wikka/Internationalization for additional + information. + - Use XTRKCAD_USE_GTK to control the user-interface back-end. + Choose "OFF" for Windows, "ON" for all other platforms. + - Use XTRKCAD_USE_GTK_CAIRO to enable optional high-quality + antialiased Cairo rendering for the GTK back-end. This option has + no effect unless you are using the GTK back-end. + - Use XTRKCAD_USE_DOXYGEN to enable the production of type, + function, etc., documentation from the the source code. Requires + doxygen if enabled. Enable if and only if you intend to hack on + the code. + - If you made any changes, press the "c" key again to update your + new configuration. + - Once everything is configured to your satisfaction, press the + "g" key to generate makefiles for your build. + - Compile XTrkCad using your new build: + +$ make + + - Install the new binary: + +$ make install + + - Run the installed binary: + +$ /install/xtrkcad/bin/xtrkcad + + - If XTRKCAD_USE_DOXYGEN was enabled: + +$ make docs-doxygen + +to create the internals documentation. Read this documentation by +pointing your web browser at +/build/xtrkcad/docs/doxygen/html/index.html. + + Building XTrackCAD on Mac OSX + + - You will need to install the following dependencies - I recommend + using http://www.macports.org to + obtain them: o GTK2 o webkit o gnome-icon-theme + - Once the prerequisites are installed the build instructions are + the same as for the GNU/Linux build, above. + - Remember that to run XTrackCAD on OSX, you need + to have X11 running with your DISPLAY set. + + Building XTrackCAD on Windows + + - Obtain the current sources from Mercurial; I assume that they are + stored locally at "c:/src/xtrkcad". Note that the correct URL for + read-only access to Mercurial is + + http://xtrkcad-fork.hg.sourceforge.net:8000/hgroot/xtrkcad-fork/xtrkcad + + - Use the Windows Start menu to run CMake. + - Specify the source and build directories in the CMake window. + You must provide a build directory outside the source tree - I use + "c:/build/xtrkcad". + - Press the "Configure" button to configure the build. You will + be prompted for the type of build to generate. Choose your desired + tool - I used "Visual Studio 10". After a few moments you will see + three options to configure: CMAKE_INSTALL_PREFIX, XTRKCAD_USE_GTK, + and XTRKCAD_USE_GTK_CAIRO. + - Use CMAKE_INSTALL_PREFIX to control where the software will be + installed. The default "c:/Program Files/XTrkCAD" is a good + choice. + - Use XTRKCAD_USE_GETTEXT to add new locales (language + translations). Choose "OFF" to use XTrackCAD's + default language (English). Refer to + http://www.xtrkcad.org/Wikka/Internationalization for additional + information. + - Use XTRKCAD_USE_GTK to control the user-interface back-end. + Choose "OFF" for Windows. + - Use XTRKCAD_USE_GTK_CAIRO to enable optional high-quality + antialiased Cairo rendering for the GTK back-end. This option has + no effect unless you are using the GTK back-end. + - Use XTRKCAD_USE_DOXYGEN to enable the production of type, + function, etc., documentation from the the source code. Requires + doxygen if enabled. Enable if and only if you intend to hack on + the code. + - If you made any changes, press the "Configure" button again to + update your new configuration. + - Once everything is configured to your satisfaction, press the + "OK" button to generate project files for your build. + - Compile XTrackCad using the new project files. + For example, start MSVC and open the "XTrkCAD.sln" solution file + which is located in your build directory. + - Build the "BUILD_ALL" project to build the software. + - Build the "INSTALL" project to install the software. + - Run XTrackCAD by double-clicking its icon located + in the install directory - for example: c:/Program + Files/XTrkCAD/bin/xtrkcad.exe. + + Where to go for support + +The following web addresses will be helpful for any questions or bug +reports + + - The Yahoo!Group mailing list + - The project website for the open source development + - The official Sourceforge site + +Thanks for your interest in XTrackCAD. \ No newline at end of file diff --git a/app/lib/demos/CMakeLists.txt b/app/lib/demos/CMakeLists.txt new file mode 100644 index 0000000..712902c --- /dev/null +++ b/app/lib/demos/CMakeLists.txt @@ -0,0 +1,5 @@ +FILE(GLOB DEMO_FILES *.xtr) +INSTALL( + FILES ${DEMO_FILES} + DESTINATION ${XTRKCAD_SHARE_INSTALL_DIR}/demos + ) diff --git a/app/lib/demos/dmadjend.xtr b/app/lib/demos/dmadjend.xtr new file mode 100644 index 0000000..5e918fa --- /dev/null +++ b/app/lib/demos/dmadjend.xtr @@ -0,0 +1,643 @@ +VERSION 2 +DEMOINIT +ORIG 8.000 0.000 0.000 +STRAIGHT 1 DEMO 1 + E 16.166667 2.333333 260.498723 + E 36.083333 5.666667 80.498723 + END +TURNOUT 2 DEMO 1 14.750000 9.333333 -16.389478 "Peco-55 Medium Right SL-E395F" + E 14.750000 9.333333 253.610522 + E 19.935373 10.858435 73.610522 + E 20.049085 10.347771 83.296522 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0 0.000000 0.000000 0.353000 0.000000 + S 0 0 0.353000 0.000000 5.405000 0.000000 + C 0 0 23.136000 0.351000 -23.136000 0.004000 9.700000 + S 0 0 4.251000 -0.331000 5.370000 -0.522000 + END +CURVE 3 DEMO 1 7.500000 8.333333 6.000000 + E 13.500000 8.333333 0.000076 + E 7.499984 2.333333 270.000000 + END +REDRAW +RESET +MESSAGE +The unconnected End-Points of a straight or curved track can be changed with the 'Modify Track' command. +END +STEP +COMMAND Modify +MOUSE 2 35.917 5.917 +MESSAGE +_________________________________________ + +The End-Point of a straight track is selected and then Left-Dragged to change its length. +END +BIGPAUSE +MOUSE 3 35.833 5.917 +MOUSE 3 36.750 6.167 +PAUSE 1000 +MOUSE 3 36.750 6.167 +MOUSE 3 16.750 2.750 +BIGPAUSE +MESSAGE +_________________________________________ + +Watch what happens if you try to drag the selected End-Point beyond the far End-Point. + +The length of the straight track is determined by the distance from the far End-Point and the cursor. +END +BIGPAUSE +MOUSE 3 16.167 2.667 +MOUSE 3 10.583 1.500 +PAUSE 820 +MOUSE 3 10.583 1.500 +MOUSE 4 34.333 5.917 +MESSAGE +========================================= +END +STEP +CLEAR +MESSAGE +A curved track is selected and it's new End-Point is determined by the angle to the cursor. +END +STEP +MOUSE 2 13.67 8.100 +PAUSE 500 +MOUSE 3 13.67 8.100 +PAUSE 50 +MOUSE 3 13.333 8.083 +PAUSE 60 +MOUSE 3 13.333 8.000 +PAUSE 50 +MOUSE 3 13.250 7.833 +PAUSE 60 +MOUSE 3 13.167 7.667 +PAUSE 50 +MOUSE 3 13.167 7.500 +PAUSE 60 +MOUSE 3 13.000 7.333 +PAUSE 50 +MOUSE 3 13.000 7.167 +PAUSE 60 +MOUSE 3 12.833 6.917 +PAUSE 50 +MOUSE 3 12.667 6.667 +PAUSE 60 +MOUSE 3 12.667 6.417 +PAUSE 50 +MOUSE 3 12.500 6.167 +PAUSE 60 +MOUSE 3 12.333 5.833 +PAUSE 50 +MOUSE 3 12.167 5.417 +PAUSE 60 +MOUSE 3 12.000 5.333 +PAUSE 50 +MOUSE 3 12.000 5.083 +PAUSE 60 +MOUSE 3 11.833 5.000 +PAUSE 50 +MOUSE 3 11.667 4.667 +PAUSE 60 +MOUSE 3 11.500 4.500 +MOUSE 3 11.333 4.333 +PAUSE 110 +MOUSE 3 11.333 4.167 +PAUSE 380 +MOUSE 3 11.333 4.250 +PAUSE 60 +MOUSE 3 11.333 4.333 +PAUSE 50 +MOUSE 3 11.333 4.417 +PAUSE 60 +MOUSE 3 11.500 4.500 +PAUSE 50 +MOUSE 3 11.583 4.667 +PAUSE 50 +MOUSE 3 11.750 5.000 +PAUSE 60 +MOUSE 3 11.917 5.083 +PAUSE 50 +MOUSE 3 12.000 5.333 +PAUSE 60 +MOUSE 3 12.167 5.417 +PAUSE 50 +MOUSE 3 12.250 5.667 +PAUSE 60 +MOUSE 3 12.333 5.750 +MOUSE 3 12.500 6.000 +PAUSE 50 +MOUSE 3 12.583 6.167 +PAUSE 110 +MOUSE 3 12.750 6.500 +MOUSE 3 12.917 6.833 +PAUSE 60 +MOUSE 3 13.083 7.083 +PAUSE 50 +MOUSE 3 13.167 7.333 +PAUSE 60 +MOUSE 3 13.250 7.417 +PAUSE 50 +MOUSE 3 13.333 7.667 +PAUSE 60 +MOUSE 3 13.333 7.833 +PAUSE 50 +MOUSE 3 13.417 8.083 +PAUSE 60 +MOUSE 3 13.500 8.333 +PAUSE 50 +MOUSE 3 13.500 8.667 +PAUSE 60 +MOUSE 3 13.500 9.000 +PAUSE 50 +MOUSE 3 13.500 9.167 +PAUSE 60 +MOUSE 3 13.500 9.417 +PAUSE 50 +MOUSE 3 13.500 9.750 +PAUSE 60 +MOUSE 3 13.417 10.000 +PAUSE 50 +MOUSE 3 13.333 10.167 +PAUSE 60 +MOUSE 3 13.333 10.417 +PAUSE 50 +MOUSE 3 13.167 10.500 +PAUSE 60 +MOUSE 3 13.000 10.667 +PAUSE 50 +MOUSE 3 13.000 10.833 +PAUSE 60 +MOUSE 3 12.917 10.833 +PAUSE 50 +MOUSE 3 12.833 10.917 +PAUSE 60 +MOUSE 3 12.667 11.000 +PAUSE 50 +MOUSE 3 12.500 11.000 +PAUSE 60 +MOUSE 3 12.167 11.167 +PAUSE 50 +MOUSE 3 12.000 11.333 +PAUSE 110 +MOUSE 3 11.917 11.333 +PAUSE 60 +MOUSE 3 11.833 11.500 +PAUSE 50 +MOUSE 3 11.667 11.500 +PAUSE 60 +MOUSE 3 11.667 11.667 +PAUSE 50 +MOUSE 3 11.500 11.667 +PAUSE 60 +MOUSE 3 11.333 11.667 +PAUSE 50 +MOUSE 3 11.167 11.917 +PAUSE 60 +MOUSE 3 11.000 12.000 +PAUSE 110 +MOUSE 3 10.833 12.083 +PAUSE 50 +MOUSE 3 10.667 12.167 +PAUSE 60 +MOUSE 3 10.333 12.333 +MOUSE 3 10.250 12.333 +PAUSE 110 +MOUSE 3 10.000 12.500 +PAUSE 50 +MOUSE 3 9.833 12.583 +PAUSE 60 +MOUSE 3 9.667 12.667 +PAUSE 50 +MOUSE 3 9.417 12.750 +PAUSE 60 +MOUSE 3 9.333 12.833 +PAUSE 50 +MOUSE 3 9.083 13.000 +PAUSE 60 +MOUSE 3 8.917 13.000 +PAUSE 50 +MOUSE 3 8.667 13.167 +PAUSE 60 +MOUSE 3 8.500 13.333 +PAUSE 160 +MOUSE 3 8.417 13.333 +PAUSE 60 +MOUSE 3 8.167 13.333 +PAUSE 50 +MOUSE 3 7.333 13.333 +PAUSE 60 +MOUSE 3 7.000 13.250 +PAUSE 110 +MOUSE 3 7.000 13.167 +PAUSE 50 +MOUSE 3 6.750 13.000 +PAUSE 60 +MOUSE 3 6.333 12.917 +PAUSE 100 +MOUSE 3 6.333 12.833 +PAUSE 60 +MOUSE 3 6.333 12.750 +PAUSE 50 +MOUSE 3 6.000 12.667 +PAUSE 110 +MOUSE 3 5.750 12.417 +PAUSE 60 +MOUSE 3 5.667 12.333 +PAUSE 50 +MOUSE 3 5.500 12.167 +PAUSE 60 +MOUSE 3 5.333 12.000 +PAUSE 50 +MOUSE 3 5.167 11.833 +PAUSE 60 +MOUSE 3 5.000 11.500 +PAUSE 50 +MOUSE 3 4.833 11.333 +PAUSE 110 +MOUSE 3 4.667 11.000 +PAUSE 60 +MOUSE 3 4.417 10.667 +PAUSE 50 +MOUSE 3 4.333 10.500 +PAUSE 110 +MOUSE 3 4.167 10.083 +PAUSE 60 +MOUSE 3 4.000 9.750 +PAUSE 50 +MOUSE 3 3.833 9.417 +PAUSE 60 +MOUSE 3 3.750 9.167 +PAUSE 50 +MOUSE 3 3.667 8.833 +PAUSE 110 +MOUSE 3 3.500 8.500 +PAUSE 60 +MOUSE 3 3.500 8.250 +PAUSE 50 +MOUSE 3 3.333 8.000 +PAUSE 60 +MOUSE 3 3.333 7.667 +PAUSE 110 +MOUSE 3 3.333 7.417 +PAUSE 50 +MOUSE 3 3.250 7.167 +PAUSE 60 +MOUSE 3 3.167 6.917 +PAUSE 110 +MOUSE 3 3.167 6.500 +PAUSE 50 +MOUSE 3 3.167 6.250 +PAUSE 60 +MOUSE 3 3.167 6.000 +PAUSE 110 +MOUSE 3 3.167 5.833 +PAUSE 50 +MOUSE 3 3.167 5.500 +PAUSE 60 +MOUSE 3 3.167 5.333 +PAUSE 50 +MOUSE 3 3.250 5.167 +PAUSE 110 +MOUSE 3 3.333 4.917 +PAUSE 60 +MOUSE 3 3.500 4.667 +PAUSE 50 +MOUSE 3 3.500 4.583 +PAUSE 110 +MOUSE 3 3.750 4.417 +PAUSE 60 +MOUSE 3 4.167 4.083 +PAUSE 50 +MOUSE 3 4.333 4.000 +PAUSE 110 +MOUSE 3 4.500 3.833 +PAUSE 60 +MOUSE 3 4.667 3.667 +PAUSE 50 +MOUSE 3 5.000 3.583 +PAUSE 60 +MOUSE 3 5.167 3.500 +PAUSE 110 +MOUSE 3 5.333 3.500 +PAUSE 50 +MOUSE 3 5.500 3.417 +PAUSE 60 +MOUSE 3 5.667 3.333 +PAUSE 110 +MOUSE 3 5.833 3.333 +PAUSE 50 +MOUSE 3 6.000 3.250 +PAUSE 60 +MOUSE 3 6.000 3.167 +PAUSE 110 +MOUSE 3 6.167 3.167 +PAUSE 110 +MOUSE 3 6.250 3.167 +PAUSE 50 +MOUSE 3 6.333 3.167 +PAUSE 60 +MOUSE 3 6.417 3.167 +PAUSE 100 +MOUSE 3 6.500 3.167 +PAUSE 60 +MOUSE 3 6.583 3.167 +PAUSE 50 +MOUSE 3 6.667 3.083 +PAUSE 110 +MOUSE 3 6.667 3.000 +PAUSE 60 +MOUSE 3 6.750 3.083 +PAUSE 50 +MOUSE 3 6.833 3.083 +PAUSE 660 +MOUSE 3 6.917 3.083 +PAUSE 110 +MOUSE 3 7.000 3.167 +PAUSE 440 +MOUSE 3 7.083 3.167 +PAUSE 110 +MOUSE 3 7.167 3.167 +MOUSE 3 7.250 3.167 +PAUSE 50 +MOUSE 3 7.333 3.167 +PAUSE 170 +MOUSE 3 7.417 3.167 +PAUSE 50 +MESSAGE +_________________________________________ + +It's possible to almost create a complete circle. +If you drag the mouse beyond the start of the curve the track becomes very short. +END +STEP +MOUSE 3 7.500 3.167 +MESSAGE +_________________________________________ + +Here you are warned that the track will be too short. +END +MOUSE 3 7.60 3.167 +BIGPAUSE +MOUSE 3 8.417 3.167 +PAUSE 60 +MOUSE 3 8.417 3.250 +PAUSE 440 +MOUSE 3 8.500 3.250 +PAUSE 50 +MOUSE 3 8.500 3.333 +PAUSE 110 +MOUSE 3 8.583 3.333 +PAUSE 60 +MOUSE 3 8.667 3.333 +PAUSE 270 +MOUSE 3 8.750 3.333 +PAUSE 60 +MOUSE 3 8.833 3.333 +PAUSE 50 +MOUSE 3 8.833 3.417 +PAUSE 110 +MOUSE 3 8.833 3.500 +PAUSE 1610 +MOUSE 3 8.833 3.417 +PAUSE 60 +MOUSE 3 8.833 3.500 +PAUSE 110 +MOUSE 3 8.917 3.500 +PAUSE 60 +MOUSE 3 9.000 3.667 +PAUSE 50 +MOUSE 3 9.083 3.667 +PAUSE 60 +MOUSE 3 9.167 3.750 +PAUSE 50 +MOUSE 3 9.333 3.833 +PAUSE 60 +MOUSE 3 9.417 4.000 +PAUSE 50 +MOUSE 3 9.667 4.167 +MOUSE 3 10.000 4.333 +PAUSE 60 +MOUSE 3 10.167 4.500 +PAUSE 50 +MOUSE 3 10.333 4.667 +PAUSE 60 +MOUSE 3 10.583 4.667 +PAUSE 50 +MOUSE 3 10.833 4.833 +PAUSE 60 +MOUSE 3 11.083 5.000 +PAUSE 50 +MOUSE 3 11.750 5.083 +PAUSE 60 +MOUSE 3 11.917 5.167 +PAUSE 50 +MOUSE 3 12.250 5.333 +PAUSE 60 +MOUSE 3 12.417 5.333 +PAUSE 50 +MOUSE 3 12.667 5.333 +PAUSE 60 +MOUSE 3 12.917 5.333 +PAUSE 160 +MOUSE 3 12.917 5.417 +PAUSE 60 +MOUSE 3 13.083 5.500 +PAUSE 50 +MOUSE 3 13.333 5.667 +MOUSE 3 13.417 5.750 +PAUSE 220 +MOUSE 3 13.417 5.833 +PAUSE 60 +MOUSE 3 13.417 5.917 +PAUSE 50 +MOUSE 3 13.417 6.083 +MOUSE 3 13.500 6.167 +PAUSE 60 +MOUSE 3 13.583 6.167 +PAUSE 110 +MOUSE 3 13.500 6.333 +PAUSE 110 +MOUSE 3 13.500 6.417 +PAUSE 50 +MOUSE 3 13.500 6.500 +PAUSE 50 +MOUSE 3 13.500 6.667 +PAUSE 110 +MOUSE 3 13.500 6.750 +PAUSE 60 +MOUSE 3 13.583 6.833 +MOUSE 4 13.583 6.833 +MESSAGE +_________________________________________ + +If you move the cursor away from the curve, you will create a straight track tangent to the curve. +END +STEP +MOUSE 2 13.50 6.8 +PAUSE 110 +MOUSE 3 13.50 7.0 +PAUSE 440 +MOUSE 3 13.500 7.2 +PAUSE 60 +MOUSE 3 13.750 7.4 +PAUSE 50 +MOUSE 3 14.083 7.6 +PAUSE 60 +MOUSE 3 14.333 7.8 +PAUSE 110 +MOUSE 3 15.000 7.833 +PAUSE 50 +MOUSE 3 15.500 7.667 +PAUSE 60 +MOUSE 3 16.000 7.583 +PAUSE 110 +MOUSE 3 16.250 7.583 +PAUSE 50 +MOUSE 3 16.500 7.417 +PAUSE 60 +MOUSE 3 16.583 7.417 +PAUSE 110 +MOUSE 3 16.750 7.417 +PAUSE 50 +MOUSE 3 16.750 7.417 +PAUSE 110 +MOUSE 3 16.833 7.417 +PAUSE 60 +MOUSE 3 17.000 7.417 +PAUSE 50 +MOUSE 3 17.333 7.583 +PAUSE 110 +MOUSE 3 17.500 7.833 +PAUSE 60 +MOUSE 3 17.667 8.083 +PAUSE 110 +MOUSE 3 17.750 8.333 +PAUSE 50 +MOUSE 3 17.917 8.833 +PAUSE 60 +MOUSE 3 18.000 9.667 +PAUSE 110 +MOUSE 3 18.083 10.500 +PAUSE 50 +MOUSE 3 18.083 11.000 +PAUSE 110 +MOUSE 3 17.917 11.417 +PAUSE 60 +MOUSE 3 17.667 11.667 +PAUSE 50 +MOUSE 3 17.167 12.083 +PAUSE 110 +MOUSE 3 16.000 12.583 +PAUSE 60 +MOUSE 3 14.917 13.167 +PAUSE 110 +MOUSE 3 13.917 13.583 +PAUSE 50 +MOUSE 3 13.417 13.833 +PAUSE 110 +MOUSE 3 13.000 14.000 +MOUSE 3 12.583 14.083 +PAUSE 110 +MOUSE 3 12.167 14.250 +PAUSE 60 +MOUSE 3 11.333 14.417 +PAUSE 50 +MOUSE 3 10.000 14.500 +PAUSE 110 +MOUSE 3 8.333 14.583 +PAUSE 60 +MOUSE 3 6.667 14.583 +PAUSE 110 +MOUSE 3 5.500 14.583 +PAUSE 50 +MOUSE 3 4.333 14.583 +PAUSE 110 +MOUSE 3 4.000 14.500 +PAUSE 50 +MOUSE 3 4.000 14.417 +PAUSE 110 +MOUSE 3 3.833 14.250 +PAUSE 60 +MOUSE 3 3.667 14.167 +PAUSE 110 +MOUSE 3 3.667 14.083 +PAUSE 50 +MOUSE 3 3.583 14.083 +PAUSE 110 +MOUSE 3 3.500 14.083 +PAUSE 220 +MOUSE 3 3.417 14.083 +PAUSE 60 +MOUSE 3 3.167 14.167 +PAUSE 110 +MOUSE 3 3.167 14.250 +PAUSE 50 +MOUSE 3 3.000 14.250 +PAUSE 110 +MOUSE 3 2.833 14.417 +PAUSE 60 +MOUSE 3 2.667 14.417 +PAUSE 110 +MOUSE 3 2.500 14.583 +PAUSE 50 +MOUSE 3 2.333 14.583 +PAUSE 110 +MOUSE 3 2.167 14.583 +PAUSE 60 +MOUSE 3 2.000 14.667 +PAUSE 110 +MOUSE 3 1.833 14.667 +PAUSE 50 +MOUSE 3 1.667 14.667 +PAUSE 110 +MOUSE 3 1.500 14.667 +PAUSE 60 +MOUSE 3 1.417 14.583 +PAUSE 110 +MOUSE 3 1.250 14.583 +PAUSE 50 +MOUSE 3 1.167 14.500 +PAUSE 110 +MOUSE 3 1.000 14.417 +PAUSE 940 +MOUSE 3 1.000 14.333 +MOUSE 4 1.000 14.333 +MESSAGE +========================================= +END +STEP +CLEAR +MESSAGE +If you adjust the End-Point of a turnout or sectional track the track is extended by a straight track segment. +END +STEP +MOUSE 2 19.750 10.583 +MOUSE 4 28.583 13.500 +BIGPAUSE +MOUSE 2 19.833 10.583 +MOUSE 4 28.583 12.083 +MESSAGE +========================================= +END +STEP +CLEAR +MESSAGE +You can change the radius of a Straight or Curved track that is connected at one End-Point by holding down the Shift key while dragging on it. +END +STEP +KEYSTATE 2 +MOUSE 2 28 13 +KEYSTATE 2 +MOUSE 4 31 21 +MESSAGE +_________________________________________ + +This lets you change a Straight track into a Curved track (and vice versa) as well as changing the radius of a Curved track. +END +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmbench.xtr b/app/lib/demos/dmbench.xtr new file mode 100644 index 0000000..8fbf7f2 --- /dev/null +++ b/app/lib/demos/dmbench.xtr @@ -0,0 +1,70 @@ +# XTrkCad Version: 3.0.1, Date: Sat Sep 23 23:40:39 2000 + +VERSION 10 +DEMOINIT +ORIG 4.000 0.000 0.000 +PARAMETER display description-fontsize 64 +REDRAW +RESET +MESSAGE +You can draw a variety of different types of benchwork: +- rectangular (1x2, 2x4 etc) +- L girders +- T girders + +You can also draw them in different orientations. +END +STEP +COMMAND DrawBench +PARAMETER draw benchcolor 16760832 +PARAMETER draw benchlist 0 1"x1" +PARAMETER draw benchorient 0 On Edge +PARAMETER GROUP draw +PARAMETER draw benchlist 12 L-2"x4" +PARAMETER draw benchlist 16 L-3"x6" +MESSAGE +_________________________________________ + +We will draw two 3x6 inch L-girders. +END +STEP +MOUSE 2 0.000 2.000 +MOUSE 4 23.812 2.000 +PARAMETER draw benchcolor 16760832 +PARAMETER draw benchlist 16 L-3"x6" +PARAMETER draw benchorient 0 Left +PARAMETER GROUP draw +MOUSE 2 0.000 10.250 +MOUSE 4 23.750 10.250 +PARAMETER draw benchcolor 16760832 +PARAMETER draw benchlist 16 L-3"x6" +PARAMETER draw benchorient 0 Left +PARAMETER GROUP draw +MESSAGE +_________________________________________ + +The flange of the top L-Girders is on the outside edge of the girders. We want to change the girder so both flanges are on the inside. + +We will use the command for this. +END +STEP +COMMAND Describe +MOUSE 2 12.312 10.500 +MOUSE 4 12.312 10.500 +MESSAGE +_________________________________________ + +Change the Orientation to Right. +END +STEP +PARAMETER describe L2 1 Right +PARAMETER describe ok +RESET +MESSAGE +_________________________________________ + +Now both flanges are on the inside of the two girders. +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmcancel.xtr b/app/lib/demos/dmcancel.xtr new file mode 100644 index 0000000..edaef5c --- /dev/null +++ b/app/lib/demos/dmcancel.xtr @@ -0,0 +1,112 @@ +VERSION 10 +DEMOINIT +ORIG 6.000 0.000 0.000 +STRAIGHT 1 0 0 0 0 DEMO 2 + E 5.333333 2.250000 270.000000 + T 2 14.000000 2.250011 90.000000 + END +TURNOUT 2 0 0 0 0 DEMO 2 14.000000 2.250011 0 0.000000 "Peco-55 Med Left SL-E396F" + T 1 14.000000 2.250011 270.000000 + T 3 19.405000 2.250011 90.000000 + E 19.370000 2.772011 80.314000 + D 0.172500 -1.261011 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 -23.136000 0.351000 23.136000 170.297000 9.700000 + S 0 0.000000 4.251000 0.331000 5.370000 0.522000 + END +STRAIGHT 3 0 0 0 0 DEMO 2 + E 28.166667 2.250000 90.000123 + T 2 19.405000 2.250007 270.000123 + END +NOTE 4 0 0 0 16.666667 4.250000 0 69 +This is a note about something important +but I can't remember what. + END +DRAW 5 0 0 0 0 4.125000 5.750000 0 0.000000 + Z 0 0.000000 0.000000 0.000000 0 140.000000 "This is some text" + END +REDRAW +RESET +MESSAGE +Pushing the button will cancel any other command in progress. + +Here we will begin to create a Curved track which is a two step process. +END +STEP +COMMAND CurveEndPt +MOUSE 2 21.250 5.583 +MOUSE 4 32.333 5.750 +COMMAND Describe +MESSAGE +_________________________________________ + +When we clicked on the button, the current command was cancelled. + +When in mode, selecting any object will print a description in the Status Bar and display a Dialog showing properties of the clicked-on object. +END +STEP +MOUSE 2 11.333 2.167 +MOUSE 4 11.333 2.167 +MESSAGE +_________________________________________ + +Certain parameters of the object can be changed. In this case we'll change the Length +END +STEP +#DESCRIBE Length 7.500 +PARAMETER describe F7 7.500 +MESSAGE +_________________________________________ + +Let's look at the Turnout... +END +BIGPAUSE +MOUSE 2 18.083 2.250 +MOUSE 4 18.083 2.250 +MESSAGE +and change the turnout Title. +END +STEP +#DESCRIBE Name Medium Left +#DESCRIBE Part No SL-E396F2 +PARAMETER describe S2 Medium Left +PARAMETER describe S3 SL-E396F2 +STEP +MOUSE 2 11.500 6.625 +MOUSE 4 11.500 6.625 +MESSAGE +_________________________________________ + +You can change the contents of Text... +END +STEP +#DESCRIBE Text Goodbye +PARAMETER describe S1 Goodbye +BIGPAUSE +MESSAGE +and its size. +END +STEP +#DESCRIBE Font Size 19 +PARAMETER describe LE1 -1 19 +STEP +MESSAGE +_________________________________________ + +If you select a Note, the Description dialog appears which displays the contents of the note. +END +BIGPAUSE +MOUSE 2 16.750 4.583 +PAUSE 50 +MOUSE 3 16.750 4.583 +MOUSE 4 16.750 4.583 +BIGPAUSE +BIGPAUSE +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmcircle.xtr b/app/lib/demos/dmcircle.xtr new file mode 100644 index 0000000..5d93443 --- /dev/null +++ b/app/lib/demos/dmcircle.xtr @@ -0,0 +1,51 @@ +VERSION 9 +DEMOINIT +ORIG 12.000 0.000 0.000 +PARAMETER display description-fontsize 72 +REDRAW +RESET +MESSAGE +Like the track command, there are several ways to create a Circle track. + +The first is to specify a fixed radius and simply drag the Circle into position. + +We will change the Radius before proceeding. +END +STEP +COMMAND CircleFixedRadius +PARAMETER circle radius 10.000 +BIGPAUSE +PARAMETER circle radius 12.000000 +MOUSE 2 20.500 11.500 +MOUSE 4 13.750 13.250 +PARAMETER circle radius 12.000 +RESET +MESSAGE +_________________________________________ + +The next method is to drag from the edge of the Circle to the center. +END +STEP +PARAMETER misc cmdUndo +COMMAND CircleTangent +PARAMETER circle radius 12.000 +MOUSE 2 12.000 1.750 +MOUSE 4 12.250 12.000 +PARAMETER circle radius 10.253 +MESSAGE +_________________________________________ + +The last is similar, but you drag from the center of the Circle to the edge. +END +STEP +PARAMETER misc cmdUndo +RESET +COMMAND CircleCenter +PARAMETER circle radius 10.253 +MOUSE 2 14.000 14.000 +MOUSE 4 5.750 5.250 +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmconn1.xtr b/app/lib/demos/dmconn1.xtr new file mode 100644 index 0000000..25c562e --- /dev/null +++ b/app/lib/demos/dmconn1.xtr @@ -0,0 +1,230 @@ +VERSION 7 +DEMOINIT +ORIG 8.000 0.000 0.000 +PARAMETER display description-fontsize 24 +TURNOUT 1 0 0 0 0 HO -1 6.842105 1.684210 0.000000 "Kato Unitrack #4-L Turnout 2-850" + T 11 6.842105 1.684210 270.000000 + T 2 14.125570 1.684210 90.000000 + T 10 13.891809 2.863926 71.000000 + D 0.000000 0.000000 + P "Normal" 1 + P "Reverse" 2 + S 0 0.000000 0.000000 0.000000 7.283465 0.000000 + C 0 0.000000 -21.654000 0.000000 21.654000 161.000000 19.000000 + L 11579568 0.053333 0.000000 -0.723334 7.283465 -0.723334 + A 11579568 0.053333 -20.930666 0.000000 21.654000 161.000000 19.000000 + END +TURNOUT 2 0 0 0 0 HO -1 14.125570 1.684210 0.000000 "Kato Unitrack S61L (incl w/#4 TO) " + T 1 14.125570 1.684210 270.000000 + T 3 16.527145 1.684210 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 2.401575 0.000000 + L 11579568 0.053333 0.000000 0.723334 2.401575 0.723334 + L 11579568 0.053333 0.000000 -0.723334 2.401575 -0.723334 + END +TURNOUT 3 0 0 0 0 HO -1 16.527145 1.684210 0.000000 "Kato Unitrack S114 (incl w/#4 TO) " + T 2 16.527145 1.684210 270.000000 + T 12 21.015334 1.684210 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 4.488189 0.000000 + L 11579568 0.053333 0.000000 0.723334 4.488189 0.723334 + L 11579568 0.053333 0.000000 -0.723334 4.488189 -0.723334 + END +TURNOUT 4 0 0 0 0 HO -1 34.716122 1.684210 0.000000 "Kato Unitrack S114 (incl w/#4 TO) " + T 13 34.716122 1.684210 270.000000 + T 5 39.204311 1.684210 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 4.488189 0.000000 + L 11579568 0.053333 0.000000 0.723334 4.488189 0.723334 + L 11579568 0.053333 0.000000 -0.723334 4.488189 -0.723334 + END +TURNOUT 5 0 0 0 0 HO -1 39.204311 1.684210 0.000000 "Kato Unitrack S61R (incl w/#4 TO) " + T 4 39.204311 1.684210 270.000000 + T 6 41.605886 1.684210 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 2.401575 0.000000 + L 11579568 0.053333 0.000000 0.723334 2.401575 0.723334 + L 11579568 0.053333 0.000000 -0.723334 2.401575 -0.723334 + END +TURNOUT 6 0 0 0 0 HO -1 48.889351 1.684210 180.000000 "Kato Unitrack #4-R Turnout 2-851" + T 16 48.889351 1.684210 90.000000 + T 5 41.605886 1.684210 270.000000 + T 7 41.839647 2.863926 289.000000 + D 0.000000 0.000000 + P "Normal" 1 + P "Reverse" 2 + S 0 0.000000 0.000000 0.000000 7.283465 0.000000 + C 0 0.000000 21.654000 0.000000 -21.654000 0.000000 19.000000 + L 11579568 0.053333 0.000000 0.723334 7.283465 0.723334 + A 11579568 0.053333 20.930666 0.000000 -21.654000 0.000000 19.000000 + END +TURNOUT 7 0 0 0 0 HO -1 40.576601 3.256112 15.500000 "Kato Unitrack R550-3.5° (incl w/#4 TO) " + T 8 40.576601 3.256112 285.500000 + T 6 41.839647 2.863926 109.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 21.654000 0.000000 -21.654000 0.000000 3.500000 + A 11579568 0.053333 20.930666 0.000000 -21.654000 0.000000 3.500000 + A 11579568 0.053333 22.377334 0.000000 -21.654000 0.000000 3.500000 + END +TURNOUT 8 0 0 0 0 HO -1 34.789943 4.043642 0.000000 "Kato Unitrack R550-15.5° (incl w/#4 TO) " + T 14 34.789943 4.043642 270.000000 + T 7 40.576601 3.256112 105.500000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 21.654000 0.000000 -21.654000 0.000000 15.500000 + A 11579568 0.053333 20.930666 0.000000 -21.654000 0.000000 15.500000 + A 11579568 0.053333 22.377334 0.000000 -21.654000 0.000000 15.500000 + END +TURNOUT 9 0 0 0 0 HO -1 15.302497 3.256113 344.500000 "Kato Unitrack R550-15.5° (incl w/#4 TO) " + E 15.302497 3.256113 254.500000 + T 15 21.089155 4.043642 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 21.654000 0.000000 -21.654000 0.000000 15.500000 + A 11579568 0.053333 20.930666 0.000000 -21.654000 0.000000 15.500000 + A 11579568 0.053333 22.377334 0.000000 -21.654000 0.000000 15.500000 + END +TURNOUT 10 0 0 0 0 HO -1 13.891809 2.863926 341.000000 "Kato Unitrack R550-3.5° (incl w/#4 TO) " + T 1 13.891809 2.863926 251.000000 + E 15.154856 3.256113 74.500000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 21.654000 0.000000 -21.654000 0.000000 3.500000 + A 11579568 0.053333 20.930666 0.000000 -21.654000 0.000000 3.500000 + A 11579568 0.053333 22.377334 0.000000 -21.654000 0.000000 3.500000 + END +TURNOUT 11 0 0 0 0 HO -1 6.842105 1.684210 180.000000 "Kato Unitrack Straight 6 7/8 2-130" + T 1 6.842105 1.684210 90.000000 + E -0.008289 1.684210 270.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 6.850394 0.000000 + L 11579568 0.053333 0.000000 0.723334 6.850394 0.723334 + L 11579568 0.053333 0.000000 -0.723334 6.850394 -0.723334 + END +TURNOUT 12 0 0 0 0 HO -1 21.015334 1.684210 0.000000 "Kato Unitrack Straight 6 7/8 2-130" + T 3 21.015334 1.684210 270.000000 + T 13 27.865728 1.684210 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 6.850394 0.000000 + L 11579568 0.053333 0.000000 0.723334 6.850394 0.723334 + L 11579568 0.053333 0.000000 -0.723334 6.850394 -0.723334 + END +TURNOUT 13 0 0 0 0 HO -1 27.865728 1.684210 0.000000 "Kato Unitrack Straight 6 7/8 2-130" + T 12 27.865728 1.684210 270.000000 + T 4 34.716122 1.684210 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 6.850394 0.000000 + L 11579568 0.053333 0.000000 0.723334 6.850394 0.723334 + L 11579568 0.053333 0.000000 -0.723334 6.850394 -0.723334 + END +TURNOUT 14 0 0 0 0 HO -1 34.789943 4.043642 180.000000 "Kato Unitrack Straight 6 7/8 2-130" + T 8 34.789943 4.043642 90.000000 + T 15 27.939549 4.043642 270.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 6.850394 0.000000 + L 11579568 0.053333 0.000000 0.723334 6.850394 0.723334 + L 11579568 0.053333 0.000000 -0.723334 6.850394 -0.723334 + END +TURNOUT 15 0 0 0 0 HO -1 27.939549 4.043642 180.000000 "Kato Unitrack Straight 6 7/8 2-130" + T 14 27.939549 4.043642 90.000000 + T 9 21.089155 4.043642 270.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 6.850394 0.000000 + L 11579568 0.053333 0.000000 0.723334 6.850394 0.723334 + L 11579568 0.053333 0.000000 -0.723334 6.850394 -0.723334 + END +TURNOUT 16 0 0 0 0 HO -1 48.889351 1.684210 0.000000 "Kato Unitrack Straight 6 7/8 2-130" + T 6 48.889351 1.684210 270.000000 + E 55.739745 1.684210 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 6.850394 0.000000 + L 11579568 0.053333 0.000000 0.723334 6.850394 0.723334 + L 11579568 0.053333 0.000000 -0.723334 6.850394 -0.723334 + END +REDRAW +RESET +MESSAGE +We have built a siding using Sectional track and have 2 End-Points that don't line up and are not connected automatically when placing the sectional track. +END +STEP +ORIG 1.000 12.000 2.000 +MESSAGE +_________________________________________ + +We use the command to adjust neighboring tracks so the gap is closed. + +Note: the adjustments are only done on tracks which have only 1 or 2 connections. In this example the Turnouts would not be affected. +END +STEP +COMMAND Connect +MOUSE 2 14.840 3.213 +MOUSE 4 14.840 3.213 +MOUSE 2 15.560 3.373 +MOUSE 4 15.560 3.373 +MESSAGE +_________________________________________ + +And now the gap is closed. +END +STEP +MESSAGE +_________________________________________ + +Other tracks have been shifted slightly to close the gap. +END +STEP +ORIG 1 32 3 +MESSAGE +_________________________________________ + +You can see these slight mis-alignments. +But they will have no effect when the layout is actually built. +END +BIGPAUSE +ORIG 1 26 3 +MESSAGE +========================================= +END +STEP +CLEAR +MESSAGE +After working with Sectional track you might get to point where these mis-alignments have accumulated and you wish to remove them. +You can remove these slight mis-alignments by tightening the tracks starting from a unconnected End-Point. Use Shift-Left-Click with the command. + +First use the command to disconnect the tracks. +END +STEP +COMMAND SplitTrack +MOUSE 2 27.853 4.040 +MOUSE 4 27.853 4.040 +MESSAGE +_________________________________________ + +Then with the command, Shift-Left-Click on the 2 End-Points. +END +STEP +COMMAND Connect +KEYSTATE 2 +MOUSE 2 27.680 4.053 +KEYSTATE 2 +MOUSE 4 27.680 4.053 +KEYSTATE 2 +MOUSE 2 27.933 4.080 +KEYSTATE 2 +MOUSE 4 27.933 4.080 +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmconn2.xtr b/app/lib/demos/dmconn2.xtr new file mode 100644 index 0000000..d233edc --- /dev/null +++ b/app/lib/demos/dmconn2.xtr @@ -0,0 +1,242 @@ +VERSION 7 +DEMOINIT +ORIG 8.000 5.000 0.000 +PARAMETER display description-fontsize 24 +TURNOUT 1 0 0 0 0 N -1 17.157895 20.894737 0.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 2 17.157895 20.894737 270.000000 + T 8 24.061930 18.034992 135.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 2 0 0 0 0 N -1 10.253860 18.034992 315.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 3 10.253860 18.034992 225.000000 + T 1 17.157895 20.894737 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 3 0 0 0 0 N -1 7.394115 11.130957 270.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 4 7.394115 11.130957 180.000000 + T 2 10.253860 18.034992 45.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 4 0 0 0 0 N -1 10.253860 4.226922 225.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 5 10.253860 4.226922 135.000000 + T 3 7.394115 11.130957 0.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 5 0 0 0 0 N -1 17.157895 1.367177 180.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 6 17.157895 1.367177 90.000000 + T 4 10.253860 4.226922 315.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 6 0 0 0 0 N -1 24.061930 4.226922 135.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 7 24.061930 4.226922 45.000000 + T 5 17.157895 1.367177 270.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 7 0 0 0 0 N -1 29.239955 9.404947 135.000000 "Kato Unitrack Straight 7 5/16 186mm 20-010" + T 10 29.239955 9.404947 45.000000 + T 6 24.061930 4.226922 225.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 7.322834 0.000000 + L 11579568 0.053333 0.000000 0.473340 7.322834 0.473340 + L 11579568 0.053333 0.000000 -0.473340 7.322834 -0.473340 + END +TURNOUT 8 0 0 0 0 N -1 29.239955 12.856966 225.000000 "Kato Unitrack Straight 7 5/16 186mm 20-010" + T 9 29.239955 12.856966 135.000000 + T 1 24.061930 18.034992 315.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 7.322834 0.000000 + L 11579568 0.053333 0.000000 0.473340 7.322834 0.473340 + L 11579568 0.053333 0.000000 -0.473340 7.322834 -0.473340 + END +TURNOUT 9 0 0 0 0 N -1 31.026851 11.070071 225.000000 "Kato Unitrack Straight 2 1/2 64mm 20-030" + T 12 31.026851 11.070071 135.000000 + T 8 29.239955 12.856966 315.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 2.527052 0.000000 + L 11579568 0.053333 0.000000 0.473340 2.527052 0.473340 + L 11579568 0.053333 0.000000 -0.473340 2.527052 -0.473340 + END +TURNOUT 10 0 0 0 0 N -1 31.026851 11.191843 135.000000 "Kato Unitrack Straight 2 1/2 64mm 20-030" + T 11 31.026851 11.191843 45.000000 + T 7 29.239955 9.404947 225.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 2.527052 0.000000 + L 11579568 0.053333 0.000000 0.473340 2.527052 0.473340 + L 11579568 0.053333 0.000000 -0.473340 2.527052 -0.473340 + END +TURNOUT 11 0 0 0 0 N -1 32.813746 12.978739 135.000000 "Kato Unitrack Straight 2 1/2 64mm 20-030" + E 32.813746 12.978739 45.000000 + T 10 31.026851 11.191843 225.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 2.527052 0.000000 + L 11579568 0.053333 0.000000 0.473340 2.527052 0.473340 + L 11579568 0.053333 0.000000 -0.473340 2.527052 -0.473340 + END +TURNOUT 12 0 0 0 0 N -1 32.813747 9.283175 225.000000 "Kato Unitrack Straight 2 1/2 64mm 20-030" + T 13 32.813747 9.283175 135.000000 + T 9 31.026851 11.070071 315.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 2.527052 0.000000 + L 11579568 0.053333 0.000000 0.473340 2.527052 0.473340 + L 11579568 0.053333 0.000000 -0.473340 2.527052 -0.473340 + END +TURNOUT 13 0 0 0 0 N -1 32.813747 9.283175 45.000000 "Kato Unitrack Turnout 6-R 20-203" + T 12 32.813747 9.283175 315.000000 + T 15 37.991772 4.105149 135.000000 + T 14 37.310072 3.423450 150.000000 + D 0.000000 0.000000 + P "Normal" 1 + P "Reverse" 2 + S 0 0.000000 0.000000 0.000000 7.322834 0.000000 + C 0 0.000000 28.268000 0.003000 -28.268000 359.993000 15.014000 + L 11579568 0.053333 0.000000 0.473340 7.322834 0.473340 + A 11579568 0.053333 27.794666 0.003000 -28.268000 359.993000 15.014000 + END +TURNOUT 14 0 0 0 0 N -1 37.310072 3.423450 60.000000 "Kato Unitrack S60L {incl w/4} " + T 13 37.310072 3.423450 330.000000 + E 38.491174 1.377721 150.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 2.362204 0.000000 + L 11579568 0.053333 0.000000 0.473340 2.362204 0.473340 + L 11579568 0.053333 0.000000 -0.473340 2.362204 -0.473340 + END +TURNOUT 15 0 0 0 0 N -1 44.895807 1.245404 180.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 16 44.895807 1.245404 90.000000 + T 13 37.991772 4.105149 315.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 16 0 0 0 0 N -1 51.799842 4.105149 135.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 17 51.799842 4.105149 45.000000 + T 15 44.895807 1.245404 270.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 17 0 0 0 0 N -1 54.659587 11.009184 90.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 18 54.659587 11.009184 0.000000 + T 16 51.799842 4.105149 225.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 18 0 0 0 0 N -1 51.799842 17.913219 45.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 19 51.799842 17.913219 315.000000 + T 17 54.659587 11.009184 180.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 19 0 0 0 0 N -1 44.895807 20.772964 0.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 20 44.895807 20.772964 270.000000 + T 18 51.799842 17.913219 135.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 20 0 0 0 0 N -1 37.991772 17.913220 315.000000 "Kato Unitrack Curve 9.75R 249mm 45° 20-100" + T 21 37.991772 17.913220 225.000000 + T 19 44.895807 20.772964 90.000000 + D 0.000000 0.000000 + P "Normal" 1 + C 0 0.000000 9.764000 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 9.290666 0.000000 -9.764000 0.000000 45.000000 + A 11579568 0.053333 10.237334 0.000000 -9.764000 0.000000 45.000000 + END +TURNOUT 21 0 0 0 0 N -1 32.813747 12.735194 315.000000 "Kato Unitrack Straight 7 5/16 186mm 20-010" + E 32.813747 12.735194 225.000000 + T 20 37.991772 17.913220 45.000000 + D 0.000000 0.000000 + P "Normal" 1 + S 0 0.000000 0.000000 0.000000 7.322834 0.000000 + L 11579568 0.053333 0.000000 0.473340 7.322834 0.473340 + L 11579568 0.053333 0.000000 -0.473340 7.322834 -0.473340 + END +REDRAW +RESET +MESSAGE +In example shows a simple figure-8 layout using Sectional track. +You will notice that the tracks do not line up exactly in one location. +END +STEP +#ORIG 6 10.5 2.75 +#BIGPAUSE +#ORIG 4 16 5.5 +#BIGPAUSE +#ORIG 3 21.5 8.25 +#BIGPAUSE +ORIG 2.000 27.000 11.000 +MESSAGE +_________________________________________ + +We can use the command to move the connecting tracks slightly and connect the 2 End-Points. +END +STEP +COMMAND Connect +MOUSE 2 32.605 12.763 +MOUSE 4 32.605 12.763 +BIGPAUSE +MOUSE 2 33.184 13.105 +MOUSE 4 33.184 13.105 +BIGPAUSE +MESSAGE +_________________________________________ + +The two End-Points are now aligned and connected. +END +STEP +ORIG 2 51.0 9.0 +MESSAGE +_________________________________________ + +The connection was made by adding small gaps in other tracks. +END +BIGPAUSE +ORIG 2 4.0 9.0 +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmcrvtrk.xtr b/app/lib/demos/dmcrvtrk.xtr new file mode 100644 index 0000000..884a9ab --- /dev/null +++ b/app/lib/demos/dmcrvtrk.xtr @@ -0,0 +1,96 @@ +VERSION 9 +DEMOINIT +ORIG 8.000 0.000 0.000 +PARAMETER display description-fontsize 72 +REDRAW +RESET +MESSAGE +There are several ways to create a Curved track. + +You can choose which to use by clicking on the small button to the left of command button if the current Curve command is not the one you want. +_________________________________________ + +The first is by clicking on the first End-Point and dragging in the direction of the Curve. +END +STEP +COMMAND CurveEndPt +MOUSE 2 6.500 1.625 +MOUSE 4 31.250 2.750 +MESSAGE +_________________________________________ + +You will see a straight track with a double ended Red arrow at the end. + +Click and drag on one of the Red arrows to complete the Curve. +END +STEP +MOUSE 2 31.125 2.500 +MOUSE 4 20.375 17.875 +RESET +RESET +MESSAGE +_________________________________________ + +The next method is to click at one End-Point and drag to the center of the Curve. +END +STEP +PARAMETER misc cmdUndo +COMMAND CurveTangent +MOUSE 2 8.250 2.250 +MOUSE 4 31.875 2.500 +MESSAGE +_________________________________________ + +Now you will see the double ended Red arrow connected to the center of the Curve marked by a small circle. + +As before, drag on one of the Red arrows to complete the Curve. +END +STEP +MOUSE 2 8.875 2.500 +MOUSE 4 17.375 19.125 +RESET +RESET +MESSAGE +_________________________________________ + +The next method is similar to the last except that you drag first from the center of the Curve to one End-Point. +END +STEP +PARAMETER misc cmdUndo +COMMAND CurveCenter +MOUSE 2 27.375 4.250 +MOUSE 4 5.000 4.250 +MESSAGE +_________________________________________ + +Once again, drag on a Red arrow to complete the Curve. +END +STEP +MOUSE 2 5.000 4.375 +MOUSE 4 15.625 18.875 +RESET +MESSAGE +_________________________________________ + +The last method begins by drawing a line between the two End-Points of the Curve. This forms the Chord of the Curve. +END +STEP +RESET +PARAMETER misc cmdUndo +COMMAND CurveChord +MOUSE 2 5.625 1.500 +MOUSE 4 37.125 1.500 +MESSAGE +_________________________________________ + +Now drag on a Red arrow to complete the Curve. +END +STEP +MOUSE 2 21.250 2.125 +MOUSE 4 20.750 16.750 +RESET +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmctlpnl.xtr b/app/lib/demos/dmctlpnl.xtr new file mode 100644 index 0000000..e98604d --- /dev/null +++ b/app/lib/demos/dmctlpnl.xtr @@ -0,0 +1,891 @@ + +VERSION 10 +DEMOINIT +ROOMSIZE 48.0 x 12.0 +ORIG 8.000 0.000 0.000 + +PARAMETER display labelenable 4 +PARAMETER display description-fontsize 48 +PARAMETER display layoutlabels 1 +STRAIGHT 1 0 0 0 0 DEMO 2 + E 0.000000 5.984375 270.000000 + T 4 4.375000 5.984375 90.000000 + END +STRAIGHT 2 0 0 0 0 DEMO 2 + T 11 17.438834 4.734375 270.000000 + T 16 17.562500 4.734375 90.000000 + END +STRAIGHT 3 0 0 0 0 DEMO 2 + E 48.000000 5.984375 90.000000 + T 6 41.375000 5.984375 270.000000 + END +TURNOUT 4 0 0 0 0 DEMO 2 4.375000 5.984375 0 0.000000 "Peco-55 Medium Right SL-E395F" + T 1 4.375000 5.984375 270.000000 + T 5 9.780000 5.984375 90.000000 + T 7 9.745000 5.462375 99.686000 + D 0.000000 0.000000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 23.136000 0.351000 -23.136000 0.004000 9.700000 + S 0 0.000000 4.251000 -0.331000 5.370000 -0.522000 + END +STRAIGHT 5 0 0 0 0 DEMO 2 + T 4 9.780000 5.984375 270.000000 + T 6 35.970000 5.984375 90.000000 + END +TURNOUT 6 0 0 0 0 DEMO 2 41.375000 5.984375 0 180.000000 "Peco-55 Medium Left SL-E396F" + T 3 41.375000 5.984375 90.000000 + T 5 35.970000 5.984375 270.000000 + T 8 36.005000 5.462375 260.314000 + D 0.000000 0.000000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 -23.136000 0.351000 23.136000 170.297000 9.700000 + S 0 0.000000 4.251000 0.331000 5.370000 0.522000 + END +STRAIGHT 7 0 0 0 0 DEMO 2 + T 4 9.745000 5.462375 279.686000 + T 10 10.630543 5.311229 99.686000 + END +STRAIGHT 8 0 0 0 0 DEMO 2 + T 6 36.005000 5.462375 80.314000 + T 13 35.119457 5.311229 260.314000 + END +CURVE 9 0 0 0 0 DEMO 2 15.937500 27.480640 0 22.729792 0 0.000000 0.000000 + T 11 14.436166 4.800485 93.787221 + T 10 13.601529 4.871202 275.898779 + END +JOINT 10 0 0 0 0 DEMO 2 0.000000 3.002667 9.750000 7.000000 0 1 0 10.630543 5.311229 0 99.686000 + T 7 10.630543 5.311229 279.686000 + T 9 13.601529 4.871202 95.898779 + END +JOINT 11 0 0 0 0 DEMO 2 0.000000 3.002667 9.750000 7.000000 0 0 0 17.438834 4.734375 0 269.999999 + T 2 17.438834 4.734375 90.000000 + T 9 14.436166 4.800485 273.787221 + END +CURVE 12 0 0 0 0 DEMO 2 29.812500 27.480640 0 22.729792 0 0.000000 0.000000 + T 13 32.148471 4.871202 84.101221 + T 14 31.313834 4.800485 266.212779 + END +JOINT 13 0 0 0 0 DEMO 2 0.000000 3.002667 9.750000 7.000000 0 0 0 35.119457 5.311229 0 260.314000 + T 8 35.119457 5.311229 80.314000 + T 12 32.148471 4.871202 264.101221 + END +JOINT 14 0 0 0 0 DEMO 2 0.000000 3.002667 9.750000 7.000000 0 1 0 28.311166 4.734375 0 90.000001 + T 15 28.311166 4.734375 270.000000 + T 12 31.313834 4.800485 86.212779 + END +STRAIGHT 15 0 0 0 0 DEMO 2 + T 14 28.311166 4.734375 90.000000 + T 16 22.967500 4.734375 270.000000 + END +TURNOUT 16 0 0 0 0 DEMO 2 17.562500 4.734375 0 0.000000 "Peco-55 Medium Right SL-E395F" + T 2 17.562500 4.734375 270.000000 + T 15 22.967500 4.734375 90.000000 + T 17 22.932500 4.212375 99.686000 + D 0.000000 0.000000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 23.136000 0.351000 -23.136000 0.004000 9.700000 + S 0 0.000000 4.251000 -0.331000 5.370000 -0.522000 + END +STRAIGHT 17 0 0 0 0 DEMO 2 + T 16 22.932500 4.212375 279.686000 + E 37.586240 1.711250 99.686000 + END +LAYERS 0 1 0 1 255 0 0 0 0 "Main" +LAYERS 3 1 0 0 16776960 0 0 0 0 "" +LAYERS 4 0 0 1 65280 0 0 0 0 "" +LAYERS 6 1 0 1 179456 0 0 0 0 "" +LAYERS 7 0 0 1 8388736 0 0 0 0 "" +LAYERS 8 0 0 1 8421376 0 0 0 0 "" +LAYERS 10 0 0 1 255 0 0 0 0 "" +LAYERS CURRENT 0 +REDRAW +RESET +MESSAGE +This demo will construct a control panel for part of a bigger layout. +END +STEP +RESET +MESSAGE +_________________________________________ + +For our control panel we will use ¼" lines. +Also, we will use a 1/8" grid to lay out our controls. + +First, we will set up the Snap Grid for 1" grid lines and 8 divisions. +END +STEP +COMMAND Change Grid... +STEP +PARAMETER grid vertspacing 1.000000 +PARAMETER grid horzspacing 1.000000 +PARAMETER grid horzdivision 8 +PARAMETER grid vertdivision 8 +MESSAGE +_________________________________________ + +Now, clear the layout and turn on the Snap Grid. +END +STEP +PARAMETER grid ok +PARAMETER misc menuFile-clear +PARAMETER misc cmdGridShow +PARAMETER misc cmdGridEnable +ORIG 2.000 0.000 2.000 +CLEAR +MESSAGE +First step: draw the lines representing the tracks. + +We specify the line width in pixels. + +To create a ¼" line, divide the dots-per-inch (DPI) of your display by 4 and then by the drawing scale (which is 2 right now). + +For MS-Windows the DPI is usually 98, so choose: 98/4/2 = 12 (approximately). +For Linux, the DPI is usually 72, so choose: 72/4/2 = 9. +END +STEP +COMMAND DrawLine +PARAMETER draw linewidth 0 +PARAMETER draw linecolor 0 +PARAMETER GROUP draw +PARAMETER draw linewidth 12 +STEP +MOUSE 2 1.000 6.000 +MOUSE 3 1.016 6.000 +MOUSE 3 1.016 6.016 +MOUSE 3 1.047 6.016 +MOUSE 3 1.078 6.016 +MOUSE 3 1.125 6.016 +MOUSE 3 1.234 6.000 +MOUSE 3 1.375 5.969 +MOUSE 3 1.531 5.969 +MOUSE 3 1.734 5.938 +MOUSE 3 1.922 5.938 +MOUSE 3 2.141 5.938 +MOUSE 3 2.391 5.938 +MOUSE 3 2.641 5.906 +MOUSE 3 2.844 5.906 +MOUSE 3 3.031 5.906 +MOUSE 3 3.203 5.906 +MOUSE 3 3.344 5.906 +MOUSE 3 3.484 5.906 +MOUSE 3 3.609 5.938 +MOUSE 3 3.625 5.938 +MOUSE 3 3.641 5.938 +MOUSE 3 3.656 5.953 +MOUSE 3 3.750 5.984 +MOUSE 3 3.781 5.984 +MOUSE 3 3.922 5.984 +MOUSE 3 4.125 5.984 +MOUSE 3 4.344 5.953 +MOUSE 3 4.594 5.891 +MOUSE 3 4.875 5.875 +MOUSE 3 5.172 5.844 +MOUSE 3 5.422 5.812 +MOUSE 3 5.625 5.781 +MOUSE 3 5.875 5.750 +MOUSE 3 6.000 5.734 +MOUSE 3 6.094 5.703 +MOUSE 3 6.125 5.703 +MOUSE 3 6.156 5.688 +MOUSE 3 6.203 5.688 +MOUSE 3 6.219 5.688 +MOUSE 3 6.234 5.688 +MOUSE 3 6.250 5.688 +MOUSE 3 6.250 5.688 +MOUSE 3 6.250 5.703 +MOUSE 3 6.250 5.719 +MOUSE 3 6.281 5.734 +MOUSE 3 6.328 5.734 +MOUSE 3 6.469 5.734 +MOUSE 3 6.625 5.734 +MOUSE 3 6.828 5.734 +MOUSE 3 7.047 5.750 +MOUSE 3 7.375 5.750 +MOUSE 3 7.656 5.781 +MOUSE 3 7.906 5.781 +MOUSE 3 8.109 5.781 +MOUSE 3 8.266 5.781 +MOUSE 3 8.406 5.781 +MOUSE 3 8.578 5.781 +MOUSE 3 8.719 5.781 +MOUSE 3 8.828 5.781 +MOUSE 3 8.875 5.781 +MOUSE 3 8.891 5.766 +MOUSE 3 8.906 5.766 +MOUSE 3 8.922 5.766 +MOUSE 3 8.922 5.781 +MOUSE 3 8.922 5.812 +MOUSE 3 8.938 5.844 +MOUSE 3 9.000 5.891 +MOUSE 3 9.078 5.953 +MOUSE 3 9.188 5.984 +MOUSE 3 9.359 6.000 +MOUSE 3 9.516 6.000 +MOUSE 3 9.656 6.000 +MOUSE 3 9.859 6.000 +MOUSE 3 10.000 6.000 +MOUSE 3 10.109 6.000 +MOUSE 3 10.250 6.000 +MOUSE 3 10.375 6.000 +MOUSE 3 10.516 6.000 +MOUSE 3 10.656 6.031 +MOUSE 3 10.797 6.031 +MOUSE 3 10.938 6.062 +MOUSE 3 10.984 6.062 +MOUSE 3 11.062 6.094 +MOUSE 3 11.078 6.094 +MOUSE 3 11.094 6.109 +MOUSE 3 11.109 6.109 +MOUSE 3 11.125 6.109 +MOUSE 3 11.125 6.109 +MOUSE 3 11.141 6.109 +MOUSE 3 11.156 6.125 +MOUSE 3 11.172 6.125 +MOUSE 3 11.188 6.125 +MOUSE 3 11.203 6.125 +MOUSE 3 11.203 6.125 +MOUSE 3 11.219 6.125 +MOUSE 3 11.234 6.109 +MOUSE 3 11.250 6.094 +MOUSE 3 11.250 6.078 +MOUSE 3 11.266 6.062 +MOUSE 3 11.281 6.062 +MOUSE 3 11.297 6.062 +MOUSE 3 11.297 6.047 +MOUSE 3 11.312 6.047 +MOUSE 3 11.328 6.047 +MOUSE 3 11.312 6.047 +MOUSE 3 11.281 6.062 +MOUSE 3 11.172 6.094 +MOUSE 3 11.062 6.094 +MOUSE 3 10.953 6.094 +MOUSE 3 10.812 6.125 +MOUSE 3 10.703 6.125 +MOUSE 3 10.562 6.125 +MOUSE 3 10.516 6.125 +MOUSE 3 10.484 6.125 +MOUSE 3 10.453 6.125 +MOUSE 3 10.422 6.125 +MOUSE 3 10.406 6.125 +MOUSE 3 10.391 6.125 +MOUSE 3 10.375 6.125 +MOUSE 3 10.375 6.109 +MOUSE 3 10.375 6.109 +MOUSE 3 10.375 6.109 +MOUSE 3 10.391 6.109 +MOUSE 3 10.422 6.109 +MOUSE 3 10.500 6.078 +MOUSE 3 10.547 6.078 +MOUSE 3 10.578 6.078 +MOUSE 3 10.625 6.078 +MOUSE 3 10.641 6.062 +MOUSE 3 10.672 6.062 +MOUSE 3 10.688 6.062 +MOUSE 3 10.719 6.062 +MOUSE 3 10.734 6.062 +MOUSE 3 10.750 6.062 +MOUSE 3 10.750 6.062 +MOUSE 3 10.766 6.062 +MOUSE 3 10.781 6.062 +MOUSE 3 10.797 6.078 +MOUSE 3 10.812 6.078 +MOUSE 3 10.844 6.078 +MOUSE 3 10.875 6.078 +MOUSE 3 10.875 6.078 +MOUSE 3 10.891 6.078 +MOUSE 3 10.906 6.078 +MOUSE 3 10.922 6.078 +MOUSE 3 10.938 6.078 +MOUSE 3 10.953 6.078 +MOUSE 3 10.969 6.078 +MOUSE 3 10.984 6.078 +MOUSE 3 10.984 6.062 +MOUSE 3 10.984 6.047 +MOUSE 3 11.000 6.031 +MOUSE 3 11.000 6.016 +MOUSE 3 11.000 6.000 +MOUSE 3 11.000 6.000 +MOUSE 3 11.000 6.000 +MOUSE 3 11.000 5.984 +MOUSE 4 11.000 5.984 +BIGPAUSE +MOUSE 2 3.000 4.984 +MOUSE 4 8.969 5.047 +BIGPAUSE +MOUSE 2 2.000 6.016 +MOUSE 4 2.969 5.031 +BIGPAUSE +MOUSE 2 10.000 6.016 +MOUSE 4 9.000 5.000 +MOUSE 2 6.000 5.000 +MOUSE 3 6.000 4.984 +MOUSE 3 6.000 4.984 +MOUSE 3 6.031 4.969 +MOUSE 3 6.047 4.953 +MOUSE 3 6.078 4.938 +MOUSE 3 6.109 4.938 +MOUSE 3 6.125 4.922 +MOUSE 3 6.156 4.906 +MOUSE 3 6.188 4.891 +MOUSE 3 6.203 4.891 +MOUSE 3 6.234 4.875 +MOUSE 3 6.250 4.875 +MOUSE 3 6.250 4.875 +MOUSE 3 6.281 4.875 +MOUSE 3 6.281 4.859 +MOUSE 3 6.297 4.844 +MOUSE 3 6.312 4.844 +MOUSE 3 6.328 4.828 +MOUSE 3 6.344 4.828 +MOUSE 3 6.375 4.812 +MOUSE 3 6.375 4.797 +MOUSE 3 6.438 4.750 +MOUSE 3 6.469 4.734 +MOUSE 3 6.516 4.672 +MOUSE 3 6.547 4.656 +MOUSE 3 6.578 4.641 +MOUSE 3 6.594 4.625 +MOUSE 3 6.609 4.625 +MOUSE 3 6.625 4.609 +MOUSE 3 6.625 4.594 +MOUSE 3 6.625 4.578 +MOUSE 3 6.625 4.562 +MOUSE 3 6.625 4.547 +MOUSE 3 6.625 4.531 +MOUSE 3 6.641 4.516 +MOUSE 3 6.656 4.500 +MOUSE 3 6.672 4.484 +MOUSE 3 6.688 4.469 +MOUSE 3 6.734 4.438 +MOUSE 3 6.734 4.422 +MOUSE 3 6.750 4.422 +MOUSE 3 6.750 4.406 +MOUSE 3 6.766 4.391 +MOUSE 3 6.781 4.375 +MOUSE 3 6.797 4.359 +MOUSE 3 6.828 4.344 +MOUSE 3 6.844 4.328 +MOUSE 3 6.859 4.312 +MOUSE 3 6.859 4.297 +MOUSE 3 6.875 4.297 +MOUSE 3 6.875 4.281 +MOUSE 3 6.891 4.281 +MOUSE 3 6.906 4.281 +MOUSE 3 6.922 4.281 +MOUSE 3 6.938 4.266 +MOUSE 3 6.969 4.266 +MOUSE 3 7.047 4.250 +MOUSE 3 7.078 4.234 +MOUSE 3 7.156 4.203 +MOUSE 3 7.250 4.172 +MOUSE 3 7.297 4.125 +MOUSE 3 7.328 4.109 +MOUSE 3 7.344 4.109 +MOUSE 3 7.359 4.109 +MOUSE 3 7.359 4.094 +MOUSE 3 7.375 4.094 +MOUSE 3 7.375 4.078 +MOUSE 3 7.375 4.078 +MOUSE 3 7.391 4.062 +MOUSE 3 7.422 4.047 +MOUSE 3 7.438 4.031 +MOUSE 3 7.453 4.016 +MOUSE 3 7.469 4.000 +MOUSE 3 7.484 4.000 +MOUSE 3 7.500 4.000 +MOUSE 3 7.500 4.000 +MOUSE 3 7.500 3.984 +MOUSE 3 7.516 3.969 +MOUSE 3 7.531 3.953 +MOUSE 3 7.547 3.938 +MOUSE 3 7.562 3.922 +MOUSE 3 7.578 3.906 +MOUSE 3 7.594 3.891 +MOUSE 3 7.609 3.875 +MOUSE 3 7.625 3.875 +MOUSE 3 7.625 3.859 +MOUSE 3 7.641 3.844 +MOUSE 3 7.703 3.781 +MOUSE 3 7.719 3.766 +MOUSE 3 7.734 3.750 +MOUSE 3 7.750 3.750 +MOUSE 3 7.750 3.734 +MOUSE 3 7.750 3.734 +MOUSE 3 7.750 3.719 +MOUSE 3 7.766 3.703 +MOUSE 3 7.781 3.688 +MOUSE 3 7.797 3.672 +MOUSE 3 7.812 3.656 +MOUSE 3 7.828 3.641 +MOUSE 3 7.844 3.625 +MOUSE 3 7.859 3.625 +MOUSE 3 7.859 3.625 +MOUSE 3 7.859 3.609 +MOUSE 3 7.859 3.594 +MOUSE 3 7.859 3.578 +MOUSE 3 7.859 3.562 +MOUSE 3 7.859 3.547 +MOUSE 3 7.859 3.531 +MOUSE 3 7.859 3.516 +MOUSE 3 7.859 3.500 +MOUSE 3 7.859 3.500 +MOUSE 3 7.875 3.484 +MOUSE 3 7.875 3.469 +MOUSE 3 7.875 3.453 +MOUSE 3 7.875 3.438 +MOUSE 3 7.875 3.422 +MOUSE 3 7.875 3.406 +MOUSE 3 7.891 3.406 +MOUSE 3 7.891 3.391 +MOUSE 3 7.891 3.375 +MOUSE 3 7.906 3.375 +MOUSE 3 7.906 3.375 +MOUSE 3 7.922 3.359 +MOUSE 3 7.922 3.344 +MOUSE 3 7.938 3.328 +MOUSE 3 7.938 3.312 +MOUSE 3 7.953 3.312 +MOUSE 3 7.953 3.297 +MOUSE 3 7.953 3.281 +MOUSE 3 7.969 3.281 +MOUSE 3 7.969 3.266 +MOUSE 3 7.969 3.250 +MOUSE 3 7.969 3.250 +MOUSE 3 7.984 3.234 +MOUSE 3 7.984 3.219 +MOUSE 3 7.984 3.203 +MOUSE 3 8.000 3.203 +MOUSE 3 8.000 3.188 +MOUSE 3 8.000 3.172 +MOUSE 3 8.000 3.156 +MOUSE 3 8.000 3.141 +MOUSE 3 8.016 3.141 +MOUSE 3 8.016 3.125 +MOUSE 3 8.016 3.125 +MOUSE 3 8.016 3.109 +MOUSE 3 8.031 3.109 +MOUSE 3 8.031 3.094 +MOUSE 3 8.031 3.078 +MOUSE 3 8.031 3.062 +MOUSE 3 8.031 3.047 +MOUSE 3 8.031 3.031 +MOUSE 4 8.031 3.031 +MESSAGE +_________________________________________ + +Notice how the Snap Grid keeps the main line and siding track parallel and the connecting tracks and spur at a 45° angle. +END +STEP +RESET +CLEAR +MESSAGE +Second step: add LEDs for the turnout position indicators. +We will use T1 red and green LEDs. + +We will zoom in to show positioning. +END +STEP +ORIG 1 0.000000 4.000000 +HOTBARSELECT LED T1 Green LED +MOUSE 2 2.355 6.050 +MESSAGE +_________________________________________ + +Notice that when we are in the correct position (on the 1/8" grid), the Marker lines on the bottom and left rulers will high-light the tick marks. When both ticks are high-lighted, press the space bar to finalize the LED. +END +STEP +MOUSE 3 2.325 6.050 +STEP +MOUSE 3 2.350 6.050 +STEP +MOUSE 3 2.375 6.050 +STEP +MOUSE 3 2.375 6.025 +STEP +MOUSE 4 2.375 6.000 +STEP +MOUSE 8200 2.375 6.000 +HOTBARSELECT LED T1 Red LED +MOUSE 2 2.250 5.750 +MOUSE 4 2.250 5.750 +BIGPAUSE +MOUSE 8200 2.250 5.750 +ORIG 1 8.000000 4.000000 +HOTBARSELECT LED T1 Green LED +MOUSE 2 9.625 6.000 +MOUSE 4 9.625 6.000 +BIGPAUSE +MOUSE 8200 9.625 6.000 +HOTBARSELECT LED T1 Red LED +MOUSE 2 9.750 5.750 +MOUSE 4 9.750 5.750 +BIGPAUSE +MOUSE 8200 9.750 5.750 +ORIG 1 5.000000 3.000000 +HOTBARSELECT LED T1 Green LED +MOUSE 2 6.375 5.000 +MOUSE 4 6.375 5.000 +BIGPAUSE +MOUSE 8200 6.375 5.000 +HOTBARSELECT LED T1 Red LED +MOUSE 2 6.250 4.750 +MOUSE 4 6.250 4.750 +BIGPAUSE +MOUSE 8200 6.250 4.750 +ORIG 2 0.000000 2.000000 +MESSAGE +_________________________________________ + +Now we'll add push buttons to control the turnouts. +END +STEP +ORIG 1 0.0000000 4.000000 +HOTBARSELECT Switch ¼" Push Button +MOUSE 2 2.750 6.000 +MOUSE 4 2.750 6.000 +BIGPAUSE +MOUSE 8200 2.750 6.000 +MOUSE 2 2.500 5.500 +MOUSE 4 2.500 5.500 +BIGPAUSE +MOUSE 8200 2.500 5.500 +ORIG 1 8.0000000 4.000000 +MOUSE 2 9.250 6.000 +MOUSE 4 9.250 6.000 +BIGPAUSE +MOUSE 8200 9.250 6.000 +MOUSE 2 9.500 5.500 +MOUSE 4 9.500 5.500 +BIGPAUSE +MOUSE 8200 9.500 5.500 +ORIG 1 5.0000000 3.000000 +MOUSE 2 6.750 5.000 +MOUSE 4 6.750 5.000 +BIGPAUSE +MOUSE 8200 6.750 5.000 +MOUSE 2 6.500 4.500 +MOUSE 4 6.500 4.500 +BIGPAUSE +MOUSE 8200 6.500 4.500 +ORIG 2 0.000000 2.0000000 +STEP +CLEAR +MESSAGE +Let's add signals to our siding. + +The entrance to the siding will be protected by double headed signals. +END +STEP +HOTBARSELECT Signals Dbl Signal 2 +MOUSE 3 2.953 7.344 +MOUSE 4 1.625 5.578 +BIGPAUSE +MOUSE 8200 1.625 5.578 +MOUSE 2 9.859 6.641 +MOUSE 4 10.594 6.891 +BIGPAUSE +MOUSE 8200 10.594 6.891 +MESSAGE +_________________________________________ + +First turn off the Snap Grid. + +Rotate the signals and move them to the proper locations. + +We rotate the signals by Shift-Right-Click and select 90° CW on the popup menu. We can not show the popup menu in demo mode, but will simulate the effect. +END +STEP +PARAMETER misc cmdGridEnable +ORIG 1 0.000000 4.000000 +RESET +MOUSE 2 1.641 5.453 +MOUSE 4 1.641 5.453 +MENU 1.641 5.453 "Move Draw Mode " "90° CW" +KEYSTATE 2 +MOUSE 2 1.641 5.453 +KEYSTATE 2 +MOUSE 3 1.311 5.453 +KEYSTATE 2 +MOUSE 4 1.510 5.580 +BIGPAUSE +MOUSE 6920 1.510 5.580 +STEP +ORIG 1 8.000000 4.000000 +RESET +MOUSE 2 10.641 6.781 +MOUSE 4 10.641 6.781 +MENU 10.641 6.781 "Move Draw Mode " "90° CCW" +KEYSTATE 2 +MOUSE 2 10.641 6.781 +KEYSTATE 2 +MOUSE 3 10.341 6.781 +KEYSTATE 2 +MOUSE 4 10.510 6.405 +BIGPAUSE +MOUSE 6920 10.510 6.405 +STEP +MESSAGE +_________________________________________ + +The exits from the siding will be protected by single headed signals. +END +STEP +ORIG 1 0.000000 4.000000 +HOTBARSELECT Signals Sgl Signal 1 +MOUSE 3 3.250 6.375 +MOUSE 4 3.250 6.375 +BIGPAUSE +MOUSE 8200 3.250 6.375 +MOUSE 2 3.250 5.375 +MOUSE 4 3.250 5.375 +BIGPAUSE +MOUSE 8200 3.250 5.375 +RESET +MOUSE 2 3.250 6.375 +MOUSE 4 3.250 6.375 +MENU 3.250 6.375 "Move Draw Mode " "90° CCW" +MOUSE 6920 3.250 6.375 +MOUSE 2 3.250 5.375 +MOUSE 4 3.250 5.375 +MENU 3.250 5.375 "Move Draw Mode " "90° CCW" +MOUSE 6920 3.250 5.375 +HOTBARSELECT Signals Sgl Signal 1 +ORIG 1 8.000000 4.000000 +MOUSE 2 8.750 5.625 +MOUSE 4 8.750 5.625 +BIGPAUSE +MOUSE 8200 8.750 5.625 +MOUSE 2 8.750 4.625 +MOUSE 4 8.750 4.625 +BIGPAUSE +MOUSE 8200 8.750 4.625 +#MOUSE 4 3.250 4.625 +#MOUSE 8200 3.250 4.625 +RESET +MOUSE 2 8.750 5.625 +MOUSE 4 8.750 5.625 +MENU 8.750 5.625 "Move Draw Mode " "90° CW" +MOUSE 6920 8.750 5.625 +MOUSE 2 8.750 4.625 +MOUSE 4 8.750 4.625 +MENU 8.750 4.625 "Move Draw Mode " "90° CW" +MOUSE 6920 8.750 4.625 +RESET +ORIG 2 0.000000 2.000000 +STEP +CLEAR +MESSAGE +Now for some touch-ups. + +Notice when the line meet at an angle there is a gap. +We will fill this gap with the ¼" dot. + +Note: Win95/Win98/WinME does not support drawing lines with flat end-caps, but only with round end-caps. +Users on those platforms will not see the gap. +END +STEP +ORIG 0.500 2.000 4.000 +HOTBARSELECT Symbols ¼" DOT +MOUSE 2 3.000 5.000 +MOUSE 4 3.000 5.000 +BIGPAUSE +MOUSE 8200 3.000 5.000 +ORIG 0.5 8.000 4.000 +HOTBARSELECT Symbols ¼" DOT +MOUSE 2 9.000 5.000 +MOUSE 4 9.000 5.000 +BIGPAUSE +MOUSE 8200 9.000 5.000 +ORIG 2 0.000000 2.000000 +MESSAGE +_________________________________________ + +Add an arrow head to indicate the tracks that connect to the rest of the layout. +END +STEP +HOTBARSELECT Symbols Arrow +MOUSE 2 11.000 5.750 +MOUSE 4 11.000 5.750 +BIGPAUSE +MOUSE 8200 11.000 5.750 +MOUSE 2 0.500 5.750 +MOUSE 4 0.500 5.750 +BIGPAUSE +MOUSE 8200 0.500 5.750 +RESET +MOUSE 6920 0.500 6.000 +MESSAGE +_________________________________________ + +Rotate the arrow head by 180° and move into position. +END +MOUSE 2 0.500 6.000 +MOUSE 4 0.500 6.000 +BIGPAUSE +MENU 0.500 6.000 "Move Draw Mode " "180°" +KEYSTATE 2 +MOUSE 2 0.500 6.000 +KEYSTATE 2 +MOUSE 3 1.500 6.000 +KEYSTATE 2 +MOUSE 4 1.000 6.000 +BIGPAUSE +MOUSE 6920 1.000 6.000 +MESSAGE +_________________________________________ + +And add some labels. +END +STEP +COMMAND Text +PARAMETER text fontsize 0 18 +PARAMETER GROUP text +PARAMETER text fontsize -1 48 +MOUSE 2 4.500 6.969 +MOUSE 4 4.391 6.672 +KEYSTATE 2 +MOUSE 21256 4.391 6.672 +MOUSE 29960 4.391 6.672 +MOUSE 27912 4.391 6.672 +MOUSE 27912 4.391 6.672 +MOUSE 26888 4.391 6.672 +MOUSE 29704 4.391 6.672 +MOUSE 2 4.500 6.656 +MOUSE 4 4.812 6.625 +MOUSE 3336 5.156 6.766 +PARAMETER text fontsize -1 48 +PARAMETER text fontsize 11 24 +PARAMETER text fontsize -1 24 +MOUSE 2 0.500 5.016 +MOUSE 4 0.641 5.016 +KEYSTATE 2 +MOUSE 21256 1.312 5.016 +MOUSE 25864 1.312 5.016 +MOUSE 24840 1.312 5.016 +MOUSE 29704 1.312 5.016 +MOUSE 29704 1.312 5.016 +MOUSE 27656 1.312 5.016 +MOUSE 25864 1.312 5.016 +MOUSE 3336 3.031 3.859 +PARAMETER text fontsize -1 24 +PARAMETER GROUP text +MOUSE 2 10.375 5.047 +MOUSE 4 10.125 5.047 +KEYSTATE 2 +MOUSE 17160 10.125 5.047 +MOUSE 26632 10.125 5.047 +MOUSE 26888 10.125 5.047 +MOUSE 25352 10.125 5.047 +MOUSE 24840 10.125 5.047 +MOUSE 2056 10.125 5.047 +MOUSE 28424 10.125 5.047 +MOUSE 2056 10.125 5.047 +MOUSE 24840 10.125 5.047 +MOUSE 26376 10.125 5.047 +MOUSE 28424 10.125 5.047 +MOUSE 2 10.094 5.125 +MOUSE 4 9.891 5.000 +MOUSE 3336 9.906 5.031 +PARAMETER text fontsize -1 24 +PARAMETER GROUP text +CLEAR +MESSAGE +We want to print our control panel onto a 8½x11 page, but the control panel is a bit too wide. + +Lets tighten it up a bit. + +First turn the Snap Grid on again so any moves we make will keep objects on the grid. +END +STEP +PARAMETER misc cmdGridEnable +MESSAGE +_________________________________________ + +Lets move the spur track the left 3/4" +END +STEP +ORIG 1 5.000 4.000 +RESET +MOUSE 2 5.672 5.375 +MOUSE 4 8.516 2.297 +BIGPAUSE +KEYSTATE 2 +MOUSE 2 6.594 4.000 +KEYSTATE 2 +MOUSE 3 6.594 4.000 +KEYSTATE 2 +MOUSE 4 5.781 4.000 +RESET +BIGPAUSE +MOUSE 6920 5.781 4.000 +RESET +REDRAW +MESSAGE +_________________________________________ + +Now move the right side of the siding over. +END +STEP +MOUSE 2 7.500 6.641 +MOUSE 4 11.625 4.047 +BIGPAUSE +KEYSTATE 2 +MOUSE 2 8.875 4.422 +KEYSTATE 2 +MOUSE 3 8.875 4.422 +KEYSTATE 2 +MOUSE 4 7.531 4.391 +RESET +BIGPAUSE +MOUSE 6920 7.562 4.531 +RESET +REDRAW +MESSAGE +_________________________________________ + +Now, adjust the ends of the mainline and siding tracks. +END +STEP +COMMAND Modify +MOUSE 2 10.984 6.047 +BIGPAUSE +MOUSE 4 9.672 6.000 +MOUSE 2 9.000 4.906 +BIGPAUSE +MOUSE 4 7.766 5.031 +ORIG 2 0.000 2.000 +MESSAGE +_________________________________________ + +And move the title over as well. +END +STEP +MOUSE 6920 7.766 5.031 +MOUSE 2 5.875 6.672 +MOUSE 4 5.875 6.672 +BIGPAUSE +KEYSTATE 2 +MOUSE 2 5.875 6.672 +KEYSTATE 2 +MOUSE 3 4.375 6.672 +KEYSTATE 2 +MOUSE 4 5.000 6.672 +CLEAR +MESSAGE +Now you can print it. + +The cross-hairs on the LEDs and switch show the centers for drilling. + +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmdelund.xtr b/app/lib/demos/dmdelund.xtr new file mode 100644 index 0000000..f3c153c --- /dev/null +++ b/app/lib/demos/dmdelund.xtr @@ -0,0 +1,80 @@ +VERSION 2 +DEMOINIT +ORIG 6.000 0.000 0.000 +STRAIGHT 1 DEMO 1 + E 4.166667 1.750000 270.000000 + T 4 8.916667 1.750001 90.000000 + END +CURVE 2 DEMO 1 21.833333 25.924310 24.125000 + E 40.128499 10.198454 40.681260 + T 3 24.504997 1.947700 263.642025 + END +JOINT 3 DEMO 1 0.000000 5.343264 13.750000 9.375000 0 1 0 19.161701 1.750004 90.000089 + T 5 19.161701 1.750004 270.000000 + T 2 24.504997 1.947700 83.642025 + END +TURNOUT 4 DEMO 1 8.916667 1.750001 0.000000 "Peco-55 Medium Left SL-E396F" + T 1 8.916667 1.750001 270.000000 + T 5 14.321667 1.750001 90.000000 + E 14.286667 2.272001 80.314000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0 0.000000 0.000000 0.353000 0.000000 + S 0 0 0.353000 0.000000 5.405000 0.000000 + C 0 0 -23.136000 0.351000 23.136000 170.297000 9.700000 + S 0 0 4.251000 0.331000 5.370000 0.522000 + END +STRAIGHT 5 DEMO 1 + T 3 19.161701 1.750004 90.000062 + T 4 14.321667 1.750002 270.000062 + END +REDRAW +RESET +MESSAGE +Pressing the button lets you delete selected tracks from the layout. + +First you select the tracks you want to delete, and then press the button. +END +STEP +COMMAND Select +MOUSE 2 6.417 1.833 +MOUSE 4 6.417 1.833 +MOUSE 2 11.833 2.083 +MOUSE 4 11.833 2.083 +PARAMETER misc cmdDelete +MESSAGE +_________________________________________ + +If you delete a track connected to an easement curve, then the easement curve is deleted as well. +END +STEP +COMMAND Select +MOUSE 2 17.750 1.833 +MOUSE 4 17.750 1.833 +PARAMETER misc cmdDelete +MESSAGE +_________________________________________ + +You can use the command to undelete tracks. +END +BIGPAUSE +PARAMETER misc cmdUndo +BIGPAUSE +PARAMETER misc cmdUndo +BIGPAUSE +MESSAGE +_________________________________________ + +If you Left-Drag on the layout you can select all tracks within an area. + +Note, only tracks within the selected area are deleted. Since the easement curve is connected to a deleted track, it is deleted as well. +END +STEP +MOUSE 2 3.167 3.333 +MOUSE 4 22.083 0.667 +PARAMETER misc cmdDelete +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmdialog.xtr b/app/lib/demos/dmdialog.xtr new file mode 100644 index 0000000..308428b --- /dev/null +++ b/app/lib/demos/dmdialog.xtr @@ -0,0 +1,36 @@ +VERSION 7 +DEMOINIT +ORIG 8.000 0.000 0.000 +REDRAW +RESET +MESSAGE +The demo also simulates entering values and selecting options on various dialogs. + +This is simulated by drawing a rectangle around the control when values are entered or changed. +END +STEP +PARAMETER misc cmdDisplay +MESSAGE +_________________________________________ + +Here we are going to make some changes to the Display dialog. Notice how this is simulated. +END +STEP +PARAMETER display tunnels 2 +PARAMETER display description-fontsize 56 +PARAMETER display layoutlabels 4 +PARAMETER display layoutlabels 0 +PARAMETER display mapscale 50 +PARAMETER display carhotbarlabels 4 Manuf/Proto +MESSAGE +_________________________________________ + +This effect is only used in demonstration mode. During normal operation you will not see this. +END +STEP +PARAMETER display cancel +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmdimlin.xtr b/app/lib/demos/dmdimlin.xtr new file mode 100644 index 0000000..9668b95 --- /dev/null +++ b/app/lib/demos/dmdimlin.xtr @@ -0,0 +1,165 @@ +# XTrkCad Version: 3.0.1, Date: Sun Sep 24 00:01:36 2000 + +VERSION 10 +DEMOINIT +ORIG 1.000 12.000 5.000 +PARAMETER display description-fontsize 64 +STRUCTURE 1 0 0 0 0 N 2 6.210395 3.915802 0 236.697715 "Walthers Interstate Fuel - Loading Rack 933-32000a" + D 0.000000 0.000000 + L3 0 0.000000 0.750000 0.000000 0 3.750000 0.000000 0 + L3 0 0.000000 3.750000 0.000000 0 3.750000 3.125000 0 + L3 0 0.000000 3.750000 3.125000 0 0.750000 3.125000 0 + L3 0 0.000000 3.687500 0.062500 0 1.687500 0.062500 0 + L3 0 0.000000 1.687500 0.062500 0 1.687500 0.812500 0 + L3 0 0.000000 1.687500 0.812500 0 3.687500 0.812500 0 + L3 0 0.000000 3.687500 0.812500 0 3.687500 0.062500 0 + L3 0 0.000000 3.687500 3.062500 0 1.687500 3.062500 0 + L3 0 0.000000 1.687500 3.062500 0 1.687500 2.312500 0 + L3 0 0.000000 1.687500 2.312500 0 3.687500 2.312500 0 + L3 0 0.000000 3.687500 2.312500 0 3.687500 3.062500 0 + L3 0 0.000000 3.687500 1.187500 0 1.687500 1.187500 0 + L3 0 0.000000 1.687500 1.187500 0 1.687500 1.937500 0 + L3 0 0.000000 1.687500 1.937500 0 3.687500 1.937500 0 + L3 0 0.000000 3.687500 1.937500 0 3.687500 1.187500 0 + A3 0 0.000000 0.088388 3.000000 2.687500 0 0.000000 360.000000 + A3 0 0.000000 0.088388 3.000000 1.562500 0 0.000000 360.000000 + A3 0 0.000000 0.088388 3.000000 0.437500 0 0.000000 360.000000 + L3 0 0.000000 0.750000 2.875000 0 0.000000 2.875000 0 + L3 0 0.000000 0.000000 2.875000 0 0.000000 0.250000 0 + L3 0 0.000000 0.000000 0.250000 0 0.750000 0.250000 0 + L3 0 0.000000 1.500000 2.187500 0 0.437500 2.187500 0 + L3 0 0.000000 0.437500 2.187500 0 0.437500 0.937500 0 + L3 0 0.000000 0.437500 0.937500 0 1.500000 0.937500 0 + L3 0 0.000000 1.500000 0.937500 0 1.500000 2.187500 0 + L3 0 0.000000 0.750000 3.125000 0 0.750000 2.187500 0 + L3 0 0.000000 0.750000 0.000000 0 0.750000 0.937500 0 + END +STRAIGHT 2 0 0 0 0 N 2 + E 0.105826 -1.346082 236.697715 + T 5 3.511000 0.890894 56.697715 + END +STRUCTURE 3 0 0 0 0 N 2 15.697638 4.710368 0 326.697715 "Walthers Shady Jct Water Tower 933-3205a" + D 0.000000 0.000000 + L3 0 0.000000 0.000000 0.000000 0 1.562500 0.000000 0 + L3 0 0.000000 1.562500 0.000000 0 1.562500 1.562500 0 + L3 0 0.000000 1.562500 1.562500 0 0.000000 1.562500 0 + L3 0 0.000000 0.000000 1.562500 0 0.000000 0.000000 0 + L3 0 0.000000 0.000000 0.375000 0 1.250000 0.375000 0 + L3 0 0.000000 1.250000 0.375000 0 1.250000 1.562500 0 + L3 0 0.000000 0.625000 1.000000 0 0.625000 0.375000 0 + L3 0 0.000000 0.625000 1.000000 0 1.250000 1.000000 0 + L3 0 0.000000 0.625000 1.000000 0 0.000000 1.000000 0 + L3 0 0.000000 0.625000 1.000000 0 0.625000 1.562500 0 + L3 0 0.000000 0.625000 1.000000 0 1.062500 1.437500 0 + L3 0 0.000000 0.625000 1.000000 0 1.062500 0.562500 0 + L3 0 0.000000 0.625000 1.000000 0 0.187500 0.562500 0 + L3 0 0.000000 0.625000 1.000000 0 0.187500 1.437500 0 + L3 0 0.000000 0.625000 1.562500 0 1.062500 1.437500 0 + L3 0 0.000000 1.062500 1.437500 0 1.250000 1.000000 0 + L3 0 0.000000 1.250000 1.000000 0 1.062500 0.562500 0 + L3 0 0.000000 1.062500 0.562500 0 0.625000 0.375000 0 + L3 0 0.000000 0.625000 0.375000 0 0.187500 0.562500 0 + L3 0 0.000000 0.187500 0.562500 0 0.000000 1.000000 0 + L3 0 0.000000 0.000000 1.000000 0 0.187500 1.437500 0 + L3 0 0.000000 0.187500 1.437500 0 0.625000 1.562500 0 + L3 0 0.000000 1.250000 1.500000 0 1.750000 1.500000 0 + L3 0 0.000000 1.750000 1.500000 0 1.750000 1.062500 0 + L3 0 0.000000 1.750000 1.062500 0 1.250000 1.062500 0 + END +STRAIGHT 4 0 0 0 0 N 2 + E 22.026067 13.054077 56.697715 + T 5 8.028421 3.858543 236.697715 + END +TURNOUT 5 0 0 0 0 N 2 3.511000 0.890894 0 326.697715 "Peco-55 Medium Right SL-E395F" + T 2 3.511000 0.890894 236.697715 + T 4 8.028421 3.858543 56.697715 + T 8 8.285775 3.403046 66.383715 + D 0.000000 0.000000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 23.136000 0.351000 -23.136000 0.004000 9.700000 + S 0 0.000000 4.251000 -0.331000 5.370000 -0.522000 + END +STRAIGHT 6 0 0 0 0 N 2 + E 22.690715 11.995108 56.697715 + T 7 13.433501 5.913726 236.697715 + END +CURVE 7 0 0 0 0 N 2 4.259807 19.878127 0 16.708116 0 0.000000 0.000000 + T 6 13.433501 5.913726 56.697715 + T 8 10.953237 4.569334 246.383715 + END +STRAIGHT 8 0 0 0 0 N 2 + T 5 8.285775 3.403046 246.383715 + T 7 10.953237 4.569334 66.383715 + END +STRUCTURE 9 0 0 0 0 N 2 16.897495 6.987885 0 326.697715 "Walthers 2-Stall Engine House 933-3204" + D 0.000000 0.000000 + L3 0 0.000000 0.000000 0.000000 0 7.625000 0.000000 0 + L3 0 0.000000 7.625000 0.000000 0 7.625000 3.250000 0 + L3 0 0.000000 7.625000 3.250000 0 0.000000 3.250000 0 + L3 0 0.000000 0.000000 3.250000 0 0.000000 0.000000 0 + L3 0 0.000000 0.000000 1.625000 0 7.625000 1.625000 0 + L3 0 0.000000 0.000000 2.000000 0 7.625000 2.000000 0 + L3 0 0.000000 0.000000 1.250000 0 7.625000 1.250000 0 + A3 0 0.000000 0.225347 6.625000 0.875000 0 0.000000 360.000000 + A3 0 0.000000 0.139754 6.625000 0.875000 0 0.000000 360.000000 + A3 0 0.000000 0.225347 1.000000 0.875000 0 0.000000 360.000000 + A3 0 0.000000 0.139754 1.000000 0.875000 0 0.000000 360.000000 + A3 0 0.000000 0.225347 1.000000 2.375000 0 0.000000 360.000000 + A3 0 0.000000 0.139754 1.000000 2.375000 0 0.000000 360.000000 + A3 0 0.000000 0.225347 6.625000 2.375000 0 0.000000 360.000000 + A3 0 0.000000 0.139754 6.625000 2.375000 0 0.000000 360.000000 + END +REDRAW +RESET +MESSAGE +Dimension Lines are used to mark the distances between two points. + +Here we will create a Dimension Line to show the separation between two tracks. +END +STEP +COMMAND DrawDimLine +PARAMETER draw arrowsize 0 Tiny +PARAMETER GROUP draw +MOUSE 2 13.953 7.766 +MOUSE 4 14.688 6.734 +#PARAMETER draw arrowsize 0 Tiny +PARAMETER GROUP draw +STEP +ORIG 4.000 3.000 0.000 +MESSAGE +_________________________________________ + +We might also want to measure the distance between two structures. In this case we will use a larger dimension line. +END +STEP +PARAMETER draw arrowsize 2 Medium +MOUSE 2 15.000 9.688 +MOUSE 4 6.375 4.000 +#PARAMETER draw arrowsize 2 Medium +PARAMETER GROUP draw +MESSAGE +_________________________________________ + +We can use the command to change the position of the Dimension Line and the size of the numbers. +END +STEP +COMMAND Describe +MOUSE 2 11.000 7.125 +MOUSE 4 11.000 7.125 +BIGPAUSE +#DESCRIBE Size 3 +PARAMETER describe L1 3 Large +STEP +#DESCRIBE Size 1 +PARAMETER describe L1 1 Small +#DESCRIBE OK +PARAMETER describe ok +RESET +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmease.xtr b/app/lib/demos/dmease.xtr new file mode 100644 index 0000000..0e8e406 --- /dev/null +++ b/app/lib/demos/dmease.xtr @@ -0,0 +1,72 @@ +VERSION 2 +DEMOINIT +ORIG 8.000 0.000 0.000 +STRAIGHT 1 DEMO 1 + E 1.916667 32.771041 0.000000 + E 1.916667 0.416667 180.000000 + END +STRAIGHT 2 DEMO 1 + E 2.583333 0.833333 270.000000 + E 37.083333 0.833333 90.000000 + END +REDRAW +RESET +MESSAGE +This example will show the effect of using easements while joining tracks. + +First, we'll enable easements. +END +PARAMETER misc cmdEasement +STEP +PARAMETER easement val 0.500 +BIGPAUSE +PARAMETER easement ok +MESSAGE +_________________________________________ + +We've selected sharp easements. The minimum radius curve we can use will be 9.75" + +Notice the label on the Easement button has changed to 'Sharp'. +END +STEP +COMMAND Join +MOUSE 2 1.917 12.167 +MOUSE 3 1.917 12.167 +MOUSE 4 1.917 12.167 +MOUSE 2 12.000 0.833 +MESSAGE +_________________________________________ + +Note the connecting curve does not quite meet the straight tracks. This the 'Offset'. +END +STEP +MOUSE 3 14.000 0.833 +MOUSE 3 11.833 0.833 +MESSAGE +_________________________________________ + +Here the connecting curve is too small. +END +STEP +MOUSE 3 11.750 0.833 +BIGPAUSE +MOUSE 4 14.500 0.833 +PARAMETER easement val 0.500 +MESSAGE +_________________________________________ + +The connecting curve is made of three tracks, the curve and two easement segments on each end. +END +STEP +COMMAND Describe +MOUSE 2 5.750 4.083 +MOUSE 4 5.750 4.083 +MOUSE 2 14.333 0.500 +MOUSE 4 14.333 0.500 +MOUSE 2 1.917 13.333 +MOUSE 4 1.917 13.333 +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmelev.xtr b/app/lib/demos/dmelev.xtr new file mode 100644 index 0000000..b0c524b --- /dev/null +++ b/app/lib/demos/dmelev.xtr @@ -0,0 +1,357 @@ +VERSION 7 +DEMOINIT +ORIG 12.000 0.000 0.000 +PARAMETER display description-fontsize 72 +PARAMETER display labelenable 4 +CURVE 1 0 0 0 0 N -1 12.666667 13.666667 10.000000 + T 3 11.809617 3.703461 94.916566 + T 5 22.410419 15.915955 167.001307 + END +STRAIGHT 2 0 0 0 0 N -1 + T 3 27.376540 8.227390 232.674480 + T 6 29.448408 9.807189 52.674480 + END +CURVE 3 0 0 0 0 N -1 13.737465 26.114701 22.494005 + T 2 27.376540 8.227390 52.674480 + T 1 11.809617 3.703461 274.916566 + END +STRAIGHT 4 0 0 0 0 N -1 + T 5 37.111111 4.222222 270.000000 + T 9 38.222222 4.222222 90.000000 + END +CURVE 5 0 0 0 0 N -1 37.111111 19.309524 15.087302 + T 4 37.111111 4.222222 90.000000 + T 1 22.410419 15.915955 347.001307 + END +TURNOUT 6 0 0 0 0 N -1 29.448408 9.807189 322.674480 "Peco-55 Medium Right SL-E395F" + T 2 29.448408 9.807189 232.674480 + T 7 33.746482 13.084471 52.674480 + T 8 34.035161 12.648152 62.360480 + D 0.000000 0.000000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 23.136000 0.351000 -23.136000 0.004000 9.700000 + S 0 0.000000 4.251000 -0.331000 5.370000 -0.522000 + END +STRAIGHT 7 0 0 0 0 N -1 + T 19 42.270123 19.583746 52.674480 + T 6 33.746482 13.084471 232.674480 + END +CURVE 8 0 0 0 0 N -1 45.574853 -9.388207 24.875000 + T 6 34.035161 12.648152 242.360480 + T 18 51.462480 14.779984 103.691177 + END +TURNOUT 9 0 0 0 0 N -1 38.222222 4.222222 0.000000 "Peco-55 Medium Left SL-E396F" + T 4 38.222222 4.222222 270.000000 + T 15 43.627222 4.222222 90.000000 + T 13 43.592222 4.744222 80.314000 + D 0.000000 0.000000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 -23.136000 0.351000 23.136000 170.297000 9.700000 + S 0 0.000000 4.251000 0.331000 5.370000 0.522000 + END +STRAIGHT 10 0 0 0 0 N -1 + E 76.446137 4.222222 90.000000 + T 14 72.333333 4.222222 270.000000 + END +STRAIGHT 11 0 0 0 0 N -1 + T 12 49.777778 5.472222 270.000000 + T 16 60.777778 5.472222 90.000000 + END +CURVE 12 0 0 0 0 N -1 49.777778 -17.192082 22.664304 + T 13 45.964542 5.149134 260.314000 + T 11 49.777778 5.472222 90.000000 + END +STRAIGHT 13 0 0 0 0 N -1 + T 9 43.592222 4.744222 260.314000 + T 12 45.964542 5.149134 80.314000 + END +TURNOUT 14 0 0 0 0 N -1 72.333333 4.222222 180.000000 "Peco-55 Medium Right SL-E395F" + T 10 72.333333 4.222222 90.000000 + T 15 66.928333 4.222222 270.000000 + T 17 66.963333 4.744222 279.686000 + D 0.000000 0.000000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 23.136000 0.351000 -23.136000 0.004000 9.700000 + S 0 0.000000 4.251000 -0.331000 5.370000 -0.522000 + END +STRAIGHT 15 0 0 0 0 N -1 + T 9 43.627222 4.222222 270.000000 + T 14 66.928333 4.222222 90.000000 + END +CURVE 16 0 0 0 0 N -1 60.777778 -17.192082 22.664304 + T 11 60.777778 5.472222 270.000000 + T 17 64.591013 5.149134 99.686000 + END +STRAIGHT 17 0 0 0 0 N -1 + T 14 66.963333 4.744222 99.686000 + T 16 64.591013 5.149134 279.686000 + END +CURVE 18 0 0 0 0 N -1 64.332420 67.609950 54.375000 + E 74.352464 14.166154 79.381036 + T 8 51.462480 14.779984 283.691177 + END +CURVE 19 0 0 0 0 N -1 49.773613 9.743103 12.375000 + T 7 42.270123 19.583746 232.674480 + T 20 56.175027 20.333784 121.150374 + END +CURVE 20 0 0 0 0 N -1 64.968888 34.882599 17.000000 + E 74.032528 20.500303 57.781104 + T 19 56.175027 20.333784 301.150374 + END +REDRAW +RESET +MESSAGE +We have designed part of the layout with a siding, 2 branches and a spiral loop. We want to set Elevations. +END +STEP +MESSAGE +_________________________________________ + +First we will set elevations at the end of the branches. +END +STEP +ORIG 4 65 11 +COMMAND Elevation +PARAMETER elev mode 0 +PARAMETER elev value 0.000 +MESSAGE +_________________________________________ + +We'll select the end of the top branch and set the Elevation to 4" + +First, click on the End-Point. +END +STEP +MOUSE 2 73.895 20.474 +MOUSE 4 73.895 20.474 +MESSAGE + +Next, pick Defined on the Elevation dialog Radio box. +END +STEP +PARAMETER elev mode 1 +MESSAGE + +And set the Elevation to 4. +END +STEP +PARAMETER elev value 4.000000 +#REDRAW +BIGPAUSE +MESSAGE +_________________________________________ + +Now, select the other branch and set it's elevation to 2" +END +STEP +MOUSE 2 74.263 14.263 +MOUSE 4 74.263 14.263 +BIGPAUSE +PARAMETER elev mode 1 +BIGPAUSE +PARAMETER elev value 2.000000 +BIGPAUSE +#REDRAW +MESSAGE +_________________________________________ + +We can move the Elevations by using Right-Drag +END +STEP +MOUSE 5 74.307 14.173 +#MOUSE 6 74.227 13.453 +MOUSE 7 74.227 12.453 +#PARAMETER elev ok +MESSAGE +_________________________________________ + +Now, we set the Elevation at one end of the Siding. +END +STEP +ORIG 3.000 34.000 3.000 +#COMMAND Elevation +#PARAMETER elev mode 1 +#PARAMETER elev value 3.000 +MOUSE 2 38.160 4.320 +MOUSE 4 38.160 4.320 +BIGPAUSE +PARAMETER elev mode 1 +BIGPAUSE +PARAMETER elev value 0.500000 +BIGPAUSE +REDRAW +BIGPAUSE +MOUSE 5 38.320 4.280 +MOUSE 6 38.240 3.480 +MOUSE 7 38.240 3.480 +#PARAMETER elev ok +BIGPAUSE +MESSAGE +========================================= +END +STEP +ORIG 3 21.0 5.0 +CLEAR +MESSAGE +We want to find the elevations where the 2 tracks cross. +END +STEP +#COMMAND Elevation +#PARAMETER elev mode 0 +#PARAMETER elev value 0.000 +MOUSE 2 27.320 8.320 +MOUSE 4 27.320 8.320 +MESSAGE +_________________________________________ + +We picked an End-Point on the upper track. + +XTrackCAD has computed the Elevation (2.34") at this point based on the Elevation at the siding and a combination of the of the first Elevations. + +We create a Computed Elevation here that will be automatically adjusted whenever the other Elevations are changed. +END +STEP +PARAMETER elev mode 3 +BIGPAUSE +MOUSE 5 27.400 8.240 +MOUSE 6 28.480 7.840 +MOUSE 7 28.480 7.840 +BIGPAUSE +MESSAGE +_________________________________________ + +The Compute Elevation is based on Elevations at end of both of the branches. We may want to base the Elevation on only one branch. For example if one branch was the mainline we don't want the other branch affecting this Computed Elevation. + +We do this by Ignoring the branch we don't want. + +We'll ignore the lower branch. +END +STEP +#ORIG 3 26 8 +MOUSE 2 34.200 12.600 +MOUSE 4 34.200 12.600 +PARAMETER elev mode 6 +REDRAW +MESSAGE +_________________________________________ + +Notice at the End-Point where the tracks cross, we see the Elevation has changed from 2.34 to 2.64. +END +STEP +MESSAGE +_________________________________________ + +Now we want to know the elevation of the lower track. +END +STEP +#ORIG 3 23 6.0 +#COMMAND Elevation +#PARAMETER elev mode 3 +#PARAMETER elev value 2.641 +MESSAGE +_________________________________________ + +There is no End-Point on the lower track here. + +Use Shift-Left-Click to Split the track and create an End-Point we can use for an Elevation, +END +STEP +KEYSTATE 2 +MOUSE 2 26.480 8.520 +KEYSTATE 2 +MOUSE 4 26.480 8.520 +STEP +MESSAGE +and create another Computed Elevation point. +END +STEP +PARAMETER elev mode 3 +BIGPAUSE +#REDRAW +MOUSE 5 26.480 8.640 +MOUSE 6 25.320 8.400 +MOUSE 7 25.320 8.400 +BIGPAUSE +#PARAMETER elev ok +MESSAGE +_________________________________________ + +Now we want to label the Grade on this section of track. +END +STEP +#COMMAND Elevation +#PARAMETER elev mode 3 +#PARAMETER elev value 0.835 +MESSAGE +_________________________________________ + +Again, since there is no End-Point nearby, we split the track to create an End-Point we can use, +END +STEP +KEYSTATE 2 +MOUSE 2 24.280 6.240 +KEYSTATE 2 +MOUSE 4 24.280 6.240 +MESSAGE +and create a Grade marker. +END +STEP +PARAMETER elev mode 4 +BIGPAUSE +MOUSE 5 24.240 6.360 +MOUSE 6 25.680 5.1 +MOUSE 7 25.680 5.1 +BIGPAUSE +#PARAMETER elev ok +MESSAGE +_________________________________________ + +Note the marker has an arrow pointing in the upwards direction. +========================================= +END +STEP +CLEAR +ORIG 3 45 2 +MESSAGE +_________________________________________ + +The last thing we want to do is to create a Station label that we'll use in the command. +END +STEP +#COMMAND Elevation +#PARAMETER elev value 0.000 +KEYSTATE 2 +MOUSE 2 55.080 5.320 +KEYSTATE 2 +MOUSE 4 55.080 5.320 +MOUSE 2 55.080 5.320 +MOUSE 4 55.080 5.320 +MESSAGE +_________________________________________ + +Now, set the Elevation to Station and enter the its name. +END +STEP +PARAMETER elev mode 5 +BIGPAUSE +PARAMETER elev station New York City +BIGPAUSE +MOUSE 5 55.120 5.480 +#MOUSE 6 54.960 6.120 +MOUSE 7 54.960 6.520 +BIGPAUSE +PARAMETER elev ok +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmexcept.xtr b/app/lib/demos/dmexcept.xtr new file mode 100644 index 0000000..a507771 --- /dev/null +++ b/app/lib/demos/dmexcept.xtr @@ -0,0 +1,89 @@ +# XTrkCad Version: 3.0.1, Date: Sat Sep 23 21:54:29 2000 + +VERSION 10 +DEMOINIT +ORIG 4.000 0.000 0.000 +PARAMETER display description-fontsize 64 +PARAMETER layout mintrackradius 9.000000 +PARAMETER layout maxtrackgrade 5.000000 +CURVE 1 0 128 0 0 N 2 9.328210 12.681510 0 9.000000 0 -0.662481 0.508964 + T 3 10.311823 3.735421 83.725592 + E 0.736918 15.362872 17.333261 + END +STRAIGHT 2 0 0 0 0 N 2 + T 3 18.591303 5.367316 253.974133 + E 23.914162 6.896222 73.974133 + END +CURVE 3 0 0 0 0 N 2 4.886341 53.080886 0 49.642831 0 0.000000 0.000000 + T 2 18.591303 5.367316 73.974133 + T 1 10.311823 3.735421 263.725592 + END +STRAIGHT 4 0 0 0 0 N 2 + E 4.698097 0.130693 253.974133 9 -0.010597 0.869307 1.000000 + T 5 14.456557 2.933654 73.974133 11 0.855943 -1.308654 + END +STRAIGHT 5 0 0 0 0 N 2 + E 23.748581 5.602640 73.974133 9 -1.123581 -1.415140 1.750000 + T 4 14.456557 2.933654 253.974133 11 0.855943 -1.308654 + END +REDRAW +RESET +MESSAGE +XTrackCAD can help find tracks that are curved too sharply or are too steep. These tracks are Exception tracks and are drawn in the Exception track color. + +In this example we have a curved track with radius of 9" and a straight track with a grade of 3.8%. + +END +STEP +PARAMETER misc cmdLayout +MESSAGE +_________________________________________ + +The Layout dialog shows the Minimum Track Radius is 9" and the Maximum Track Grade is 5%. +END +STEP +PARAMETER layout mintrackradius 9.000000 +PARAMETER layout maxtrackgrade 5.000000 +PARAMETER layout ok +MESSAGE +_________________________________________ + +If we make the curved track sharper it will be drawn in the Exception color. +END +STEP +COMMAND Describe +MOUSE 2 4.500 5.188 +MOUSE 4 4.500 5.188 +BIGPAUSE +#DESCRIBE Radius 8.000 +PARAMETER describe F9 8.000 +STEP +MESSAGE +_________________________________________ + +If we make the straight track steeper it will also be drawn in the Exception color. +END +STEP +MOUSE 2 23.125 5.375 +MOUSE 4 23.125 5.375 +BIGPAUSE +#DESCRIBE Z 2.250 +PARAMETER describe F3 2.250 +REDRAW +STEP +#DESCRIBE OK +PARAMETER describe ok +RESET +PARAMETER misc cmdColor +MESSAGE +_________________________________________ + +You can change the Exception color on the Colors dialog from the Options menu. +END +STEP +PARAMETER rgbcolor ok +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmextend.xtr b/app/lib/demos/dmextend.xtr new file mode 100644 index 0000000..1996c42 --- /dev/null +++ b/app/lib/demos/dmextend.xtr @@ -0,0 +1,69 @@ +VERSION 2 +DEMOINIT +ORIG 8.000 0.000 0.000 +TURNOUT 1 DEMO 1 6.916667 2.666667 0.000000 "Peco-55 Med Left SL-E396F" + E 6.916667 2.666667 270.000000 + E 12.321667 2.666667 90.000000 + E 12.286667 3.188667 80.314000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0 0.000000 0.000000 0.353000 0.000000 + S 0 0 0.353000 0.000000 5.405000 0.000000 + C 0 0 -23.136000 0.351000 23.136000 170.297000 9.700000 + S 0 0 4.251000 0.331000 5.370000 0.522000 + END +STRAIGHT 2 DEMO 1 + E 2 1 270 + E 12 1 90 + END +REDRAW +RESET +MESSAGE +The unconnected End-Point of any track can be extended with the command using Right-Drag. +END +STEP +COMMAND Modify +MESSAGE +_________________________________________ + +Select the End-Point and Right-Drag. +END +BIGPAUSE +MOUSE 5 12.250 2.750 +MOUSE 6 15.500 2.583 +MESSAGE +_________________________________________ + +The extending track can be straight... +END +BIGPAUSE +PAUSE 60 +MOUSE 6 15.500 2.583 +MOUSE 6 26.000 2.583 +PAUSE 50 +MESSAGE + +... or curved. +END +BIGPAUSE +MOUSE 6 26.083 2.583 +MOUSE 7 26.333 12.417 +MESSAGE +_________________________________________ + +If you extend a Straight or Curved flex track and enable Easements then an Easement curve will be automatically generated when you extend the track. +END +STEP +PARAMETER misc cmdEasement +BIGPAUSE +PARAMETER easement val 0.500 +BIGPAUSE +PARAMETER easement ok +MOUSE 5 12 1 +MOUSE 6 18 1 +MOUSE 7 28 11 +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmflip.xtr b/app/lib/demos/dmflip.xtr new file mode 100644 index 0000000..b6ad7ab --- /dev/null +++ b/app/lib/demos/dmflip.xtr @@ -0,0 +1,190 @@ +# XTrkCad Version: 3.0.1, Date: Sat Sep 23 22:47:33 2000 + +VERSION 10 +DEMOINIT +ORIG 4.000 0.000 0.000 +PARAMETER display description-fontsize 64 +STRUCTURE 1 0 0 0 0 DEMO 2 6.210395 3.915802 0 236.697715 "Walthers Interstate Fuel - Loading Rack 933-32000a" + D 0.000000 0.000000 + L3 0 0.000000 0.750000 0.000000 0 3.750000 0.000000 0 + L3 0 0.000000 3.750000 0.000000 0 3.750000 3.125000 0 + L3 0 0.000000 3.750000 3.125000 0 0.750000 3.125000 0 + L3 0 0.000000 3.687500 0.062500 0 1.687500 0.062500 0 + L3 0 0.000000 1.687500 0.062500 0 1.687500 0.812500 0 + L3 0 0.000000 1.687500 0.812500 0 3.687500 0.812500 0 + L3 0 0.000000 3.687500 0.812500 0 3.687500 0.062500 0 + L3 0 0.000000 3.687500 3.062500 0 1.687500 3.062500 0 + L3 0 0.000000 1.687500 3.062500 0 1.687500 2.312500 0 + L3 0 0.000000 1.687500 2.312500 0 3.687500 2.312500 0 + L3 0 0.000000 3.687500 2.312500 0 3.687500 3.062500 0 + L3 0 0.000000 3.687500 1.187500 0 1.687500 1.187500 0 + L3 0 0.000000 1.687500 1.187500 0 1.687500 1.937500 0 + L3 0 0.000000 1.687500 1.937500 0 3.687500 1.937500 0 + L3 0 0.000000 3.687500 1.937500 0 3.687500 1.187500 0 + A3 0 0.000000 0.088388 3.000000 2.687500 0 0.000000 360.000000 + A3 0 0.000000 0.088388 3.000000 1.562500 0 0.000000 360.000000 + A3 0 0.000000 0.088388 3.000000 0.437500 0 0.000000 360.000000 + L3 0 0.000000 0.750000 2.875000 0 0.000000 2.875000 0 + L3 0 0.000000 0.000000 2.875000 0 0.000000 0.250000 0 + L3 0 0.000000 0.000000 0.250000 0 0.750000 0.250000 0 + L3 0 0.000000 1.500000 2.187500 0 0.437500 2.187500 0 + L3 0 0.000000 0.437500 2.187500 0 0.437500 0.937500 0 + L3 0 0.000000 0.437500 0.937500 0 1.500000 0.937500 0 + L3 0 0.000000 1.500000 0.937500 0 1.500000 2.187500 0 + L3 0 0.000000 0.750000 3.125000 0 0.750000 2.187500 0 + L3 0 0.000000 0.750000 0.000000 0 0.750000 0.937500 0 + END +STRAIGHT 2 0 0 0 0 DEMO 2 + E 0.105826 -1.346082 236.697715 + T 5 3.511000 0.890894 56.697715 + END +STRUCTURE 3 0 0 0 0 DEMO 2 15.697638 4.710368 0 326.697715 "Walthers Shady Jct Water Tower 933-3205a" + D 0.000000 0.000000 + L3 0 0.000000 0.000000 0.000000 0 1.562500 0.000000 0 + L3 0 0.000000 1.562500 0.000000 0 1.562500 1.562500 0 + L3 0 0.000000 1.562500 1.562500 0 0.000000 1.562500 0 + L3 0 0.000000 0.000000 1.562500 0 0.000000 0.000000 0 + L3 0 0.000000 0.000000 0.375000 0 1.250000 0.375000 0 + L3 0 0.000000 1.250000 0.375000 0 1.250000 1.562500 0 + L3 0 0.000000 0.625000 1.000000 0 0.625000 0.375000 0 + L3 0 0.000000 0.625000 1.000000 0 1.250000 1.000000 0 + L3 0 0.000000 0.625000 1.000000 0 0.000000 1.000000 0 + L3 0 0.000000 0.625000 1.000000 0 0.625000 1.562500 0 + L3 0 0.000000 0.625000 1.000000 0 1.062500 1.437500 0 + L3 0 0.000000 0.625000 1.000000 0 1.062500 0.562500 0 + L3 0 0.000000 0.625000 1.000000 0 0.187500 0.562500 0 + L3 0 0.000000 0.625000 1.000000 0 0.187500 1.437500 0 + L3 0 0.000000 0.625000 1.562500 0 1.062500 1.437500 0 + L3 0 0.000000 1.062500 1.437500 0 1.250000 1.000000 0 + L3 0 0.000000 1.250000 1.000000 0 1.062500 0.562500 0 + L3 0 0.000000 1.062500 0.562500 0 0.625000 0.375000 0 + L3 0 0.000000 0.625000 0.375000 0 0.187500 0.562500 0 + L3 0 0.000000 0.187500 0.562500 0 0.000000 1.000000 0 + L3 0 0.000000 0.000000 1.000000 0 0.187500 1.437500 0 + L3 0 0.000000 0.187500 1.437500 0 0.625000 1.562500 0 + L3 0 0.000000 1.250000 1.500000 0 1.750000 1.500000 0 + L3 0 0.000000 1.750000 1.500000 0 1.750000 1.062500 0 + L3 0 0.000000 1.750000 1.062500 0 1.250000 1.062500 0 + END +STRAIGHT 4 0 0 0 0 DEMO 2 + E 22.026067 13.054077 56.697715 + T 5 8.028421 3.858543 236.697715 + END +TURNOUT 5 0 0 0 0 DEMO 2 3.511000 0.890894 0 326.697715 "Peco-55 Medium Right SL-E395F" + T 2 3.511000 0.890894 236.697715 + T 4 8.028421 3.858543 56.697715 + T 8 8.285775 3.403046 66.383715 + D 0.000000 0.000000 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 23.136000 0.351000 -23.136000 0.004000 9.700000 + S 0 0.000000 4.251000 -0.331000 5.370000 -0.522000 + END +STRAIGHT 6 0 0 0 0 DEMO 2 + E 22.690715 11.995108 56.697715 + T 7 13.433501 5.913726 236.697715 + END +CURVE 7 0 0 0 0 DEMO 2 4.259807 19.878127 0 16.708116 0 0.000000 0.000000 + T 6 13.433501 5.913726 56.697715 + T 8 10.953237 4.569334 246.383715 + END +STRAIGHT 8 0 0 0 0 DEMO 2 + T 5 8.285775 3.403046 246.383715 + T 7 10.953237 4.569334 66.383715 + END +STRUCTURE 9 0 0 0 0 DEMO 2 16.897495 6.987885 0 326.697715 "Walthers 2-Stall Engine House 933-3204" + D 0.000000 0.000000 + L3 0 0.000000 0.000000 0.000000 0 7.625000 0.000000 0 + L3 0 0.000000 7.625000 0.000000 0 7.625000 3.250000 0 + L3 0 0.000000 7.625000 3.250000 0 0.000000 3.250000 0 + L3 0 0.000000 0.000000 3.250000 0 0.000000 0.000000 0 + L3 0 0.000000 0.000000 1.625000 0 7.625000 1.625000 0 + L3 0 0.000000 0.000000 2.000000 0 7.625000 2.000000 0 + L3 0 0.000000 0.000000 1.250000 0 7.625000 1.250000 0 + A3 0 0.000000 0.225347 6.625000 0.875000 0 0.000000 360.000000 + A3 0 0.000000 0.139754 6.625000 0.875000 0 0.000000 360.000000 + A3 0 0.000000 0.225347 1.000000 0.875000 0 0.000000 360.000000 + A3 0 0.000000 0.139754 1.000000 0.875000 0 0.000000 360.000000 + A3 0 0.000000 0.225347 1.000000 2.375000 0 0.000000 360.000000 + A3 0 0.000000 0.139754 1.000000 2.375000 0 0.000000 360.000000 + A3 0 0.000000 0.225347 6.625000 2.375000 0 0.000000 360.000000 + A3 0 0.000000 0.139754 6.625000 2.375000 0 0.000000 360.000000 + END +DRAW 10 0 0 0 0 0.000000 0.000000 0 0.000000 + F3 3866368 0.000000 3 + 8.000000 11.000000 0 + 8.000000 5.687500 0 + 10.156250 5.687500 0 + END +REDRAW +RESET +MESSAGE +The command will create a mirror image of the selected objects. +END +STEP +MOUSE 2 7.625 7.938 +MOUSE 4 7.625 7.938 +COMMAND Flip +MESSAGE +_________________________________________ + +After selecting the object, drag a line which will form the mirror. +END +STEP +MOUSE 2 6.938 7.875 +BIGPAUSE +MOUSE 4 10.438 7.875 +MESSAGE +_________________________________________ + +The mirror line does not have to be vertical or horizontal. +END +STEP +MOUSE 2 6.938 6.000 +BIGPAUSE +MOUSE 4 10.562 10.625 +MESSAGE +_________________________________________ + +You can also flip any number of objects. + +Watch what happens to the structure and turnout titles. +END +STEP +PARAMETER misc cmdSelectAll +BIGPAUSE +MOUSE 2 12.000 11.938 +BIGPAUSE +MOUSE 4 12.000 -0.125 +REDRAW +MESSAGE +_________________________________________ + +Note that the turnout title has been changed from the Medium Right to Medium Left. When turnouts are flipped, XTrackCAD will try to find a matching turnout and if found will change the name. +END +STEP +COMMAND Describe +MESSAGE +_________________________________________ + +Structures do not have Right and Left hand versions. Their title is changed to indicate that they were flipped. + +You can use the command to change their title. +END +STEP +MOUSE 2 20.125 4.812 +MOUSE 4 20.125 4.812 +STEP +#DESCRIBE Name Interstate Fuel - Loading Rack +PARAMETER describe S2 Interstate Fuel - Loading Rack +BIGPAUSE +#DESCRIBE OK +PARAMETER describe ok +REDRAW +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmgroup.xtr b/app/lib/demos/dmgroup.xtr new file mode 100644 index 0000000..efc883d --- /dev/null +++ b/app/lib/demos/dmgroup.xtr @@ -0,0 +1,467 @@ +# XTrkCad Version: 3.0.1, Date: Wed Sep 20 22:05:35 2000 + +VERSION 10 +DEMOINIT +PARAMETER display labelenable 1 +ORIG 2.000 0.000 0.000 +TURNOUT 6 0 0 0 0 DEMO 2 2.125000 2.281250 0 0.000000 "Peco-55 Medium Right SL-E395F" + E 2.125000 2.281250 270.000000 + E 7.530000 2.281250 90.000000 + E 7.495000 1.759250 99.686000 + D -0.108750 -0.832750 + P "Normal" 1 2 + P "Reverse" 1 3 4 + S 0 0.000000 0.000000 0.000000 0.353000 0.000000 + S 0 0.000000 0.353000 0.000000 5.405000 0.000000 + C 0 0.000000 23.136000 0.351000 -23.136000 0.004000 9.700000 + S 0 0.000000 4.251000 -0.331000 5.370000 -0.522000 + END +REDRAW +RESET +MESSAGE +The and commands (on the Tools menu) are a powerful way to manipulate Turnout and Structure definitions. + +We'll start with a simple turnout and add a switch machine. +END +STEP +COMMAND DrawLine +PARAMETER draw linewidth 0 +PARAMETER draw linecolor 0 +PARAMETER GROUP draw +PARAMETER draw linewidth 4 +MOUSE 2 2.500 3.000 +MOUSE 4 2.500 1.500 +MOUSE 2 3.200 3.000 +MOUSE 4 3.200 1.500 +RESET +COMMAND DrawFilledBox +PARAMETER draw linecolor 0 +PARAMETER GROUP draw +MOUSE 2 2.600 3.000 +MOUSE 4 3.100 2.500 +MOUSE 2 2.600 2.000 +MOUSE 4 3.100 1.500 +RESET +MESSAGE +_________________________________________ + +Now that we have drawn a rough outline of a switch machine we will group it with the turnout definition. + +First we Select the objects in the new definition. +END +STEP +COMMAND Select +MOUSE 2 0.781 3.375 +MOUSE 4 8.312 1.312 +MESSAGE +_________________________________________ + +Now do the command. +END +STEP +PARAMETER misc cmdGroup +MESSAGE +_________________________________________ + +The command dialog shows the Title (Manufacturer, Description and Part Number) of the new definition. This information is taken from the Selected objects you are grouping. +END +STEP +MESSAGE +_________________________________________ + +The 'Replace with new group?' toggle will replace the Selected objects with the new definition. +END +STEP +PARAMETER group replace 1 +MESSAGE +_________________________________________ + +If we don't change the Title then the new definition will replace the existing definition. + +We'll give this definition a new Description. +END +STEP +PARAMETER group desc M Medium Right +PARAMETER group desc Modi Medium Right +PARAMETER group desc Modified Medium Right +MESSAGE +_________________________________________ + +We're done with this definition. Press Ok. +END +STEP +PARAMETER group ok +MESSAGE +_________________________________________ + +You will see the updated image on the HotBar. +END +STEP +CLEAR +MESSAGE +The command replaces any Selected turnouts or structures with their parts. + +Structures and non-track segements of turnouts are composed of Lines, Circles and other shapes. In this turnout these are the two lines and the two squares. + +We will Ungroup this turnout and see how the individual parts can be changed. + +First Select the turnout and then Ungroup it. + +END +STEP +MOUSE 2 7.156 2.094 +MOUSE 4 7.156 2.094 +PARAMETER misc cmdUngroup +MESSAGE +_________________________________________ + +Notice that the Title now indicates the turnout is Ungrouped. + +Hit Escape to deselect everything. +END +STEP +MOUSE 6920 4.094 5.188 +RESET +MESSAGE +_________________________________________ + +Now Select the lines and squares. +END +STEP +MOUSE 2 2.469 2.812 +MOUSE 4 2.469 2.812 +MOUSE 2 2.688 2.875 +MOUSE 4 2.688 2.875 +MOUSE 2 3.188 2.844 +MOUSE 4 3.188 2.844 +MOUSE 2 2.812 1.656 +MOUSE 4 2.812 1.656 +MESSAGE +_________________________________________ + +We could modify these object or add new ones. For now we'll just delete them. +END +STEP +PARAMETER misc cmdDelete +MESSAGE +_________________________________________ + +And move the Label out of the way. +END +STEP +COMMAND MoveLabel +MOUSE 2 4.281 2.031 +MOUSE 4 4.594 0.844 +ORIG 3.000 0.000 0.000 +ORIG 1.000 2.000 1.000 +MESSAGE +_________________________________________ + +Notice that the turnout has been broken into three parts. +END +STEP +COMMAND Describe +MOUSE 2 4.531 2.219 +MOUSE 4 4.531 2.219 +BIGPAUSE +MOUSE 2 6.984 1.812 +MOUSE 4 6.984 1.812 +BIGPAUSE +MOUSE 2 2.359 2.266 +MOUSE 4 2.359 2.266 +BIGPAUSE +#DESCRIBE OK +PARAMETER describe ok +RESET +MESSAGE +_________________________________________ + +Two ends of the turnout, from the frog to the end of the diverging leg and from the points to the left, are now straight track sections. + +The a turnout is made of a number of individual straight and curved track segements. This turnout had four segments: + 1 a short straight segment to the left of the points + 2 a long straight segment to the right of the points + 3 a curved segment from the points to the frog + 4 a straight segment from the frog to the end of the diverging leg. +The first and last segments have be converted to straight tracks. +The second and third segments form the the body of the turnout and can not be ungrouped further. + +You can later Group this turnout with the straight segments to recreate the turnout definition. You can also add other track segments to turnout definitions. + +END +STEP +KEYSTATE 2 +MOUSE 2 4.625 1.969 +KEYSTATE 2 +MOUSE 4 4.625 1.969 +PARAMETER misc cmdDelete +ORIG 3.000 0.000 0.000 +CLEAR +MESSAGE +Now, create a track and place the new turnout on it. +END +STEP +COMMAND Straight +MOUSE 2 0.281 0.688 +MOUSE 4 11.156 4.281 +BIGPAUSE +COMMAND TurnoutHotBar +#PARAMETER turnout list 0 +PARAMETER GROUP turnout +HOTBARSELECT Peco-55 Modified Medium Right SL-E395F +MOUSE 4 4.750 1.906 +MOUSE 8200 4.750 1.906 +MESSAGE +_________________________________________ + +Now suppose we want to replace the black squares with green circles. + +First we Select the turnout. +END +STEP +COMMAND Select +MOUSE 2 6.062 2.906 +MOUSE 4 6.062 2.906 +MESSAGE +And now Ungroup it (from the Tools Menu) +END +STEP +PARAMETER misc cmdUngroup +MESSAGE +_________________________________________ + +Notice that the name has changed to indicate the turnout was Ungrouped. +END +STEP +MESSAGE +_________________________________________ + +Now, hit escape to deselect everything and then Select the 2 squares and delete them. +END +STEP +MOUSE 6920 6.062 2.906 +RESET +BIGPAUSE +MOUSE 2 5.219 2.938 +MOUSE 4 5.219 2.938 +MOUSE 2 5.531 1.844 +MOUSE 4 5.531 1.844 +PARAMETER misc cmdDelete +MESSAGE +_________________________________________ + +Now draw the green circles... +END +STEP +ORIG 1.000 2.000 1.000 +COMMAND DrawFilledCircleCenter +PARAMETER draw linecolor 0 +PARAMETER GROUP draw +PARAMETER draw linecolor 65280 +MOUSE 2 5.203 2.812 +MOUSE 4 5.359 2.609 +PARAMETER GROUP draw +MOUSE 2 5.516 1.891 +MOUSE 4 5.672 1.719 +PARAMETER GROUP draw +MESSAGE +and Group the new definition. +END +STEP +ORIG 2.000 0.000 0.000 +RESET +COMMAND Select +MOUSE 2 3.719 4.156 +MOUSE 4 10.531 0.969 +BIGPAUSE +PARAMETER misc cmdGroup +PARAMETER group replace 1 +BIGPAUSE +PARAMETER group ok +MESSAGE +_________________________________________ + +Notice that the turnout in the HotBar is angled the same as the turnout on the layout. Make sure your new definition is rotated the way you want it. +END +STEP +KEYSTATE 2 +MOUSE 2 5.000 2.188 +KEYSTATE 2 +MOUSE 4 5.000 2.188 +PARAMETER misc cmdDelete +CLEAR +RESET +MESSAGE +We can also create turnouts from simple straight and curved tracks. + +We'll create two tracks that have a common End-Point. +END +STEP +COMMAND Straight +MOUSE 2 2.000 2.000 +MOUSE 4 10.000 2.000 +COMMAND CurveEndPt +MOUSE 2 2.000 2.000 +MOUSE 4 9.000 2.000 +MOUSE 2 9.000 2.000 +MOUSE 4 8.875 3.062 +MESSAGE +_________________________________________ + +At this point we can modify the tracks if necessary. + +We will use the command to change the tracks. +END +STEP +COMMAND Describe +MOUSE 2 9.438 2.000 +MOUSE 4 9.438 2.000 +MESSAGE +_________________________________________ + +We'll make the Length 7.5". + +If we change the Length, each End-Point will be moved to shorten the track. We want to just move the Right End-Point. To control this, change the Pivot to First which means the Left End-Point will be unchanged when we change the length (or angle) of the track. +END +STEP +#DESCRIBE Pivot 0 +PARAMETER describe P1 0 +MESSAGE +_________________________________________ + +Now when change the Length only the Right End-Point will move. +END +STEP +#DESCRIBE Length 7.500 +PARAMETER describe F7 7.500 +#DESCRIBE OK +PARAMETER describe ok +RESET +MESSAGE +_________________________________________ + +Now let's look at the curved track. +END +STEP +COMMAND Describe +MOUSE 2 7.688 2.625 +MOUSE 4 7.688 2.625 +MESSAGE +_________________________________________ + +Here the Left End-Point (which we don't want to move) is the Second End-Point, so we'll make that the Pivot. +END +STEP +#DESCRIBE Pivot 2 +PARAMETER describe P1 2 +MESSAGE +_________________________________________ + +We want the curve to have a radius of 20" and an angle of 17.5°. +First change the Radius... +END +STEP +#DESCRIBE Radius 20.000 +PARAMETER describe F9 20.000000 +MESSAGE +and the the Angular Length. +END +STEP +PARAMETER describe F11 17.5 +BIGPAUSE +#DESCRIBE OK +PARAMETER describe ok +MESSAGE +_________________________________________ + +Now Select both tracks... +END +STEP +COMMAND Select +MOUSE 2 7.500 2.750 +MOUSE 4 7.500 2.750 +MOUSE 2 8.000 2.000 +MOUSE 4 8.000 2.000 +MESSAGE +and Group them. +END +PARAMETER group manuf +PARAMETER group desc +PARAMETER group partno +STEP +PARAMETER misc cmdGroup +PARAMETER group manuf Custom +PARAMETER group desc Left +PARAMETER group partno 99-L +MESSAGE +_________________________________________ + +If the two tracks have a common End-Point then they will form a Turnout and can be switched with the command. Otherwise they will just be two track segments grouped together. +END +STEP +PARAMETER group ok +MESSAGE +_________________________________________ + +We have created a left hand turnout and we also want a right hand version. + +We'll use the command. +END +STEP +COMMAND Select +MOUSE 2 7.812 2.250 +MOUSE 4 7.812 2.250 +COMMAND Flip +MESSAGE +_________________________________________ + +Drag a horizontal line that will be the mirror for the command. +END +STEP +MOUSE 2 1.438 1.938 +MOUSE 4 11.625 1.938 +MESSAGE +_________________________________________ + +Notice the title has changed to Flipped Left. + +Now Group the turnout. +END +STEP +PARAMETER misc cmdGroup +MESSAGE +_________________________________________ + +We'll change the Title and Part No for the new defintion. +END +STEP +PARAMETER group desc Right +PARAMETER group partno 99- +PARAMETER group partno 99-R +PARAMETER group replace 1 +PARAMETER group ok +STEP +CLEAR +MESSAGE +To Remove the definitions, use the Custom Management dialog on the Tools menu. +END +STEP +PARAMETER misc cmdCustmgm +MESSAGE +_________________________________________ + +Select the definitions you added and Delete them. +END +STEP +PARAMETER custmgm inx 0 Peco-55 DEMO SL-E395F Modified Medium Right +PARAMETER custmgm delete +PARAMETER custmgm inx 0 Custom DEMO 99-L Left +PARAMETER custmgm delete +PARAMETER custmgm inx 0 Custom DEMO 99-R Right +PARAMETER custmgm delete +PARAMETER custmgm ok +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmhelix.xtr b/app/lib/demos/dmhelix.xtr new file mode 100644 index 0000000..1a54c48 --- /dev/null +++ b/app/lib/demos/dmhelix.xtr @@ -0,0 +1,193 @@ +VERSION 7 +DEMOINIT +ORIG 10.000 0.000 0.000 +PARAMETER display labelscale 10 +PARAMETER display description-fontsize 144 +STRAIGHT 1 0 0 0 0 N -1 + E 23.086096 1.459535 254.675892 + E 72.500000 15.000000 74.675892 + END +STRAIGHT 2 0 0 0 0 N -1 + E 1.770859 28.642902 189.520022 + E 5.625000 51.625000 9.520022 + END +REDRAW +RESET +MESSAGE +Now we will create a helix in the corner of the layout connected to 2 tracks. +END +STEP +COMMAND Helix +PARAMETER helix radius 18.000 +PARAMETER helix turns 1 +PARAMETER helix elev 0.0 +PARAMETER helix angSep 0.0 +PARAMETER helix grade 0.0 +PARAMETER helix vertSep 1.0 +PARAMETER helix vertSep 0.0 +MESSAGE +_________________________________________ + +We will be creating a helix with a Elevation Difference of 12", Grade of 1.5% and limit the Vertical Separation to at least 2". +END +STEP +MESSAGE +_________________________________________ + +First set the Elevation Difference to 12" +END +STEP +PARAMETER helix elev 12.0 +BIGPAUSE +BIGPAUSE +MESSAGE +_________________________________________ + +Next set the Vertical Separation to 2" +Notice how this causes the number of Turns to be set to 6 +END +STEP +PARAMETER helix vertSep 2.0 +STEP +MESSAGE +_________________________________________ + +Next set the Grade to 1.5% +Notice how this causes the Radius to change. +END +STEP +PARAMETER helix grade 1.5 +MESSAGE +_________________________________________ + +Setting these values changes the Radius to 21.2" and the number of Turns to 6. +END +STEP +MESSAGE +_________________________________________ + +Now we specify the Angular Separation between the enterance and exit to the helix. + +Note: this will decrease the Radius slightly. +END +STEP +PARAMETER helix angSep 90.0 +BIGPAUSE +MESSAGE +_________________________________________ + +Next we can fine tune the helix by decreasing the Radius to 15". +Note the change to the Grade. +END +STEP +PARAMETER helix radius 15.0 +BIGPAUSE +MESSAGE +_________________________________________ + +Lastly change the Vertical Separation to 2.5". The number of Turns will change to 4 and the grade increase to almost 3%. + +Note: the Vertical Separation will be increased. This value is the Elevation Difference (12.0) divided by the total number of turns. The total number of turns is 4.25: 4 whole Turns plus a quarter turn for the Angular Separation. +END +STEP +PARAMETER helix vertSep 2.5 +MESSAGE +========================================= +END +STEP +CLEAR +MESSAGE +Now that the helix parameters are set we can place the helix on the layout. +END +MOUSE 2 15.375 20.500 +MOUSE 3 15.375 20.500 +MOUSE 3 16.000 16.000 +STEP +MOUSE 4 16.000 16.000 +RESET +MESSAGE +_________________________________________ + +Next, join the 2 straight tracks to the helix in the same way we join to a circle. +END +STEP +COMMAND Join +MOUSE 2 1.875 30.000 +MOUSE 4 1.875 30.000 +MOUSE 2 1.000 17.375 +MOUSE 3 1.000 17.250 +MOUSE 3 1.000 17.000 +MOUSE 3 1.000 17.000 +MOUSE 3 1.000 16.750 +MOUSE 3 1.000 16.500 +MOUSE 3 1.125 16.500 +MOUSE 3 1.125 16.375 +MOUSE 3 1.125 16.250 +MOUSE 4 1.125 16.250 +MOUSE 2 28.125 3.000 +MOUSE 4 28.125 3.000 +MOUSE 2 16.500 1.000 +MOUSE 3 16.500 1.000 +MOUSE 3 16.375 1.000 +MOUSE 3 16.125 1.000 +MOUSE 3 16.125 0.875 +MOUSE 3 16.000 0.875 +MOUSE 3 16.000 0.875 +MOUSE 3 15.875 0.875 +MOUSE 3 15.625 0.875 +MOUSE 3 15.500 1.000 +MOUSE 3 15.375 1.000 +MOUSE 4 15.375 1.000 +MESSAGE +_________________________________________ + +Notice that the length has increased because we have more than 4 turns in the helix. It is closer to 4.25 turns. +END +STEP +COMMAND Elevation +PARAMETER elev mode 0 +PARAMETER elev value 0.000 +PARAMETER elev station +MESSAGE +_________________________________________ + +Next, we assign elevations to the 2 End-Points of the helix. This will determine the grade and separation between the helix coils. + +Note: we could set the elevations anywhere along the connecting tracks instead. XTrackCAD treats a helix as a single length of track for elevations. +END +STEP +MOUSE 2 15.125 1.125 +MOUSE 4 15.125 1.125 +PARAMETER elev mode 1 +PARAMETER elev value 1.000000 +BIGPAUSE +MOUSE 2 1.250 16.000 +MOUSE 4 1.250 16.000 +PARAMETER elev mode 1 +PARAMETER elev value 13.000000 +PARAMETER elev ok +BIGPAUSE +RESET +REDRAW +MESSAGE +_________________________________________ + +We have set the elevations to 1" and 13" to produce a grade of 3.0% with 2.8" between coils. + +You can use the command to change the number of Turns or the Elevations at either end of the Helix. This will affect the Grade and Vertical Separation. +END +STEP +MESSAGE +_________________________________________ + +The helix description can be moved by the command. +END +COMMAND MoveLabel +MOUSE 2 15.875 16.125 +MOUSE 3 16.125 6.250 +MOUSE 4 16.125 6.250 +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmhndld.xtr b/app/lib/demos/dmhndld.xtr new file mode 100644 index 0000000..2647818 --- /dev/null +++ b/app/lib/demos/dmhndld.xtr @@ -0,0 +1,111 @@ +# XTrkCad Version: 3.0.1, Date: Sat Sep 23 20:54:12 2000 + +VERSION 10 +DEMOINIT +ORIG 4.000 13.000 6.000 +STRAIGHT 1 0 0 0 0 N 2 + E 13.625000 6.625000 243.300294 + E 34.875000 17.312500 63.300294 + END +CURVE 2 0 0 0 0 N 2 34.992582 -3.178627 0 16.250000 0 0.000000 0.000000 + E 19.937500 2.937500 202.109448 + E 40.001921 12.279996 107.954824 + END +REDRAW +RESET +MESSAGE +In addition to using the turnout definitions you can create 'Hand Laid Turnout'. + +This is two step process: +END +STEP +COMMAND HandLaidTurnout +MESSAGE +1 - click on the frog and drag away to set the frog angle +END +STEP +MOUSE 2 24.125 12.000 +MOUSE 3 28.312 15.312 +MESSAGE + Hint: the further you drag from the frog, the more accurate the angle. +END +STEP +MOUSE 4 28.312 15.312 +MESSAGE +2 - click and drag to set the position of the points +END +STEP +MOUSE 2 21.312 10.500 +BIGPAUSE +MOUSE 4 20.688 10.188 +RESET +MESSAGE +_________________________________________ + +We can create Hand Laid Turnouts on curved tracks. +END +STEP +COMMAND HandLaidTurnout +BIGPAUSE +MOUSE 2 26.750 10.875 +MOUSE 4 31.875 15.562 +BIGPAUSE +MOUSE 2 23.688 8.500 +MOUSE 4 23.125 7.312 +RESET +BIGPAUSE +ORIG 2.000 19.000 7.000 +MESSAGE +_________________________________________ + +A Hand Laid Turnout is composed of several parts. +END +STEP +COMMAND Describe +MOUSE 2 21.000 10.312 +MOUSE 4 21.000 10.312 +MESSAGE +The actual Turnout is a short portion at the points. +END +STEP +MOUSE 2 23.375 12.000 +MOUSE 4 23.375 12.000 +BIGPAUSE +MOUSE 2 24.094 12.500 +MOUSE 4 24.094 12.500 +BIGPAUSE +MESSAGE +The other parts are various straight and curved segments. +END +STEP +MESSAGE +_________________________________________ + +The new curved turnout is also composed of several segments. +END +STEP +MOUSE 2 23.094 7.844 +MOUSE 4 23.094 7.844 +BIGPAUSE +#MOUSE 2 23.312 8.156 +#MOUSE 4 23.312 8.156 +#BIGPAUSE +#MOUSE 2 23.281 8.250 +#MOUSE 4 23.281 8.250 +#BIGPAUSE +MOUSE 2 25.500 10.344 +MOUSE 4 25.500 10.344 +BIGPAUSE +MOUSE 2 26.531 11.250 +MOUSE 4 26.531 11.250 +BIGPAUSE +MOUSE 2 26.656 11.094 +MOUSE 4 26.656 11.094 +#DESCRIBE OK +PARAMETER describe ok +RESET +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmintro.xtr b/app/lib/demos/dmintro.xtr new file mode 100644 index 0000000..602b436 --- /dev/null +++ b/app/lib/demos/dmintro.xtr @@ -0,0 +1,79 @@ +VERSION 1 +DEMOINIT +ORIG 12.000 0.000 0.000 +PARAMETER display description-fontsize 18 +REDRAW +RESET +MESSAGE +Welcome to the XTrackCAD demonstration. + +This will show some the features of XTrackCAD in an automated presentation. This window contains a number of controls and a message area (which I hope you are reading now). + +The controls are: +Step - advances to the next step of the demo. +Next - skips ahead to the next demo. +Quit - exits the demo and returns to XTrackCAD. +Speed - controls the speed of the demo. + +Click Step now for the next message. +========================================= +END +STEP +CLEAR +MESSAGE +If this is the first time you have used the demo you may want to rearrange the windows so the demo window does not obscure the main window. + +You can move the demo window now by dragging on the title bar at the top of the window. I suggest you move it to the top of your screen. +========================================= +END +STEP +CLEAR +MESSAGE +The various controls are disabled when it would be inappropiate to click on them. When the demo is running the Step button is disabled. When the demo is paused the Step button is enabled and you can click it when you are ready to view the next part of the demo. + +You can click on Quit to return to XTrackCAD at any time. + +You can adjust the speed of the demonstration with the Speed control. +========================================= +END +STEP +CLEAR +DRAW 1 0 0 0 0 0.000000 0.000000 0 0.000000 + L3 0 0.444444 0.000000 0.000000 0 72.000000 0.000000 0 + END +DRAW 2 0 0 0 0 0.000000 0.000000 0 0.000000 + L3 0 0.444444 72.000000 0.000000 0 72.000000 36.000000 0 + END +DRAW 3 0 0 0 0 0.000000 0.000000 0 0.000000 + L3 0 0.444444 72.000000 36.000000 0 0.000000 36.000000 0 + END +DRAW 4 0 0 0 0 0.000000 0.000000 0 0.000000 + L3 0 0.444444 0.000000 36.000000 0 0.000000 0.000000 0 + END +DRAW 5 0 0 0 0 0.000000 0.000000 0 0.000000 + L3 0 0.444444 0.000000 0.000000 0 72.000000 36.000000 0 + END +DRAW 6 0 0 0 0 0.000000 0.000000 0 0.000000 + L3 0 0.444444 0.000000 36.000000 0 72.000000 0.000000 0 + END +REDRAW +MESSAGE +The demos are designed to fit within a certain sized window. + +For best results, change the size of the main XTrackCAD window so the box shape is completely visible. + +You can do this by clicking and dragging on a corner of the window. +END +MESSAGE +========================================= +END +STEP +CLEAR +MESSAGE +This is the end of the introductory demo. + +Please click Step for the next demo or click Quit to return to XTrackCAD. +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmjcir.xtr b/app/lib/demos/dmjcir.xtr new file mode 100644 index 0000000..9647e39 --- /dev/null +++ b/app/lib/demos/dmjcir.xtr @@ -0,0 +1,240 @@ +VERSION 2 +DEMOINIT +ORIG 8.000 0.000 0.000 +CURVE 1 DEMO 1 12.633333 7.966667 6.000000 + E 12.633333 13.966667 270.000000 + E 12.633333 13.966667 90.000000 + END +CURVE 2 DEMO 1 32.133333 7.966667 6.000000 + E 32.133333 13.966667 270.000000 + E 32.133333 13.966667 90.000000 + END +REDRAW +RESET +MESSAGE +You can also join to and from circles. This will change the circles to curves. + +In this example we will join two circles. +END +STEP +COMMAND Join +MOUSE 2 14.083 14.083 +MOUSE 4 14.083 14.083 +MOUSE 2 28.250 12.833 +MESSAGE +_________________________________________ + +Here we've selected points on the two circles. The direction of the connections (whether clockwise or counter clockwise) is controlled by where on the circle you select the connection points. +END +STEP +MOUSE 3 28.250 12.750 +MOUSE 3 28.167 12.750 +MOUSE 3 28.083 12.750 +MOUSE 3 28.000 12.583 +MOUSE 3 27.833 12.417 +MOUSE 3 27.750 12.250 +MOUSE 3 27.667 12.083 +MOUSE 3 27.500 11.917 +MOUSE 3 27.250 11.583 +MOUSE 3 27.167 11.417 +MOUSE 3 27.000 11.167 +MOUSE 3 26.917 11.000 +MOUSE 3 26.833 10.833 +MOUSE 3 26.750 10.750 +MOUSE 3 26.750 10.583 +MOUSE 3 26.667 10.417 +MOUSE 3 26.583 10.250 +MOUSE 3 26.583 10.000 +MOUSE 3 26.417 9.750 +MOUSE 3 26.417 9.583 +MOUSE 3 26.417 9.417 +MOUSE 3 26.250 9.417 +MOUSE 3 26.250 9.167 +MOUSE 3 26.250 9.000 +MOUSE 3 26.167 8.833 +MOUSE 3 26.083 8.667 +MOUSE 3 26.083 8.583 +MOUSE 3 26.083 8.417 +MOUSE 3 26.000 8.250 +MOUSE 3 26.000 8.083 +MOUSE 3 26.000 7.833 +MOUSE 3 26.000 7.750 +MOUSE 3 26.083 7.583 +MOUSE 3 26.083 7.417 +MOUSE 3 26.083 7.250 +MOUSE 3 26.083 7.000 +MOUSE 3 26.250 6.750 +MOUSE 3 26.250 6.500 +MOUSE 3 26.250 6.333 +MOUSE 3 26.417 6.083 +MOUSE 3 26.583 5.833 +MOUSE 3 26.667 5.750 +MOUSE 3 26.750 5.500 +MOUSE 3 26.917 5.250 +MOUSE 3 27.083 5.167 +MOUSE 3 27.333 4.833 +MOUSE 3 27.500 4.750 +MOUSE 3 27.583 4.583 +MOUSE 3 27.750 4.417 +MOUSE 3 27.833 4.417 +MOUSE 3 28.000 4.250 +MOUSE 3 28.083 4.000 +MOUSE 3 28.250 3.833 +MOUSE 3 28.417 3.750 +MOUSE 3 28.583 3.583 +MOUSE 3 28.750 3.417 +MOUSE 3 28.917 3.250 +MOUSE 3 29.167 3.083 +MOUSE 3 29.333 2.917 +MOUSE 3 29.750 2.833 +MOUSE 3 30.000 2.667 +MOUSE 3 30.417 2.500 +MOUSE 3 30.750 2.417 +MOUSE 3 31.083 2.417 +MOUSE 3 31.583 2.417 +MOUSE 3 32.000 2.333 +MOUSE 3 33.500 2.417 +MOUSE 3 34.750 2.750 +MOUSE 3 35.250 2.917 +MOUSE 3 35.417 3.000 +MOUSE 3 35.583 3.167 +MOUSE 3 36.083 3.417 +MOUSE 3 36.250 3.750 +MOUSE 3 36.750 4.250 +MOUSE 3 37.167 4.750 +MOUSE 3 37.583 5.167 +MOUSE 3 37.833 5.667 +MOUSE 3 38.000 6.083 +MOUSE 3 38.083 6.667 +MOUSE 3 38.250 7.083 +MOUSE 3 38.250 7.500 +MOUSE 3 38.250 7.917 +MOUSE 3 38.167 8.250 +MOUSE 3 38.083 8.583 +MOUSE 3 38.083 9.083 +MOUSE 3 37.917 9.417 +MOUSE 3 37.917 9.917 +MOUSE 3 37.750 10.167 +MOUSE 3 37.583 10.500 +MOUSE 3 37.333 10.917 +MOUSE 3 37.250 11.167 +MOUSE 3 36.917 11.417 +MOUSE 3 36.583 11.750 +MOUSE 3 36.250 12.000 +MOUSE 3 35.917 12.250 +MOUSE 3 35.750 12.583 +MOUSE 3 35.500 12.750 +MOUSE 3 35.167 13.083 +MOUSE 3 34.833 13.250 +MOUSE 3 34.583 13.333 +MOUSE 3 34.417 13.417 +MOUSE 3 34.250 13.500 +MOUSE 4 34.250 13.500 +MESSAGE +========================================= +END +STEP +CLEAR +MESSAGE +Now let's try a cross connection. +END +STEP +PARAMETER misc cmdUndo +COMMAND Join +MOUSE 2 15.500 13.333 +MOUSE 4 15.500 13.333 +MOUSE 2 27.667 4.167 +MOUSE 3 27.583 4.167 +MOUSE 3 27.667 4.000 +MOUSE 3 27.833 3.583 +MOUSE 3 28.250 3.167 +MOUSE 3 28.667 2.917 +MOUSE 3 29.500 2.667 +MOUSE 3 30.250 2.583 +MOUSE 3 30.583 2.500 +MOUSE 3 31.000 2.417 +MOUSE 3 31.667 2.333 +MOUSE 3 32.000 2.250 +MOUSE 3 32.333 2.250 +MOUSE 3 32.667 2.250 +MOUSE 3 33.167 2.333 +MOUSE 3 34.333 2.333 +MOUSE 3 34.833 2.417 +MOUSE 3 35.167 2.500 +MOUSE 3 35.333 2.667 +MOUSE 3 35.500 2.833 +MOUSE 3 35.667 3.083 +MOUSE 3 36.000 3.333 +MOUSE 3 36.250 3.500 +MOUSE 3 36.500 3.833 +MOUSE 3 36.833 4.167 +MOUSE 3 37.000 4.500 +MOUSE 3 37.167 4.667 +MOUSE 3 37.333 5.000 +MOUSE 3 37.500 5.333 +MOUSE 3 37.583 5.667 +MOUSE 3 37.750 6.083 +MOUSE 3 38.000 6.667 +MOUSE 3 38.167 7.167 +MOUSE 3 38.167 7.667 +MOUSE 3 38.000 8.083 +MOUSE 3 38.000 8.500 +MOUSE 3 37.833 9.000 +MOUSE 3 37.583 9.500 +MOUSE 3 37.333 9.833 +MOUSE 3 37.083 10.000 +MOUSE 3 36.750 10.583 +MOUSE 3 36.500 11.417 +MOUSE 3 36.333 12.750 +MOUSE 3 36.083 13.250 +MOUSE 3 35.750 13.750 +MOUSE 3 35.500 13.917 +MOUSE 3 34.333 14.000 +MOUSE 3 32.500 14.083 +MOUSE 3 31.917 14.167 +MOUSE 3 31.250 14.250 +MOUSE 3 30.500 14.250 +MOUSE 3 30.000 14.167 +MOUSE 3 29.500 14.083 +MOUSE 3 28.833 13.667 +MOUSE 3 28.167 13.083 +MOUSE 3 26.833 11.333 +MOUSE 3 26.667 11.250 +MOUSE 3 26.667 11.167 +MOUSE 3 26.667 11.083 +MOUSE 3 26.667 10.750 +MOUSE 3 26.500 10.167 +MOUSE 3 26.500 9.750 +MOUSE 3 26.500 9.417 +MOUSE 3 26.500 9.083 +MOUSE 3 26.500 8.750 +MOUSE 3 26.417 8.417 +MOUSE 3 26.333 8.250 +MOUSE 3 26.333 8.000 +MOUSE 3 26.333 7.750 +MOUSE 3 26.333 7.250 +MOUSE 3 26.333 6.833 +MOUSE 3 26.500 6.417 +MOUSE 3 26.583 6.250 +MOUSE 3 26.667 6.000 +MOUSE 3 26.833 5.917 +MOUSE 3 26.917 5.750 +MOUSE 3 27.083 5.583 +MOUSE 3 27.250 5.417 +MOUSE 3 27.417 5.250 +MOUSE 3 27.500 5.083 +MOUSE 3 27.583 5.083 +MOUSE 3 27.667 4.917 +MOUSE 3 27.750 4.917 +MOUSE 3 27.833 4.917 +MOUSE 3 27.833 4.750 +MOUSE 4 27.833 4.750 +MESSAGE +_________________________________________ + +Note that the connection is from different 'ends' of the circle than in the last example. +========================================= +END +STEP +RESET +CLEAR diff --git a/app/lib/demos/dmjnabut.xtr b/app/lib/demos/dmjnabut.xtr new file mode 100644 index 0000000..e72c898 --- /dev/null +++ b/app/lib/demos/dmjnabut.xtr @@ -0,0 +1,59 @@ +VERSION 2 +DEMOINIT +ORIG 4.000 12.000 0.000 +STRAIGHT 1 DEMO 1 + E 4.133333 3.216667 270.000000 + E 23.383333 3.216692 90.000000 + END +STRAIGHT 2 DEMO 1 + E 4.133333 4.466667 270.000000 + E 19.216667 4.466687 90.000000 + END +CURVE 3 DEMO 1 19.300229 18.466687 14.000000 + E 32.510491 13.831066 19.336606 + E 19.300192 4.466687 270.000000 + END +STRAIGHT 4 DEMO 1 + E 35.216667 3.216667 90.000200 + E 23.383333 3.216692 270.000200 + END +REDRAW +RESET +MESSAGE +This examples shows joining tracks whose End-Points are aligned. + +Note the 2 pairs of tracks have End-Points that are close and aligned but not connected. +END +STEP +COMMAND Join +MOUSE 2 20.167 4.500 +MESSAGE +_________________________________________ + +The first case joins the curve and straight track. +END +STEP +MOUSE 3 20.250 4.500 +MOUSE 4 20.250 4.500 +MOUSE 2 17.583 4.417 +MOUSE 4 17.583 4.417 +MESSAGE +_________________________________________ + +The second case will join the two straight tracks. +END +STEP +MOUSE 2 24.000 3.250 +MOUSE 4 24.000 3.250 +MOUSE 2 21.917 3.250 +MOUSE 4 21.917 3.250 +MESSAGE +_________________________________________ + +Note that the two straight tracks were combined to form one track. +END +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmjncs.xtr b/app/lib/demos/dmjncs.xtr new file mode 100644 index 0000000..f1bd27f --- /dev/null +++ b/app/lib/demos/dmjncs.xtr @@ -0,0 +1,64 @@ +VERSION 2 +DEMOINIT +ORIG 8.000 0.000 0.000 +STRAIGHT 1 DEMO 1 + E 1.883214 2.133372 270.000000 + E 31.050000 2.133333 90.000000 + END +CURVE 2 DEMO 1 29.473372 12.727335 7.625000 + E 37.081031 13.241282 356.135245 + E 33.769610 6.427894 235.706018 + END +REDRAW +RESET +MESSAGE +The command can join straight and curved tracks (in either order). +END +STEP +COMMAND Join +MOUSE 2 34.167 6.917 +MOUSE 4 34.167 6.917 +MOUSE 2 23.750 2.167 +MESSAGE +_________________________________________ + +A connecting track is drawn between the two tracks. +END +STEP +MOUSE 3 23.750 2.083 +MOUSE 3 19.417 2.000 +MESSAGE +_________________________________________ + +Notice that the curved track is extended as the connection point moves past the End-Point. +END +STEP +MOUSE 3 19.167 2.000 +MOUSE 3 10.917 2.333 +BIGPAUSE +MOUSE 3 10.917 2.333 +MOUSE 3 28.250 2.250 +MESSAGE +_________________________________________ + +Here the connection makes the curved track wrap around. +END +STEP +MOUSE 3 28.250 2.250 +MOUSE 3 3.250 2.333 +MESSAGE +_________________________________________ + +Now the cursor is about to be moved past the other (far) End-Point of the straight track. You will receive a warning and the connecting track turns Red. +END +STEP +MOUSE 3 2.500 2.250 +MOUSE 3 0.667 2.167 +STEP +MOUSE 3 0.667 2.167 +MOUSE 4 7.333 1.833 +MESSAGE +========================================= +END +STEP +CLEAR diff --git a/app/lib/demos/dmjnmove.xtr b/app/lib/demos/dmjnmove.xtr new file mode 100644 index 0000000..43626e6 --- /dev/null +++ b/app/lib/demos/dmjnmove.xtr @@ -0,0 +1,51 @@ +VERSION 2 +DEMOINIT +ORIG 8.000 0.000 0.000 +PARAMETER cmdopt move-quick 2 +STRAIGHT 1 DEMO 1 + E 13.440000 4.160000 270.000000 + E 30.186667 4.160000 90.000000 + END +CURVE 2 DEMO 1 19.577603 7.976896 5.250000 + E 14.380804 7.231395 171.836391 + T 3 19.577724 13.226896 90.001318 + END +STRAIGHT 3 DEMO 1 + T 2 19.577724 13.226896 270.001318 + E 29.546667 13.226667 90.001318 + END +REDRAW +RESET +MESSAGE +The command can move one group of tracks to join with another. + +First command is used to select tracks. + +Selected tracks can be moved or rotated during the