Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pynim needs too much to install! #34

Open
IgorAherne opened this issue Aug 25, 2024 · 1 comment
Open

pynim needs too much to install! #34

IgorAherne opened this issue Aug 25, 2024 · 1 comment

Comments

@IgorAherne
Copy link

IgorAherne commented Aug 25, 2024

pynim requires too much to run, the MVC++ Runtime, VS build tools and Visual Studio IDE.
That's just nuts! :D

If possible, please change it for something that's easier installed

I commented out the #import pynim in mesh.py and removed git+https://github.com/vork/PyNanoInstantMeshes.git from the requirements.txt.
In mesh.py its quad_remesh looks like this for now:

def quad_remesh(
        self,
        quad_vertex_count: int = 12_000,
        quad_rosy: int = 4,
        quad_crease_angle: float = 0.0,
        quad_smooth_iter: int = 2,
        quad_align_to_boundaries: bool = False,
    ) -> Mesh:
         # Return a new Mesh instance with the same vertices and faces. Because import pynim is commented out above:
    	return Mesh(self.v_pos.clone(), self.t_pos_idx.clone())

This allows to install SF3D smoothly, but unfortunately no quad-remesh :(

@vork
Copy link
Collaborator

vork commented Aug 28, 2024

There are not a lot of option for quad remeshing - so I'm afraid that this is the only option.

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

No branches or pull requests

2 participants