Author Topic: What´s wrong with these polylines ?  (Read 10279 times)

Offline ThisAmplifierIsLoud

  • Storm Trooper
  • ***
  • Posts: 227
  • Jam it !
    • View Profile
What´s wrong with these polylines ?
« on: October 08, 2019, 18:00:58 pm »
I surely CAMBAMed hundreds or thousands of polylines, but I can see that for the first time.

The MOP inside is just a plain copy from MOP outside.
The I set to inside.

Creating toolpaths I get an error message : "Specified cast is not valid."

???

Any ideas ?

best regards

Bernhard

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7256
    • View Profile
    • Cambam V1.0 French Doc
Re: What´s wrong with these polylines ?
« Reply #1 on: October 08, 2019, 18:26:06 pm »
Hello

I can't explain why this happens, but it is the Polyline 5 that is causing the error with the leadout.

You can solve that with a "polyline arc fit" (tolerance 0.02) on polyline 5

Changing the MOP start point also solve the problem

Note also that none of the straight lines are real straight lines but arcs with very large radius ... (you can see that if you examine the bulge value in points collection of the polyline or if you explode the polyline)

I'll point this behavior too Andy

++
David
« Last Edit: October 08, 2019, 18:40:21 pm by dh42 »

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5191
  • Made in England
    • View Profile
Re: What´s wrong with these polylines ?
« Reply #2 on: October 08, 2019, 19:50:06 pm »
Also;

1. it only affects polyline 5 in the "inside" toolpath
2. if you change the order of ID's so that 5 is not the first, e.g. 11,16,5, then is works okay
Filmed in Supermarionation

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7256
    • View Profile
    • Cambam V1.0 French Doc
Re: What´s wrong with these polylines ?
« Reply #3 on: October 08, 2019, 20:09:45 pm »
Quote
2. if you change the order of ID's so that 5 is not the first, e.g. 11,16,5, then is works okay

Yes, because if the order is <>, the start point is not at the same place on polyline 5.

- Moving the MOP start point from a very small amount from the polyline start point works too.
- If you set the bulges value that are like 0.00002... to 0 to get real straight lines, that works too.
- Works also if you change the polyline start point itself.

So the leadout don't like to be on THIS specific point of the polyline.(the one at X =-23.489103 Y=12.506274)

++
David
         

Offline ThisAmplifierIsLoud

  • Storm Trooper
  • ***
  • Posts: 227
  • Jam it !
    • View Profile
Re: What´s wrong with these polylines ?
« Reply #4 on: October 09, 2019, 07:17:08 am »
Thanks you Sir !

In between I can finish my work.

Best regards

Bernhard

best regards

Bernhard

Offline ThisAmplifierIsLoud

  • Storm Trooper
  • ***
  • Posts: 227
  • Jam it !
    • View Profile
Re: What´s wrong with these polylines ?
« Reply #5 on: October 12, 2019, 17:23:06 pm »
Here´s what I made.
Nevertheless I´ve corrected the data.  ;D

best regards

Bernhard

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7256
    • View Profile
    • Cambam V1.0 French Doc
Re: What´s wrong with these polylines ?
« Reply #6 on: October 12, 2019, 21:49:02 pm »
Hello

Nice inlays  ;)

++
David