SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
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.
Tue Oct 15 2019, 20:17:10
(no subject) (by EvilSpirit)
Already implemented as prototype, waiting for merge into master branch https://www.youtube.com/watch?v=0QfQ0bUfED4
Fri Nov 8 2019, 10:39:32
(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?
Thu Nov 21 2019, 11:27:24
In which rnach is it implemented (by ruevs)
Hi Aleksey,

In which branch did you implement this? I would like t take a look.
Thu Dec 5 2019, 05:47:50
Good job (by DIV)
Good job, EvilSpirit / Alexey Egorov. I like the video.
—DIV
Fri Feb 19 2021, 22:57:46
(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?
Mon Feb 22 2021, 08:45:23
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.