sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Soften coplanar ?

    Scheduled Pinned Locked Moved Developers' Forum
    22 Posts 4 Posters 2.0k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tt_suT Offline
      tt_su
      last edited by

      Yes, you never know.

      1 Reply Last reply Reply Quote 0
      • jolranJ Offline
        jolran
        last edited by

        entities.fill_from_mesh(mesh, true, 2 | 8) is working nicelly, but a small gotcha..


        %(#FF0000)[mesh.add_polygon(1,2,3)
        mesh.add_polygon(2,3,4)]

        Does gives hard edges, as expected.

        %(#FF0000)[mesh.add_polygon(1,-2,3)
        mesh.add_polygon(-2,3,4)]

        gives hard soft edge between Points 2, as expected.

        but so does this:

        %(#FF0000)[mesh.add_polygon(1,2,3)
        mesh.add_polygon(-2,3,4)]

        or

        %(#FF0000)[mesh.add_polygon(1,-2,3)
        mesh.add_polygon(2,3,4)]


        So I'm starting to see some trouble with this method. To be able to stear edge visibility one need to use 2 Points in comparison. For ex a Collection of edge.start and end positions.
        For a triangulated quad this works but not if the face has innerloops,
        Or faces where triangulation is splitting the face without hitting innerloops.

        Was to fast here..
        The docs actually explains this behavior, "value of [-1, 2, 3] indicates that the edge from 1 to 2 is hidden"

        1 Reply Last reply Reply Quote 0
        • 1
        • 2
        • 2 / 2
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement