How to model sand grains in Mged, i have to use them in the hourglass . Also if i could create a group or something related to that so there wouldn't be a lot of stuff in the ls command
clone or Pattern Tool
don't worry about what they look like (e.g., a regular or circular grid)
What about Gravity ? how to use that in mged ?
there's typically no problem with 10's or even 100's of thousands of objects in a database
that's a complex topic :)
This is out of date and requires a custom compile of BRL-CAD to even work, and may not even be working right now if it is enabled, but the "simulate" command turns on gravity: http://brlcad.org/wiki/MGED_CMD_simulate
it's the same system doing this: https://www.facebook.com/brlcad/videos/10155107336943873/
yea i tried doing the simulate command everything was good until at the last step , error said the build of brl-cad was not compiled with Bullet Support
What Should i do now ?
Kinda helpless !
So as Simulate doesn't work in my build of mged is there any else way to enable gravity ?
I'm trying this task too but to make the sand, it takes more than two hours only to create and draw the spheres...
Same @Lucas Prieels
Wow, so many of you doing this task
Anyone help me on off-topic please.
@William Cook What do you need help with?
Yeah, tell us
Sec
@William Cook try to post it under the correct topic ;)
Look under no-topic
So, what is the question here exactly?
Im attempting to find the QT libraries. Are they downloaded seperate from the LibreCAD src files?
What Should i do now ?
I wasn't suggesting that you should run simulate -- I was saying that you should simply create a big grid of sand grains
@Rahil Malik that's basically just running the clone command maybe two times, or the Pattern Tool once
we can run simulate on it later -- it becomes a useful test case
I'm trying this task too but to make the sand, it takes more than two hours only to create and draw the spheres...
I don't understand, instead of cone, you want me to put sand grains(little) but cloning them and placing them at different places to make it look like a pile ?
I'm trying this task too but to make the sand, it takes more than two hours only to create and draw the spheres...
@Lucas Prieels that's because that's the wrong way. that's like the entire point of the task -- figuring out how to do it more efficiently than creating a bunch of spheres by hand. You need to create a million spheres ... so figuring out how to do that is kind of critical to the task.
@Siddharth ditto to you creating the sand grains wrong :)
@Rahil Malik no, they don't need to look like a pile -- they can/should be floating up in the air in the upper chamber
so a thousand grains in a single spot is Okay ?
@Sean as i can run the for loop and create 1000 copies of the grain at the same spot
in a single spot, no
that's invalid geometry
you create 1000 copies to place them in 1000 different spots -- the's the point of clone or pattern tool
you're basically doing something like this, without running the simulation: https://www.youtube.com/watch?v=k6nKC_DCh3o
I'm trying this task too but to make the sand, it takes more than two hours only to create and draw the spheres...
@Lucas Prieels that's because that's the wrong way. that's like the entire point of the task -- figuring out how to do it more efficiently than creating a bunch of spheres by hand. You need to create a million spheres ... so figuring out how to do that is kind of critical to the task.
I'm not doing them by hand, I'm using a loop but it took approximately 10 minutes just to make one layer. Maybe I'm trying to do too small spheres
that still sounds horribly wrong for some reason...
I can create a million spheres in less than a second
what's your code/loop/script doing? paste?
We use cp sand1 sand2
that still sounds horribly wrong for some reason...
Doesn't take 2 hours to make the particles but placing them is a lengthy process
better than that type clone in command line, it will show you how to use use it , you can set a difference between each clone and much more, just type clone in command line and it will show you the usage
if you want patterns use this
http://brlcad.org/w/images/9/9a/Principles_of_Effective_Modeling.pdf
pg 73 (Appendix E)
that still sounds horribly wrong for some reason...
Doesn't take 2 hours to make the particles but placing them is a lengthy process
this is a process that does not scale to the number of particles needed. seriously, there needs to be thousands of grains of sand. the grains if modeled ACCURATELY (this is a CAD system after all) means there should be thousands or 10's of thousands of grains of sand.
so the question is how can you make all that sand without running cp 10's of thousands of times (isn't going to happen) and without placing each grain individually (which also isn't going to happen)
if you want patterns use this
http://brlcad.org/w/images/9/9a/Principles_of_Effective_Modeling.pdf
pg 73 (Appendix E)
rather, this was the right answer
@Jeff Sieu were you able to figure out anything ?
Woah, it seems simple now, never read this pdf before
?
@Sean did you have a look at what i posted ?
@sean can we continue where we left ?
@vasugarg what does it have to do with sand grains??
@sean i am getting confused
where should i post it
there are too many topics
also pls can you tell from where i should start explaining things ?
?
@**Sean can we start ?
@vasugarg you should post it on the topic that we were talking on before or start a new topic. using Sand Grains topic is just wrong, confusing, and disrespectful to others to keep using it for a different topic. please find your old topic or start a new one.
@vasugarg Why have you created more 3+ topics for the same task?
@Siddharth i haven't
Last updated: Jan 09 2025 at 00:46 UTC