ipc-sim / codim-ipc Goto Github PK
View Code? Open in Web Editor NEWSource Codes for Codimensional Incremental Potential Contact (C-IPC)
Home Page: https://ipc-sim.github.io/C-IPC/
License: Apache License 2.0
Source Codes for Codimensional Incremental Potential Contact (C-IPC)
Home Page: https://ipc-sim.github.io/C-IPC/
License: Apache License 2.0
I was wondering about the meaning of muComp
variable. If I understand correctly, mu
is used as the coefficient of friction between all objects in the simulation. I don't yet understand what happens when both mu
and muComp
are set.
For example 6_cloth_on_rotating_sphere.py
mu
and muComp
are set like so:
sim.mu = 0.4
sim.muComp = StdVectorXd([0, 0, sim.mu, 0, 0, sim.mu, sim.mu, sim.mu, 0.1])
What does the muComp
vector mean here and how can we use it?
Hello,
Thanks for the great work. It seems, that the mkl-include and mkl-static packages are no longer available at the old urls. Could you update or let me know how to fix this? Thank you very much!
error: downloading 'https://anaconda.org/intel/mkl-include/2021.3.0/download/linux-64/mkl-include-2021.3.0-intel_520.tar.bz2' failed status_code: 22 status_string: "HTTP response code said error"
Hi, thank you for sharing the code! I wonder if there is a way to process and output mesh with texture. If no, how do you render the result with texture? Thank you!
First, thank you for making this incredible work available publicly. In playing with this a bit to see if it might be useful for a specific application related to our research, it appears that the code assumes that the initial configuration of any rod is straight. For example, if a rod with a curved geometry is imported, a bending stiffness multiplier greater than zero will cause the rod to want to assume a straight orientation. Thus, for an example of a curled hair, there doesn't appear to be a way to define its curled reference configuration as a zero stress state. In other words, you could not deform that hair with a non-zero bending stiffness, release that boundary condition, and then have the hair return to its curled state. It would be wonderful if you could let me know if this a limitation of the current version of this code or am I missing something? Again, thanks for your outstanding contributions to the field.
Great job! I'm curious, how long will the code take to run? I've been running the garment simulation code for about half a day, and it's still going!
Dear author, thank you for opensourcing your excellent work.
How can I visualize the simulation? I see initialize_gui() function in SimulationBase.py. But I am not clear how to show gui. Thank you very much
Hi, I have built 4 test cases of stacked cards. But when the friction is set to 0, they do not work as expected. Without any forces other than gravity, the cards slide or even rotate. Besides, when the gravity is set to 0, the simulations of these test cases do not terminate and keep looping on searching alpha value. Also, the 3D meshes used in my test cases are the same as the meshes used in the file 8_precision_card_shuffle.py, and I am running the latest source code.
I wonder if my test cases are incorrect, there is a bug in the source code, the friction model is not appropriate, or anything else is wrong?
In all my test cases, I set the shells (cards and tables) apart by their thickness plus a 1e-5 offset; so, they are barely touching each other. The 4 test cases are designed as:
The code of my test cases is in the attached zip file. They can be run using the same way to run the C-IPC examples.
stacked_cards_tests.zip
Hi I'm trying to run the simulation, I'm able to run python batch.py, but it does not open a viewer, is that expected?
can you provide more documentation on how to run it with the example projects you provided?
Thank you
Thank you for this amazing piece of software and for open sourcing it.
I'm planning to use your software in an engineering research context. After playing around with it for a bit I was wondering if there is any way to get contact forces and other values like torques, internal foces, positions and velocities resulting from the simulation with the python bindings. I guess latter two can be calculated from the resulting obj files.
Hi, here is a test case where I put a card 0.001 meter above a table, with 0 friction and normal gravity. The simulation seems to be stuck after frame 6 in loops of searching for an alpha value. The other simulations parameters and meshes used are the same as those in 8_precision_card_shuffle.py example file. This example can be run in the same way running the original Codim-IPC exmaples.
one_card_above_table.zip
Hello, I have run your code examples successfully, and the results are great. I now want to simulate a clothed human model, but unlike the 5_garments.py example, I am using a complete mesh for the clothing instead of sewing patterns. Could you please advise me on how to modify the code? I changed sim.add_garment_3D to add_shell_3D, but it didn't work. I really need your help, and I appreciate it very much!
Hello! I'd like to say that what you've accomplish is amazing and this work looks very promising!
Is there a way to run the examples simulation on GPU (cuda)? I use ubuntu and have Nvidia card. Is CPU the only way? Is there a way to speed up things a little bit?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.