YujiaLiu76 / point2cad

Code for "Point2CAD: Reverse Engineering CAD Models from 3D Point Clouds"
Apache License 2.0
231 stars 26 forks source link

Topo.json #4

Closed PPzpower closed 3 months ago

PPzpower commented 6 months ago

Can you share the code for visualizing Topo.json?

YujiaLiu76 commented 5 months ago

Visualizing a Topo.json file is straightforward. For visualizing corners, simply maintain their xyz coordinates and display them as such. For edges, they are represented as polylines, which means you just need to keep track of the points and their connecting pairs of indices to show them.