Author Topic: Draw->Pointlist->Divide Geometry bug  (Read 121 times)

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4938
  • Made in England
    • View Profile
Draw->Pointlist->Divide Geometry bug
« on: December 26, 2021, 11:24:49 am »
See attached cb file.

With polyline 1 use, Draw->Pointlist->Divide Geometry, try a value of 20, it works fine.
Now with polyline 2 ( it's been rotated 90 degrees so it's standing vertical in Z) do the same thing, it does not work correctly.

The problem seems to be that CamBam does not calculate "polyline perimeter" correctly with polyline 2 and hence cannot divide the geometry correctly.

The good news is that the Pointlist can be rotated successfully so that's the workaround.
Filmed in Supermarionation

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6723
    • View Profile
    • Cambam V1.0 French Doc
Re: Draw->Pointlist->Divide Geometry bug
« Reply #1 on: December 26, 2021, 12:13:25 pm »
Hello

Yes it is a known behavior, those point list functions works only on XY plane (we see that a few time ago somewhere on the forum)

edit:
here
https://cambamcnc.com/forum/index.php?topic=9219.0

++
David
« Last Edit: December 26, 2021, 12:15:27 pm by dh42 »

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4938
  • Made in England
    • View Profile
Re: Draw->Pointlist->Divide Geometry bug
« Reply #2 on: December 26, 2021, 12:59:36 pm »
I even replied to Bob's earlier thread but completely forgot about it  ???
That was about "step" rather then "divide" but they both depend upon "perimeter" being calculated correctly.
Filmed in Supermarionation