PRISM defined by user

Home Forums General discussions PRISM defined by user

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Péter Baksa 2 weeks, 4 days ago.

  • Author
    Posts
  • #4098

    Achilleas Pavlidis
    Participant

    Hi,

    I’m new to gdl, and I’m trying to create an object that is basically a PRISM but with the number of edges defined by the user.
    Is this possible?

  • #4099

    Péter Baksa
    Participant

    Hi,

    short answer: yes.

    But you can’t do it like eg. the slab tool, where the user can draw a polygon. You have to add parameters to control the number of sides, and each vertex’s coordinates. Use editable hotspots on the vertices to let the user change them easily.

    Another possibility starting with AC21 is to use a profile parameter: the user can edit the profile in the profile editor as a drawing, and your object will change accordingly.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

You must be logged in to reply to this topic.