Running interference check during animation or in animation workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was wondering if it's possible to run an interference check at each animation step, if you create an animation.
I've thought about this before and maybe writing a python script to do this, however if I can use already or mostly already built-in functionality that would save a lot of time.
What I need is to verify if something I designed (complex puzzle) actually works as intended as there are a substantial amount of internal (non-visible) components, that move in straight lines, at specific intervals along those lines I need to verify there isn't any interference (this would indicate that a piece actually can't be moved that way, basically checking/verifying the solution). For now you can assume that the moves along each line are in increments of 5 mm, and I want to check for interference every 2.5 or 1 mm.
The original idea before would be write a a script that saves each component position/orientation, as well as camera position (when clicking a record button/shortcut) and then calculate the distance between each move and add steps/positions at regular set intervals (2.5mm by ex). Then run an interference check/detection and spit out a list of interferences/results once it has calculated them for all positions on that list.
However the animation workspace seems to do most of that work already, however I can't run an interference detection in said workspace, nor do I see a way to export a positions/orientations list. Should I know where/how to get it, I think I should be able to botch a script together that would be able to do this for.
Any help on this would be greatly appreciated. As why I'm not doing this by hand, the puzzle has over 150 steps to open, with each step requiring generally more than 3/4 checks at set intervals. This would mean probably running over a 1000 interference detections, with moving the components by hand each time (all manually), while making sure I never make a mistake in the moves and with no way to verify afterwards if the moves I did were correct. I think it should be obvious how error prone that is and time consuming.