uhzoaix / NerVE

Official implementation for NerVE CVPR2023
MIT License
24 stars 2 forks source link

How to make .feat file like ABC dataset? #1

Open Philipshrimp opened 9 months ago

Philipshrimp commented 9 months ago

I want to train and test your code using my CAD data, but my CAD data is a .stl file and I don't have any .feat feature files.

Other data, .step files and .obj files, can be converted directly. However, I don't know how to create the .feat file.

Assuming that learning is conducted with data other than the ABC dataset, how can I create a .feat file from a CAD model?

uhzoaix commented 9 months ago

The '.feat' file is mainly used to check if edges of a CAD model are 'sharp' edges(since we only consider sharp edges). So you don't have to create a new '.feat' file, but just filter all sharp edges in line 149 of utils/preprare_data/step_samples.py with your CAD models using other methods.

For definition of sharp edge, I am not sure if there is a standard, but you may find some clues in libararies like OpenCascade.