Skip to content

Conversation

Nexisato
Copy link
Contributor

@Nexisato Nexisato commented Mar 2, 2024

Add Object3D class,

  • Support data_or_path parameters:
    • str: 3d model files end with: (obj, gltf, glb, babylon, stl, pts.json)
    • bytes.IO: write with pts.json format
    • numpy.array: write with pts.json format,
      array shape requirements:
      (N, 3) : N * (x, y, z) coordinates
      (N, 4) : N * (x, y, z, c) coordinates, where c in range [1, 14]
      (N, 6) : N * (x, y, z, r, g, b) coordinates

Closes: #322

@Nexisato Nexisato requested review from SAKURA-CAT and Zeyi-Lin March 2, 2024 12:19
@Zeyi-Lin Zeyi-Lin added this to the v0.2.2 milestone Mar 3, 2024
@SAKURA-CAT SAKURA-CAT merged commit f0f52d8 into main Mar 4, 2024
@SAKURA-CAT SAKURA-CAT deleted the feat/object3d-chart branch March 4, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] class Object3D

3 participants