Date   

Re: Track elevation labels #Bug

Adam Richards
 

Fix pushed for both Bezier and Cornu Tracks to place the elevation in the middle.

Adam


Re: XtrackCad will not open High Sierra 10.13.6

Adam Richards
 

Bill,
Glad you got going - now you just have the bugs to contend with!   

Users have found a couple of good ones, so once we have them fixed, we will get to a Beta 3.1 out.

Adam


Re: Track elevation labels #Bug

Adam Richards
 

Quite right, just Beta 3.0 so far. 

I think you mean "Track Elevations" not "End-Point Elevations".  Yes, there seems to be a problem with location of the Cornu track elevation (and I suspect the Bezier as well). These are located by an algorithm that doesn't take other than Arcs into account. It places others at the mid-point of the bounding box.  There will need to be some logic to find the center point of these other types of curve. 

Adam





Re: Input error - track segment not on path #beta #Parameter

Peter Borcherds
 

Thank you very much, guys! All working now
--

Peter Borcherds

BNSF Chicago Sub in N Scale
N Scale Commuter, Freight & Switching Layout

Website: https://www.chicagosubnscale.com/
YouTube: https://www.youtube.com/channel/UCZ-9Z-cHsMP5gw3ZXoOezLA
Facebook: https://www.facebook.com/chicagosubnscale

Instagram: https://www.instagram.com/chicagosubnscale/


Re: V5.2 Beta 3.0 is available #beta

Peter Borcherds
 

Bill, go to Finder, Applications, right-click on XTrackCad there and select Open.  It should ask you if you want to open it - what verson of the macOS do you have? I managed to open it find on macOS High Sierra as well as Catalina.
--

Peter Borcherds

BNSF Chicago Sub in N Scale
N Scale Commuter, Freight & Switching Layout

Website: https://www.chicagosubnscale.com/
YouTube: https://www.youtube.com/channel/UCZ-9Z-cHsMP5gw3ZXoOezLA
Facebook: https://www.facebook.com/chicagosubnscale

Instagram: https://www.instagram.com/chicagosubnscale/


Re: XtrackCad will not open High Sierra 10.13.6

William Allen
 

Adam…GREAT NEWS!  It works.   Xtrkcad is working with a double click.

Here is what I did:

I am running High Sierra 10.13.6 on a late 2009 21.5” iMac, 500GB SSD with 16GB memory.

I uninstalled XQuartz and Xtrkcad. 

I then followed the following routine that I found on the internet.  https://apple.stackexchange.com/questions/105886/problem-in-installing-x11-xquartz-in-mac-10-8-5

 installer: This update requires you to first update your system to OS-X 10.6.3.  The installer is not recognizing the system as the correct version. Although the contents of /System/Library/CoreServices/SystemVersion.plist shows that the value of ProductVersion is set to '10.8.5', the installer does not see it this way.
It may be possible to modify the package's Distribution file to allow it to install correctly:
  1. Mount the XQuartz-2.7.4.dmg disk image (assuming that it's on the Desktop):
    Enter in Terminal:  hdiutil mount ~/Desktop/XQuartz-2.7.4.dmg
  1. Expand the package into a folder name XQuartz on the Desktop:
    Enter in Terminal:  sudo pkgutil --expand /Volumes/XQuartz-2.7.4/XQuartz.pkg ~/Desktop/XQuartz
     Modify the Distribution file inside of the expanded package, to allow installation to occur (regardless of the system version):
  2. Enter in Terminal:  cat ~/Desktop/XQuartz/Distribution | sed s/false/true/g > ~/Desktop/Distribution
  3. Move the new Distribution file into the expanded package
    Enter in Terminal:  sudo mv ~/Desktop/Distribution ~/Desktop/XQuartz
  4. Flatten the modified package:
    Enter in Terminal:  sudo pkgutil --flatten ~/Desktop/XQuartz ~/Desktop/XQuartz.pkg
  5. Cleanup the XQuartz folder that was expanded from the original package
    Enter in Terminal:  sudo rm -rf ~/Desktop/XQuartz
After creating the modified package on the Desktop, you may be able to double-click on the file to get it to install normally. Alternately, installing using the Terminal may also work at this point.

I Double clicked XQuartz and the file installed and is running!

Then I installed XtrkCad and it worked!  Xtrkcad now opens with a double click.  After a quick check, it appears that the program is working.

 I have no idea why the problem occurred or why this ”routine” apparently fixed it, as I am not that well versed in using Terminal.

I really appreciate the help and effort that you have given me.  I wish I could return the favor.  Perhaps this routinely help others with a similar problem.

A million THANKS…Bill




On Oct 10, 2020, at 9:49 AM, Adam Richards <adamjmrichards@...> wrote:

Bill,
It seems the service was disabled and not just unloaded. Please reissue the launchctl load command with the -w flag like this.

/bin/launchctl load -w /Library/LaunchAgents/org.macosforge.xquartz.startx.plist

That should force re-enabling. Until that service is running well there will be no joy from double-clicking. 

Given this is a very abnormal situation for OSX, someone/something must have run an unload with -w to force it off. A possibility that might do that is if you had been tried installing x11 at some point past the time it was ditched by Apple and all support moved to xquartz as they compete for the right to service X apps. Anyway, let's get it re-enabled and running. 

As to opening of layout files, please be more precise.  Exactly what did you try and what did the program do?  (Commands used, Error messages, etc). BTW - You said "Import" but that is a command used for *.xti files only. Your layouts would be *.xtc files and "Open..." is the correct way to open them. There is never a need to import/upgrade those files between versions, Xtrkcad layout file format is fully upward compatible (and documented in the Wiki).

(Actually .xti format is upward compatible as well, but the difference is that is just the raw track/draw objects and not all the layers and other settings of a Layout). 

Adam

 
 
 


Beta 3.01 Error when Grouping - No Endpts #Bug

Ian
 

I imported an XTI of the Scalescenes Small Loco Shed twice. Placed one alongside the other. Adjusted the middle door so that they didn't cross over each other. Then highlighted all of the pieces and Selected to Group them. I filled in the details as I wanted them and clicked OK. I then got back an error message I have never seen before, "No Endpts".

Can somebody explain what I have done wrong to get such an error?
No Endpts error.png

I am using the latest 3-01 beta on Windows 10 in a new layout so nothing else exists other than these objects.

A 1-minute clip showing my process: 

Beta 3.01 - On Grouping I get a No Endpts error. - Watch Video



--
-- Ian
PS: At the very top right it shows this text: "Unnamed Trackplan (R/O)*"  Does R/O somehow mean Read Only?


Re: Hot bar usage #HowTo

Joshua Rinehart
 

In the Linux version of xtrkcad, I am not able to drag anything. In train control cannot add train cars to the track. I have to go over to my windows and drag and drop the cars onto the track.



Sent from my Sprint Samsung Galaxy S10.


-------- Original message --------
From: Ian <ilox11@...>
Date: 10/11/20 08:32 (GMT-05:00)
To: XTrkCAD Forums <main@xtrackcad.groups.io>
Subject: Re: [xtrackcad] Hot bar usage #howto

Sorry for being obtuse, Adam, but I clicked on the icon and dragged it to the track where I dropped it. Isn't that Drag and drop? I didn't do two clicks of the mouse, just the one as I grabbed at the icon.

You said that I needed to click on the Icon, then move the icon to the track or where I wanted the object, then click. Yep, that works as you described. But that isn't what I did in the first place.

On Sun, 11 Oct 2020 at 19:15, Adam Richards <adamjmrichards@...> wrote:

Let me restate, We don’t have drag and drop in the way users expect and we have never had.

Drag and drop means you click on an object in one place and drag (without releasing) onto another part of the screen and release the button. The impressive part is that the source and target are two different Windows or even applications. As you do this the new object is under your cursor all the time and as you release it is now either a copy of the original (depending on the product you use). Many products have this behavior. Some of us remember when Windows introduced it - it felt like voodoo.

What we have between the hotbar and the drawing surface is select, move, select (and then drag). 

BtW - The reason we don’t is that the combination of windowing APIs we use (right now) do not support this without having to implement multipolar versions.

The hotbar and the draw surface are two different widgets in gtk and two Windows in Windows. When the mouse is dragged it does not remember the click in the other window/widget and appears as a simple mouse movement. The button is pressed but the click was not registered so the code doesn’t do what is nemeses.

Adam





--
-- Ian


Re: Hot bar usage #HowTo

Ian
 

Sorry for being obtuse, Adam, but I clicked on the icon and dragged it to the track where I dropped it. Isn't that Drag and drop? I didn't do two clicks of the mouse, just the one as I grabbed at the icon.

You said that I needed to click on the Icon, then move the icon to the track or where I wanted the object, then click. Yep, that works as you described. But that isn't what I did in the first place.


On Sun, 11 Oct 2020 at 19:15, Adam Richards <adamjmrichards@...> wrote:

Let me restate, We don’t have drag and drop in the way users expect and we have never had.

Drag and drop means you click on an object in one place and drag (without releasing) onto another part of the screen and release the button. The impressive part is that the source and target are two different Windows or even applications. As you do this the new object is under your cursor all the time and as you release it is now either a copy of the original (depending on the product you use). Many products have this behavior. Some of us remember when Windows introduced it - it felt like voodoo.

What we have between the hotbar and the drawing surface is select, move, select (and then drag). 

BtW - The reason we don’t is that the combination of windowing APIs we use (right now) do not support this without having to implement multipolar versions.

The hotbar and the draw surface are two different widgets in gtk and two Windows in Windows. When the mouse is dragged it does not remember the click in the other window/widget and appears as a simple mouse movement. The button is pressed but the click was not registered so the code doesn’t do what is nemeses.

Adam





--
-- Ian


Mouse cursor issues Beta 3.0-1 #beta #Windows

Joost van der Waa
 

I installed the latest beta 3.0-1 (which shows as 3.0 without -1, but that's just a detail) and I have some serious issues with the mouse cursor.

After placing a track element the mouse cursor changes into the 4-arrowhead mouse cursor.
1. When moving your mouse back to the hotbar, a part of the cursor stays behind on the drawing area, see the attached screenshot.
2. When not on any one of the icons on the hotbar, the mouse cursor is hidden, like in the area next to the layout levels in the attached screenshot. Basically you have no idea where your mouse cursor is....

I guess this is caused by a different treatment of the mouse cursor in 3.0.

I am sorry to repeat my request, but I would strongly suggest to move back to the 5.1.2 way of showing and handling the mouse cursor and get rid of the arrowhead cursor. The way Xtrackcad is handling the mouse under Windows is very confusing and unintuitive...


Re: Hot bar usage #HowTo

Chris Kenyon
 

Oh the joys of undocumented (?) features......  6 years I've been swearing quietly at XTC's ability to attach a new turnout to existing track every way round but the way I want it, and an answer to a completely different question tells me shift and left click will spin it round :-)

Seriously. are all these hidden functions written down anywhere?  My previous eureka moment was happening upon shift and right click to do clever things with "rotate" - I can't even guess what else I'm missing!


Re: Hot bar usage #HowTo

Adam Richards
 

Let me restate, We don’t have drag and drop in the way users expect and we have never had.

Drag and drop means you click on an object in one place and drag (without releasing) onto another part of the screen and release the button. The impressive part is that the source and target are two different Windows or even applications. As you do this the new object is under your cursor all the time and as you release it is now either a copy of the original (depending on the product you use). Many products have this behavior. Some of us remember when Windows introduced it - it felt like voodoo.

What we have between the hotbar and the drawing surface is select, move, select (and then drag). 

BtW - The reason we don’t is that the combination of windowing APIs we use (right now) do not support this without having to implement multipolar versions.

The hotbar and the draw surface are two different widgets in gtk and two Windows in Windows. When the mouse is dragged it does not remember the click in the other window/widget and appears as a simple mouse movement. The button is pressed but the click was not registered so the code doesn’t do what is nemeses.

Adam




Re: Hot bar usage #HowTo

Adam Richards
 



On Sat, Oct 10, 2020 at 7:11 PM, Ian <ilox11@...> wrote:
Adam, I was right - if I understand the concept of Drag and drop from the Hotbar then we had it and we still have it so now I am way past confused. Can you bring some clarity, please?

11 October 2020 - Isn't this Drag-n-drop? - Watch Video



On Sun, 11 Oct 2020 at 10:48, Ian via groups.io <ilox11=gmail.com@groups.io> wrote:
Thanks Adam. I was sure that we used to have drag-n-drop but appreciate the quick-torial on the right usage.

On Sun, 11 Oct. 2020, 7:39 am Adam Richards, <adamjmrichards@...> wrote:

The HotBar does not support drag and drop (never has). Reasons are complex and besides the point right now.

How to use it - 
- Select an object in the bar.  (Left-Click and release) <the selected item is boxed in Grey>
-Move cursor to the Layout (you can drag here but it doesn’t do anything which is why you are confused).
- Left-Click again on the surface <the cloned object appears in red>
- You can now left-click and drag to reposition the object.
- Right-click and drag rotates the object
- Shift and left-click for a turnout selects a different endpoint to snap into other track
- To accept the object hit Space <object drawn normally>

- Another left click on the layout adds another clone.
- Esc rejects the selected object and resets the command so no objects are selected.

incidentally you can also add using the Add->Turnout window, which you might find more natural and gives you a visual of which endpoint is selected.

in Train mode,  the “click to select”, “move cursor”, “click and drag to place” works the same way for Cars.

Hope that helps.

Adam






 



--
-- Ian

--
Adam Richards


Re: Hot bar usage #HowTo

Ian
 

Adam, I was right - if I understand the concept of Drag and drop from the Hotbar then we had it and we still have it so now I am way past confused. Can you bring some clarity, please?

11 October 2020 - Isn't this Drag-n-drop? - Watch Video



On Sun, 11 Oct 2020 at 10:48, Ian via groups.io <ilox11=gmail.com@groups.io> wrote:
Thanks Adam. I was sure that we used to have drag-n-drop but appreciate the quick-torial on the right usage.

On Sun, 11 Oct. 2020, 7:39 am Adam Richards, <adamjmrichards@...> wrote:

The HotBar does not support drag and drop (never has). Reasons are complex and besides the point right now.

How to use it - 
- Select an object in the bar.  (Left-Click and release) <the selected item is boxed in Grey>
-Move cursor to the Layout (you can drag here but it doesn’t do anything which is why you are confused).
- Left-Click again on the surface <the cloned object appears in red>
- You can now left-click and drag to reposition the object.
- Right-click and drag rotates the object
- Shift and left-click for a turnout selects a different endpoint to snap into other track
- To accept the object hit Space <object drawn normally>

- Another left click on the layout adds another clone.
- Esc rejects the selected object and resets the command so no objects are selected.

incidentally you can also add using the Add->Turnout window, which you might find more natural and gives you a visual of which endpoint is selected.

in Train mode,  the “click to select”, “move cursor”, “click and drag to place” works the same way for Cars.

Hope that helps.

Adam






 



--
-- Ian


Track elevation labels #Bug

Robert Scott
 

Good evening,
The bug I have encountered is the location of the track elevation label on Cornu curves. The label appears between the ends of the curve.
On the sample layout, there is a cornu curve at 17' X 18'.
Running Windows 10, my machine insists that there is no Beta 3.0-1 and reinstalls beta 3.0.

B


Re: Hot bar usage #HowTo

Ian
 

Thanks Adam. I was sure that we used to have drag-n-drop but appreciate the quick-torial on the right usage.


On Sun, 11 Oct. 2020, 7:39 am Adam Richards, <adamjmrichards@...> wrote:

The HotBar does not support drag and drop (never has). Reasons are complex and besides the point right now.

How to use it - 
- Select an object in the bar.  (Left-Click and release) <the selected item is boxed in Grey>
-Move cursor to the Layout (you can drag here but it doesn’t do anything which is why you are confused).
- Left-Click again on the surface <the cloned object appears in red>
- You can now left-click and drag to reposition the object.
- Right-click and drag rotates the object
- Shift and left-click for a turnout selects a different endpoint to snap into other track
- To accept the object hit Space <object drawn normally>

- Another left click on the layout adds another clone.
- Esc rejects the selected object and resets the command so no objects are selected.

incidentally you can also add using the Add->Turnout window, which you might find more natural and gives you a visual of which endpoint is selected.

in Train mode,  the “click to select”, “move cursor”, “click and drag to place” works the same way for Cars.

Hope that helps.

Adam






 


Re: Hot bar usage #HowTo

Adam Richards
 
Edited

The HotBar does not support drag and drop (never has). Reasons are complex and besides the point right now.

How to use it - 

  1. Select an object in the bar.  (Left-Click and release) <the selected item is boxed in Grey>
  2. Move cursor to the Layout (you can drag here but it doesn’t do anything which is why you are confused).
  3. Left-Click again on the surface <the cloned object appears in red>


- You can now left-click and drag to reposition the object.
- Right-drag or Ctrl and left-drag rotates the object
- Shift and left-click for a turnout selects a different endpoint to snap onto other track
- To accept the object hit Space <object drawn normally>

- Another left click on the layout adds another clone like #3.
- Esc rejects both the selected and cloned object and resets the command so no objects are selected. Selecting another command button has the same effect.


Incidentally, you can also add using the Add->Predefined Track window; which you might find more natural and gives you a visual of which endpoint is selected.

in Train mode,  the “click to select”, “move cursor to layout”, “click on layout and drag to place” above works the same way for Cars.

Hope that helps.

Adam


Hot bar usage #HowTo

Joshua Rinehart
 

Can not drag and drop track pieces or train cars to the track.



Sent from my Sprint Samsung Galaxy S10.


-------- Original message --------
From: Dave Bullis <sillub@...>
Date: 10/10/20 14:49 (GMT-05:00)
To: main@xtrackcad.groups.io
Subject: [xtrackcad] Linux Beta 3 has been updated

I've rebuilt and uploaded the current version of v5.2 to sourceforge.
I've also updated the Readme to explain how to work-around the libzip4 lib problem


Linux Beta 3 has been updated

Dave Bullis
 

I've rebuilt and uploaded the current version of v5.2 to sourceforge.
I've also updated the Readme to explain how to work-around the libzip4 lib problem


Re: XtrackCad will not open High Sierra 10.13.6

Adam Richards
 

Bill,
It seems the service was disabled and not just unloaded. Please reissue the launchctl load command with the -w flag like this.

/bin/launchctl load -w /Library/LaunchAgents/org.macosforge.xquartz.startx.plist

That should force re-enabling. Until that service is running well there will be no joy from double-clicking. 

Given this is a very abnormal situation for OSX, someone/something must have run an unload with -w to force it off. A possibility that might do that is if you had been tried installing x11 at some point past the time it was ditched by Apple and all support moved to xquartz as they compete for the right to service X apps. Anyway, let's get it re-enabled and running. 

As to opening of layout files, please be more precise.  Exactly what did you try and what did the program do?  (Commands used, Error messages, etc). BTW - You said "Import" but that is a command used for *.xti files only. Your layouts would be *.xtc files and "Open..." is the correct way to open them. There is never a need to import/upgrade those files between versions, Xtrkcad layout file format is fully upward compatible (and documented in the Wiki).

(Actually .xti format is upward compatible as well, but the difference is that is just the raw track/draw objects and not all the layers and other settings of a Layout). 

Adam

 

 

 

481 - 500 of 12285