Export the Faces

DELFTship forum Feature requests Export the Faces

Viewing 4 reply threads
  • Author
    Posts
    • #34201
      Jensen
      Participant

      I have developed a potential flow code, which is quite flexible with the shape and size of the panel model etc. I would like to try to use the subdivision surface directly as panels. Is there a way to dump the corners and connections of these subdivision surfaces?

    • #34202
      Marven
      Keymaster

      Maybe you can be more specific to what information you exactly need?

      For instance:

      • Do you only need the corner points of each panel
      • Should the panels be rectangular, triangular or are panels with more than 4 points also acceptable
      • Will you need the underwater part only or the complete hull
    • #34204
      Jensen
      Participant

      The use is
      1. list of corner points:
      point_number x y z
      point_number x y z

      2. list of panels i.e. the numbers of the corner:
      number_of_corners (i,e. 3,4,5,6)
      point_number point_number…
      number_of_corners (i,e. 3,4,5,6)
      point_number point_number…

      But of course any other listing from which the above information can be generated is useful.

      The number of corners can be from 3 to 6.
      The paneling should extend beyond the waterline. The actual dynamic waterline including the effect of waves and trim and sinkage is found during the calculation.

      jensenigu

    • #34206
      Marven
      Keymaster

      That’s a fairly flexible format then.
      have you tried the Wavefront (.Obj) export format of Delftship yet? See the attached file, it contains exactly what you need: Fist a list of vertices, then the faces connecting them. All vertices are specified once. [file name=test.txt size=14299]http://www.delftship.net/delftship/media/kunena/attachments/legacy/files/test.txt[/file]

      Attachments:
    • #34207
      Jensen
      Participant

      Thank you,
      that is exactly what I can use for further precessing!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.