Hiding vertical lines in holes in Prisms

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

Viewing 8 reply threads
  • 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.

      James M

    • #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

      James M

    • #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 22 - Mac OS

    • #3272
      James Murray
      Participant

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

      James M

    • #3275
      Barry Kelly
      Participant

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

      Barry.

      Attachments:

      Versions 6.5 to 22
      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 22 - Mac OS

    • #3279
      Péter Baksa
      Keymaster

      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
      Library Platform, Software Engineer
      GRAPHISOFT SE

    • #3280
      Joachim Sühlo
      Participant

      In AC 19 as well as in 20.

      GDL Object Developer
      b-prisma
      MAC OSx 10.14

    • #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 22
      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

Viewing 8 reply threads
  • The forum ‘3D modelling’ is closed to new topics and replies.