Range of motion is not working properly. Collision angle is 5 and 172 degree. But it stops in between but angle reads 172. How to fix it?
Range of motion is not working properly. Collision angle is 5 and 172 degree. But it stops in between but angle reads 172. How to fix it?
John Stoltzfus wrote:
Maha Nadarasa - I need to direct you to Alin Vargatu's 11th Challenge and take a look at my post using a Spline Line for mates
I couldn't see any 11th Challenge but I see the following. Did you mean this?
The 17th SOLIDWORKS Power-User Challenge - Round Stock Feature (Programming Challenge)
John,
I have finally got a chance to try out the mate strategy you suggested in the 11th power user challenge on a robot model here. I made a small change: Rather than mating the point coincident with the line, I made a Path Mate using the point and the spline. The reason I did so is because the concident mate is not a valid mate for use in a Mate Controller, whereas the Path Mate is. You do have to set the Path Mate to 'Distance Along Path' or 'Percentage Along Path' to make Mate Controller recognise it, but that's OK.
The mating strategy works extremely well, resulting in the most representative robot model we have ever had! Thank you for your hard work.
However: The Mate Controller does not like the last 4 or 5% of the path.
For example, I made a joint with +/-185 degrees (like the PU Challenge) and at zero% the axis was correctly 5 degrees past parallel, but at 100% it was parallel.
I checked it, and all the joints behaved similarly, irrespective of their overall range, less than a full rev or several revs.
I have attached a simplified assembly that exhibits the strange behaviour.
It's not too much of a problem, I can fiddle it by extending the spline so the 96% of travel gives me the angle I want, but I wondered whether it was me, or a bug, or a feature?
SW 2018, SP3
Cheers,
John
John Wayman - I'm glad it's working for you, good to know I can give back to the community that gave me so much.. This would be a really good reason to contact your VAR and have them help you establish a ER. All you need to say is that you want a coincident mate to work with the Mate Controller, then you could fine tune your design intent..
Later,
John
Maha Nadarasa - I need to direct you to Alin Vargatu's 11th Challenge and take a look at my post using a Spline Line for mates like this. I don't use Angle or Limited Distant mates for any movable model.
It will take a little bit to study the process and what/how you need to approach a design like this, but once you learn it, you will never want to do it another way...
To make a spline circle or spline partial circle, draw a circle and make the line a construction line, then split up the circle with the Split Entities Sketch tool and then draw a spline line, add this sketch in one part and the other part you just need a sketch point, mate those two together coincident and now your distance of travel is only as long as your spline sketch...