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

    Question to D. Bur about Cloud v8

    Scheduled Pinned Locked Moved Plugins
    1 Posts 1 Posters 239 Views 1 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Points cloud triangulation will only make a triangulated 'mesh'.
      The delauney algorithm that optimizes this mesh also expects not point to be vertically above another.
      It will still make a mesh but the result probably won't be what you expected !
      So something as simple as a box of 8 cpoints will fail to be made as you want if any sides are vertical.
      So if you expect there are vertical edges in your data you need to devise a way to tell your code which belong to each separate flat face and pass those to be 'meshed' - processing each face in turn. That way delauney is avoided a,d the faces get returned as expected, albeit perhaps triangulated - unless you are always confident that the face's points are in the correct c/c-wise order to avoid that too...
      Instead of having each point's X,Y,Z values on separate lines perhaps have all points for one face on one line with each point's X,Y,Z separated by a ', ,' gap [or perhaps a ',|,' or ',:,'] so as the line is read your code can 'split' it into separate XYZ point-sets which are then split into the X, Y and Z values and make a face, then do the next line and its face etc...
      OR keep the XYZ points in a column and when the face changes X becomes 'EOF' so your code knows where the face ends and the next one starts...

      TIG

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

      Advertisement