Author Topic: Polyline stationing bug  (Read 25061 times)

pavloun

  • Newbie
  • *
  • Posts: 4
Polyline stationing bug
« on: August 31, 2011, 09:51:35 AM »
Hello,
I`ve spotted a bug in Track station and offset from polyline command (program version 1.1.650).
It returns incorrect values for every point except the first one.

Best regards.

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 664
Re: Polyline stationing bug
« Reply #1 on: August 31, 2011, 01:27:40 PM »
Hi!

Thanks for pointing it out! Yes there must be a variable that I've forgott to reset. This will be fixed later today.

/Lars

cr_raul

  • Full Member
  • ***
  • Posts: 63
  • MICROSTATION VS. AUTOCAD
Re: Polyline stationing bug
« Reply #2 on: August 31, 2011, 06:12:51 PM »
I saw this problem but it only occurred when the first part of the polyline was an arc. once it happened at the end of the polyline but that was also an arc segment.

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 664
Re: Polyline stationing bug
« Reply #3 on: August 31, 2011, 09:03:40 PM »
Let’s hope I’ve managed to fix all odd behavior in that function. I’ve also fixed a focus issue after the message box was closed and a ENTER key when aborting the command.

pavloun

  • Newbie
  • *
  • Posts: 4
Re: Polyline stationing bug
« Reply #4 on: September 01, 2011, 11:04:31 AM »
Thx for quick reply

I saw this problem but it only occurred when the first part of the polyline was an arc. once it happened at the end of the polyline but that was also an arc segment.

Yes, the problem shows up on polylines with arc segments or simple arcs. The calculation still gets weird when the arc goes from 4th to 1st quadrant (I attached a scheme).

Ed: quadrants
« Last Edit: September 01, 2011, 02:44:08 PM by pavloun »

cr_raul

  • Full Member
  • ***
  • Posts: 63
  • MICROSTATION VS. AUTOCAD
Re: Polyline stationing bug
« Reply #5 on: September 01, 2011, 11:26:20 AM »
a quick fix for this would be to transform the polyline in 3dpoly to eliminate the arc

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 664
Re: Polyline stationing bug
« Reply #6 on: September 01, 2011, 01:57:39 PM »
I need to look into this more, I'm not sure if this function ever worked as planned? There must be something wrong in my angle calculation. I've spotted same problem in a similar function.

I'll be back, thanks for the attached sample.

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 664
Re: Polyline stationing bug
« Reply #7 on: September 01, 2011, 11:28:03 PM »
I need to look into this more, I'm not sure if this function ever worked as planned? There must be something wrong in my angle calculation. I've spotted same problem in a similar function.

I'll be back, thanks for the attached sample.

The bug is fixed (Build 652)