Page 1 of 3 123 LastLast
Results 1 to 10 of 22
Like Tree10Likes

Thread: Easy Parametric Polygons

  1. #1
    Senior Member sdbrownaia's Avatar
    Join Date
    December 20, 2010
    Posts
    794
    Current Local Time
    08:16 AM

    Easy Parametric Polygons

    Has anyone figured out how to make a 5,6,8 etc. sided polygon easily parametric? You would think since on creation it is defined by a radius that you could "keep it grouped" or something so you could use one parameter, but I have to make multiple ref planes to make it work.

    any ideas?

  2. #2
    Autodesk Scott D Davis's Avatar
    Join Date
    March 5, 2011
    Location
    Southern California
    Posts
    613
    Current Local Time
    05:16 AM
    Conceptual modeling tools: use a ref line circle and place points on the circle. Use the Measurement Type parameter for the point, set it to angle, and specifiy the appropriate angle for that point whether its a 5,6,8 etc sided poly. The connect the points 2 at a time using spline through points.

  3. #3
    Senior Member ekkonap's Avatar
    Join Date
    May 23, 2011
    Location
    Netherlands
    Posts
    524
    Current Local Time
    02:16 PM
    Tried it for a detail component, started with one polygon segment, constructed by a connenction between the intersection of circle reference line with parametric radius and refencre line from circle origin to circle with parametric angle. See image. As you said, didn't work. Easy Parametric Polygons-clipboard01.jpg

    I have more faith in constructing the segment from the hypothenusaEasy Parametric Polygons-clipboard02.jpg, using the formula's by Munkholm for arc length. http://www.revitforum.org/tutorials-...day-usage.html

    load into another family, link parameters and make a parametric circular array. Will probably work for model families as well, not so sure about profiles.

  4. #4
    Moderator
    "Mark Twain"
    mdradvies's Avatar
    Join Date
    December 16, 2010
    Location
    Boxtel, Netherlands
    Posts
    4,553
    Current Local Time
    12:16 PM
    You guys are overthinking it... You just need a set of points which you can align and lock the lines to. See attached...

    I attached a detail component family. Inside is a nested DC which is arrayed in a circular array 6 times. The nested component simply is a corner of two line pieces on the default refplane. I tried using the circular refline's center first, but that doesn't work (you can delete it). Made the lines not visible so they won't bother you in the parent family.

    In the parent I drew some lines from endpoint to endpoint and constrained them. That's a bit of a hassle since you need to constrain the endpoint of the lines. Lot's of tabbing (hint: use shift+tab cause the option to constrain the endpoints is the third from the end) but it get's the job done nicely. And presto: it's done: the radius is now parametric.

    As for the amount of corners in the polygonic form: that would probably be doable too, but I'm guessing you'll need some major trig and another level of nesting. When you make the child family's marker lines visible again you can see that these lines rotate too. So if you were to nest the child into a second family, and calculate angle and length of the line there (based off course on the radius) you would probably be able to construct the entire polygon based on a circular array of the second family... If you get my drift here.

    If not: I feel a blog post coming on...
    Attached Files Attached Files

  5. #5
    Revit Maestro Dimitri Harvalias's Avatar
    Join Date
    January 8, 2011
    Posts
    128
    Current Local Time
    05:16 AM
    Simple is always clever (or should it be cleverer?)
    Nicely done MdR.
    (Not sure where it's broken but all the internal angles are not the same)
    Last edited by Dimitri Harvalias; January 11th, 2012 at 09:55 PM.

  6. #6
    Forum Co-Founder Alfredo Medina's Avatar
    Join Date
    December 7, 2010
    Location
    Orlando, FL, USA | info@planta1.com
    Posts
    2,788
    Current Local Time
    08:16 AM
    This is a parametric circumscribed polygon, of any radius and any number of sides. Well, from 3 sides to... how many can you specify until Revit complains?
    Attached Thumbnails Attached Thumbnails Easy Parametric Polygons-polygons.jpg  
    Last edited by Alfredo Medina; July 17th, 2012 at 04:20 PM. Reason: changed image
    mark b, ekkonap, ikinks and 6 others like this.

  7. #7
    Revit Maestro Dimitri Harvalias's Avatar
    Join Date
    January 8, 2011
    Posts
    128
    Current Local Time
    05:16 AM
    Elegant Alf. Kudos

  8. #8
    Moderator mark b's Avatar
    Join Date
    December 7, 2010
    Location
    NSW Australia
    Posts
    1,424
    Current Local Time
    10:16 PM
    Quote Originally Posted by Alfredo Medina View Post
    This is a parametric circumscribed polygon, of any radius and any number of sides. Well, from 3 sides to... how many can you specify until Revit complains?
    nice ! very very nice !

  9. #9
    Senior Member ekkonap's Avatar
    Join Date
    May 23, 2011
    Location
    Netherlands
    Posts
    524
    Current Local Time
    02:16 PM
    nice. forgot that a polygon by defenition goes all the way round, AND that the radius for a cicular array can be labeled. oh well, we live and learn.
    seems that to rotate the entire thing it needs to be nested again though.

  10. #10
    Senior Member sdbrownaia's Avatar
    Join Date
    December 20, 2010
    Posts
    794
    Current Local Time
    08:16 AM
    Now why couldn't revit have just coded them to keep the value in the first place.

    Beautiful work by the way.

Page 1 of 3 123 LastLast

Similar Threads

  1. Is there any easy way to create a sheet with all windows & doors listed and shown?
    By spotless in forum Architecture and General Revit Questions
    Replies: 32
    Last Post: October 6th, 2012, 06:40 AM
  2. Replies: 0
    Last Post: November 10th, 2011, 02:45 AM
  3. Replies: 0
    Last Post: November 8th, 2011, 11:45 PM
  4. Replies: 0
    Last Post: November 6th, 2011, 11:15 AM
  5. David Light: Creating custom fill patterns the easy way
    By David Light Blog in forum Blog Feeds
    Replies: 0
    Last Post: September 9th, 2011, 10:30 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
  •