Author Topic: Polyline Angle Measurement  (Read 3434 times)

Offline wadasczi

  • Ewok
  • *
  • Posts: 6
    • View Profile
Polyline Angle Measurement
« on: November 03, 2015, 21:33:45 pm »
Total noob...is there a "feature" in CAMBAM that will show me the angle of a polyline when I click it? Thank you for helping.
Wally

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6716
    • View Profile
    • Cambam V1.0 French Doc
Re: Polyline Angle Measurement
« Reply #1 on: November 03, 2015, 21:44:17 pm »
Hello,

There is a script here that allow to measure angle between 2 lines

http://www.cambam.co.uk/forum/index.php?topic=3164.0

If you are not confortable with the script, then install the Arrow&dim plugin, you can activate the snap to object, then draw an arrow on the polyline ; you will get the angle in the bottom window. (message window)

http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/arrowdim.html

++
David
« Last Edit: November 03, 2015, 21:48:47 pm by dh42 »

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4933
    • View Profile
Re: Polyline Angle Measurement
« Reply #2 on: November 03, 2015, 21:55:58 pm »
If you fancy a bit of simple Pythagoras you could use this MeasureXYZ plugin http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/MeasureXYZ.html
Enable 'Snap to Object', disable 'Snap to Grid' then use Tools->MeasureXYZ and click to the end points of the Polyline,
calculate the angle from the XYZ lengths
« Last Edit: November 03, 2015, 21:57:46 pm by EddyCurrent »
Made in England

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6716
    • View Profile
    • Cambam V1.0 French Doc
Re: Polyline Angle Measurement
« Reply #3 on: November 03, 2015, 22:05:57 pm »
Hello Eddy

it could be an interesting option to add to your plugin ;)

++
David

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4933
    • View Profile
Re: Polyline Angle Measurement
« Reply #4 on: November 03, 2015, 22:11:10 pm »
Hello Eddy

it could be an interesting option to add to your plugin ;)

++
David

If I can still remember how to write code  ::)
Made in England

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6716
    • View Profile
    • Cambam V1.0 French Doc
Re: Polyline Angle Measurement
« Reply #5 on: November 03, 2015, 22:19:34 pm »
 ;D

Offline wadasczi

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Polyline Angle Measurement
« Reply #6 on: November 04, 2015, 12:47:38 pm »
Thanks David and all who replied!  I will get to cracking on the software side of life. I have more reading to do on implementing the code provided, but that gives me something to do...besides building another sailplane.
V/R,
Wally

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4933
    • View Profile
Re: Polyline Angle Measurement
« Reply #7 on: November 25, 2015, 15:17:54 pm »
This plugin has been updated to also show the angle of a line being measured; http://www.cambam.co.uk/forum/index.php?topic=4907.msg37426#msg37426

You need this version, MeasureXYZ_v2.zip
Made in England