AutodeskAILab / Fusion360GalleryDataset

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

seg format file How is it defined #104

Open wll0307 opened 2 months ago

wll0307 commented 2 months ago

I just know how the data is defined by the seg, and I just know what it is ExtrudeSide ExtrudeEnd CutSide CutEnd Fillet Chamfer RevolveSide RevolveEnd But now I have a question about how I export the SEG format as my tags

JoeLambourne commented 2 months ago

Hi @wll0307,

Thank you for your question. I believe you mean "which segment index corresponds to which label". This information is in the file segment_names.json which should be in the root folder when you unzip the dataset. The values are. The segment index in the .seg files are indices into this list.

cat segment_names.json
[
    "ExtrudeSide",
    "ExtrudeEnd",
    "CutSide",
    "CutEnd",
    "Fillet",
    "Chamfer",
    "RevolveSide",
    "RevolveEnd"
]

Let me know if you need further assistance

wll0307 commented 2 months ago

Hello@JoeLambourne I mainly wanted to try to build my own data labels, but I didn't know how Can you provide an example of how a tag can be associated with a fragment or a script to retrieve the seg file?