USER FORUM
(you are viewing a thread; or go back to list of threads)
RFE: interaction of solid parts — "minimum distance" constraint (by DIV)
Hello.
It is great that there is ability already in SolveSpace to create LINKAGES to construct 'machines' in 2D or even 3D.
http://solvespace.com/linkage.pl
One nice feature to add would be ability for one object to 'push' another object only when they come into contact. For example, if I swing a hammer at a nail, at first the hammer moves freely and the nail is motionless; then when they 'connect', the nail is pushed (along an axis) at the same rate as the hammer's motion.
Another variant would be the ability of one object to 'prevent the motion' of another object _when_ they come into contact.
For example, if I swing a hammer at an anvil, at first the hammer moves freely and the anvil is motionless; then when they 'connect', the hammer cannot move any further.
I suspect that this would be difficult to implement as an 'automatic' feature, which is why I would like to make a suggestion (or a Request For Enhancement) for the implementation of a new "minimum distance" constraint.
Currently the distance between objects can be measured, or constrained to a constant value.
If it were possible to specify a _minimum_ (or _maximum_) value of the distance constraint, then a lot of interesting behaviour could be created.
Besides the effort to code it up, the only conceptual difficulty I foresee is how to count up the DOF. A min/max distance constraint would have a sort of fuzzy DOF effect: often no effect on DOF, but occasionally it would reduce the DOF, depending upon the positioning of the respective objects.
It is great that there is ability already in SolveSpace to create LINKAGES to construct 'machines' in 2D or even 3D.
http://solvespace.com/linkage.pl
One nice feature to add would be ability for one object to 'push' another object only when they come into contact. For example, if I swing a hammer at a nail, at first the hammer moves freely and the nail is motionless; then when they 'connect', the nail is pushed (along an axis) at the same rate as the hammer's motion.
Another variant would be the ability of one object to 'prevent the motion' of another object _when_ they come into contact.
For example, if I swing a hammer at an anvil, at first the hammer moves freely and the anvil is motionless; then when they 'connect', the hammer cannot move any further.
I suspect that this would be difficult to implement as an 'automatic' feature, which is why I would like to make a suggestion (or a Request For Enhancement) for the implementation of a new "minimum distance" constraint.
Currently the distance between objects can be measured, or constrained to a constant value.
If it were possible to specify a _minimum_ (or _maximum_) value of the distance constraint, then a lot of interesting behaviour could be created.
Besides the effort to code it up, the only conceptual difficulty I foresee is how to count up the DOF. A min/max distance constraint would have a sort of fuzzy DOF effect: often no effect on DOF, but occasionally it would reduce the DOF, depending upon the positioning of the respective objects.
(no subject) (by EvilSpirit)
Already implemented as prototype, waiting for merge into master branch https://www.youtube.com/watch?v=0QfQ0bUfED4
(no subject) (by app4soft)
> Already implemented as prototype, waiting for merge into master branch
Just curios, why this really useful feature not merged yet. Any issues or why?
Just curios, why this really useful feature not merged yet. Any issues or why?
In which rnach is it implemented (by ruevs)
Hi Aleksey,
In which branch did you implement this? I would like t take a look.
In which branch did you implement this? I would like t take a look.
Good job (by DIV)
Good job, EvilSpirit / Alexey Egorov. I like the video.
—DIV
—DIV
(no subject) (by Paul)
Why does it require "allow redundant constraints"? Also noticed that the rectangle comes apart when dragged beyond the range. It looks good, but maybe a little incomplete?
Post a reply to this comment: