AutodeskAILab / Fusion360GalleryDataset

Data, tools, and documentation of the Fusion 360 Gallery Dataset
Other
408 stars 49 forks source link

About some variables in the part drawing #96

Closed CodingNovice7 closed 1 year ago

CodingNovice7 commented 1 year ago

I am sorry to open another issue, because I am trying to parse the B-REP structure of your provided graph file to JSON format, and I found some variables that are not very clear by comparing your part graph in assembly_joint dataset.

  1. For example, point_on_face_x(y,z), there are so many points on a face, how is this point selected?
  2. Some faces have both normal and axis and their values are not the same, how are these two geometrically determined?
karldd commented 1 year ago
  1. Take a look at the documentation here: "a sample point guaranteed to lie on the face's surface, within the face's boundaries, and not on a boundary edge". In practice this point is usually at the center of the face, but that doesn't look to be guaranteed.

  2. What properties are available depends on the type of surface. The code for find_axis_line_from_face(face) shows how the various properties are used to obtain the joint axis. For documentation, take a look at the derived classes under the Surface class. For example, Cylinder.

CodingNovice7 commented 1 year ago

Sorry, this issue was caused by some operational problems of mine, sorry for opening a useless issue!