Drawing Tests with the bisect mode and OpenCascade mode

edited September 1 in General

@Moult, per your request, i ran some drawing tests with the bisect mode and OpenCascade mode.

One discernable difference was when the OpenCascade mode was used on FLOOR PLAN - 1ST FLOOR
Here's a GIF showing the differences:

The other apparent glitch is that sometimes, the background projection lines don't seem to show up. This however, seemed inconsistent. Sometimes it worked, others it did not. Will keep an eye out if it's consistently reproducible.

AceduarteframosJohn

Comments

  • This is super useful thankyou.
    I found with one model switching between bisect / Opencascade and freestyle kinda broke the fill pattern congruency for all of them, but haven't been able to repeat it yet, I'll put screenshots if I see it again.

  • edited September 3

    I'm a little confused. There are three modes here: Linework mode, Fill mode, and Cut mode.

    • Linework mode: choose between OCC and Freestyle. This affects background / projection linework. If you choose OCC, you then have the option to have background fills (determined using Fill mode), and you also get to choose your cut mode. If you choose Freestyle, background fills are not supported, and you cannot choose your cut mode (it defaults to Bisect under the hood)
    • Fill mode. Only available if you choose OCC for the Linework mode, since it isn't supported in Freestyle. Choose between Shapely or SVGFill. This only affects the ability to "fill" in the background.
    • Cut mode. Only available if you choose OCC for the Linework mode, since you only have one choice in Freestyle (Bisect). Choose between Bisect or OCC. This only affects cut objects - it shouldn't affect anything in the background.

    So are you testing the Cut mode or Linework mode? Because the differences in your Gif are not cut elements, and so therefore Bisect doesn't apply.

    Edit: I downloaded https://hub.openingdesign.com/OpeningDesign/Restaurant_MPM/src/commit/4a4eeca7b4d36ba99c2f0e79b495213510d63106/Open/Models/BlenderBIM/Restaurant_MPM.ifc and ran FLOOR PLAN - 1ST FLOOR with the Cut mode set at Bisect vs OCC and saw minimal differences.

    My goals are to 1. make Bisect more robust than OCC's cut 2. see where we can improve Freestyle, knowing that it'll probably always fall a bit short of OCC.

  • These tests where only done comparing with 'Cut Mode'.
    Will post other anomalies, if come across them.

  • That's really strange, I also only changed Cut mode and I didn't see those differences. Perhaps I need to have the full blend file with raster underlay and all the style settings? How do I download your complete project setup?

  • You can clone that entire repo. Do you have a pgp key? Will unlock the od_textures submodule.

  • edited September 4

    @theoryshaw said:

    Here's a GIF showing the differences:

    The other apparent glitch is that sometimes, the background projection lines don't seem to show up. This however, seemed inconsistent. Sometimes it worked, others it did not. Will keep an eye out if it's consistently reproducible.

    Could you please share what app you used to make these GIFs? I'm curious!

  • https://getsharex.com/
    Basically just a screencapture, and me flipping between svg's manually. :)

    Roel
  • @theoryshaw said:
    https://getsharex.com/
    Basically just a screencapture, and me flipping between svg's manually. :)

    Thanks. I installed ShareX but I didn't know that it had a feature to make GIFs.

  • edited September 5

    The following flips between OpenCASCADE and Freestyle Linework Mode.
    The noticeable glitch is that the wall is not clipped, or voided out, with OpenCASCADE Linework Mode.
    fyi...the void is applied to the aggregate that the wall is in.
    file: https://hub.openingdesign.com/OpeningDesign/Rae_Living_Room_Ext/src/commit/ac13f1ecba1037043209597ac9ad14c6bc998746/Open/Models/BlenderBIM/Rae_Living_Room_Ext.ifc

    Ace
  • when you enter the mode to see the aggregate's voids, and then exit that mode, the voids go away....
    https://community.osarch.org/uploads/editor/o4/1m4g7v3702w2.mp4

  • edited September 9

    Yeah, some odd behavior, there's time when the projection lines go missing, and then when you run it again, they reappear.
    see gif, when note that shows what the cut mode is.
    These are all in 0.8.0, btw.

  • edited September 9

    Same quirky behavior happens with cut mode: Bisect, as well...

    emiliotasso
  • @theoryshaw said:
    when you enter the mode to see the aggregate's voids, and then exit that mode, the voids go away....
    https://community.osarch.org/uploads/editor/o4/1m4g7v3702w2.mp4

    nevermind, 'Shift + G' fixed this.

Sign In or Register to comment.