Results 1 to 5 of 5

Thread: Angled Tee

  1. #1
    Login to Give a bone
    0

    Default Angled Tee

    Hello This is Javier
    I am trying to create a program that draws an angle tee. I want to use the function (DTR), but my program fails to run properly. Please help me understand what I am doing wrong in my program. I understand that the stem in not implemented yet but its only the first part of the program. Wen I run the program it draws a weird shape.
    Thanks to anyone that can help me with my learning curve.

    Javier
    Attached Files Attached Files

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,103
    Login to Give a bone
    0

    Default Re: Angled Tee

    Your Angled-Tee2 routine needs to actually call the DTR routine. For each of your four polar function calls, update the angle with a call to DTR with the desired degree angle.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    560
    Login to Give a bone
    0

    Default Re: Angled Tee

    As all the angles are at 90 degrees etc it simpler to work directly in radians.

    Code:
    90= (/ pi 2.0)
    180 = pi
    270 = (* pi 1.5)
    
    or
    in a autoload library
    
    (setq a90 (/ pi 2.0))
    (setq a270 (* pi 1.5))
    (setq a45 (/ pi 4.0))
    
    (setq pt2 (polar pt1 a90 dist))

  4. #4
    I could stop if I wanted to
    Join Date
    2005-06
    Location
    CORDOBA-ARGENTINA
    Posts
    275
    Login to Give a bone
    0

    Default Re: Angled Tee

    Así debe quedar

    Code:
     (setq p1 (POLAR IP (DTR 0) OF));This will create a point p1 form the initial point in the direction of 0 a distance of OF;
      (setq p2 (polar p1 (DTR 90) T1));This will create a point p2 form p1 in the direction of 90 up a distance of T1;
      (setq p3 (polar p2 (dtr 180) CL));This will create a point p3 from p2 in the direction of 180 to the left of p2 a distance of CL;
      (setq p4 (polar p3 (DTR 270) T1));This will create a point p4 form p3 in the direction of 270  down a distance of T1;
    Pero para el caso de la T en angulo distinto de 90 , te conviene hacer una tabla en XLS y luego guardarla comos CSV . Y con un LISP lo haces de un solo golpe.

  5. #5
    I could stop if I wanted to
    Join Date
    2005-06
    Location
    CORDOBA-ARGENTINA
    Posts
    275
    Login to Give a bone
    0

    Default Re: Angled Tee

    un ejemplo de los dos primeros perfiles , estan en mm .
    Attached Files Attached Files

Similar Threads

  1. 3D angled column
    By reneerapt in forum Revit Structure - Families
    Replies: 3
    Last Post: 2009-04-11, 06:07 AM
  2. Angled Walls??
    By paysna in forum Revit Architecture - General
    Replies: 12
    Last Post: 2009-02-12, 07:52 PM
  3. Angled Counter
    By ChappyEight in forum Revit Architecture - Families
    Replies: 14
    Last Post: 2008-12-18, 05:09 AM
  4. Angled Baluster
    By michael.montagne in forum Revit Architecture - General
    Replies: 2
    Last Post: 2007-11-05, 10:12 PM
  5. Angled Counter Top
    By nnguyen in forum Revit Architecture - Families
    Replies: 4
    Last Post: 2006-02-15, 06:58 PM

Posting Permissions

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