ARC LENGTH DIMENSION

Next
 From:  AlexPolo
11229.1 
Hi all - is there a script to dimension the length of an arc? I can use flatten curve script to flatten and calculate that way - but need to produce a bending drawing?

thanks brains trust.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11229.2 In reply to 11229.1 
Hi Alex, try this - put in this script on a shortcut key:

script: /* Update angular dimension to arc length */ var crv_list = moi.geometryDatabase.getSelectedObjects().getCurves(); if ( crv_list.length == 1 ) { var dim_list = moi.geometryDatabase.getObjects().getAnnotations(); if ( dim_list.length > 0 ) { var crv = crv_list.item(0); var dim = dim_list.item( dim_list.length-1 ); dim.text = moi.ui.formatCoordinate( crv.getLength() ); } }

Then create an angular dimension on the arc, then select the arc and trigger the script, it will update the angular dimension's text to the arc's length.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
11229.3 
amazing.


Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
11229.4 In reply to 11229.2 
Have you a little video about this script ?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Marbleman
11229.5 
Thanks Michael, very handy!
www.jameselliott.co.uk
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All