PRISM defined by user

Home Forums General discussions PRISM defined by user


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

  • Author
  • #4098

    Achilleas Pavlidis


    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


    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

You must be logged in to reply to this topic.