Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Results 1 to 2 of 2

Thread: Angle between lines?

  1. #1
    Member ryntau's Avatar
    Join Date
    October 11, 2012
    Location
    St. Louis
    Posts
    401
    Current Local Time
    05:49 AM

    Angle between lines?

    If i have a list of points (with XYZ), i'm able to fairly easily generate a list of line segments between those points. Is it possible to figure out the angle between those lines? The Vector.AngleAboutAxis doesn't seem to be doing the trick but I also don't understand it that well.
    Attached Thumbnails Attached Thumbnails Angle between lines?-angle-between-points.png  

  2. #2
    Member ryntau's Avatar
    Join Date
    October 11, 2012
    Location
    St. Louis
    Posts
    401
    Current Local Time
    05:49 AM
    This is what I've figured out so far. Using the Vector.ByTwoPoints works pretty well. The weird part I come across now is that Dynamo doesn't know the difference between 0 degrees and 360 degrees and randomly puts one or the other. (it does seems to know the 90 degrees is a regular corner and -90 is an inner corner)
    Attached Thumbnails Attached Thumbnails Angle between lines?-angle-between-points02.png  

Similar Threads

  1. Foundation plan - Hidden lines/ Edge lines
    By Thasso00 in forum Architecture and General Revit Questions
    Replies: 3
    Last Post: October 31st, 2017, 01:34 PM
  2. convert model lines to room separation lines
    By Ning Zhou in forum Architecture and General Revit Questions
    Replies: 10
    Last Post: May 2nd, 2016, 09:31 AM
  3. Solid element lines printing as hidden lines???
    By imcarter33 in forum Structure - General Questions
    Replies: 2
    Last Post: June 13th, 2014, 07:48 PM
  4. Ref lines moving along angle parameter
    By Goahead in forum Architecture - Family Creation
    Replies: 13
    Last Post: August 8th, 2013, 07:58 PM
  5. How to print that all lines would be thick lines?
    By bangobeat in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: July 14th, 2011, 08:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •