Hiding vertical lines in holes in Prisms

Home Forums Problems and solutions in GDL 3D modelling Hiding vertical lines in holes in Prisms

This topic contains 8 replies, has 5 voices, and was last updated by  Barry Kelly 3 months, 3 weeks ago.

  • Author
    Posts
  • #3269

    James Murray
    Participant

    I would call this a bug. It is not possible to hide the vertical lines in a curved hole (with either 13 or 79), unless the enclosing polygon uses 13 or 79 as its last status, which results in hiding a line that should be shown.

    
    hA = A/2
    
    PRISM_ 7, 1,
        0, 0, 15,
        A, 0, 15,
        A, B, 15,
        0, B, 79,
        0, 0, -1,
    
        hA, hA, 900,
        hA/2, 360, 4013
    

    If you change the last 79 to 15, the lines within the hole will show.

  • #3270

    James Murray
    Participant

    OK, here’s the code since it’s not showing:

    hA = A/2

    PRISM_ 7, 1,
    0, 0, 15,
    A, 0, 15,
    A, B, 15,
    0, B, 79,
    0, 0, -1,

    hA, hA, 900,
    hA/2, 360, 4013

  • #3271

    David Maudlin
    Participant

    James:

    This will work:

    hA = A/2

    PRISM_ 8, 1,
    0, 0, 15,
    A, 0, 15,
    A, B, 15,
    0, B, 15,
    0, 0, 79,
    A, 0, -1,

    hA, hA, 900,
    hA/2, 360, 4013

    Maybe one of the Graphisoft folks can chime in if there is a better solution, or if this has an inherent problem.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 21 - Mac OS

  • #3272

    James Murray
    Participant

    That’s… interesting? I’d rather they just fixed it. Thanks for looking.

  • #3275

    Barry Kelly
    Participant

    Is it just a MAC thing?
    I see no difference for either script.

    Barry.

    Attachments:

    Versions 6.5 to 20
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • #3277

    David Maudlin
    Participant

    Barry:

    Look at the other side of the Prism.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 21 - Mac OS

  • #3279

    Péter Baksa
    Participant

    Hi James,

    yes, this is a bug, we’ve discovered it just recently, there will be a solution in ArchiCAD21 to fix this.
    Use TUBE instead of PRISM until then:

    TUBE 7, 4, 1 + 2 + 16 + 32,
    
        0, 0, 0,
        A, 0, 0,
        A, B, 0,
        0, B, 0,
        0, 0, -1,
    
        hA, hA, 900,
        hA/2, 360, 4001,
    
        0, 0, -1, 0,
        0, 0,  0, 0,
        0, 0,  1, 0,
        0, 0,  2, 0

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • #3280

    Joachim Sühlo
    Participant

    In AC 19 as well as in 20.

    GDL Object Developer
    b-prisma
    MAC OSx 10.11

  • #3284

    Barry Kelly
    Participant

    Barry:

    Look at the other side of the Prism.

    David

    Ahh I see.
    Sorry I was looking for the lines in the hole.

    Barry.

    Versions 6.5 to 20
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

You must be logged in to reply to this topic.