yunshengtian / Assemble-Them-All

[SIGGRAPH Asia 2022] Assemble Them All: Physics-Based Planning for Generalizable Assembly by Disassembly

Home Page:http://assembly.csail.mit.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/subdivide_batch.py // edge_length_dict // dose not exist

Ludwig-Karl opened this issue · comments

Hello, thank you very much for the work you have done. Can you help me with subdeviding the meshes.

for all processes I get this:

Process Process-6: Traceback (most recent call last): File "/opt/conda/envs/assembly/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap self.run() File "/opt/conda/envs/assembly/lib/python3.7/multiprocessing/process.py", line 99, in run self._target(*self._args, **self._kwargs) File "/mnt/Assemble-Them-All/utils/parallel.py", line 6, in parallel_worker result = worker(*args) File "/mnt/Assemble-Them-All/assets/subdivide.py", line 98, in subdivide_assembly new_mesh = subdivide_to_size(mesh, max_edge) File "/mnt/Assemble-Them-All/assets/subdivide.py", line 34, in subdivide_to_size longest_edge_length = edge_length_dict[longest_edge] KeyError: (12338, 12300)

Hi @Ludwig-Karl ,

This error is because the dependency library sortedcontainers in subdivide.py seems to have issues on different platforms. I will later post a shared link to the subdivided meshes.

I'll close it if there is no further issues