Block Constraint
Block Constraint
Recently the Block Constraint has been merged.
Basically allows to block a geometric element in place with a single constraint. I should be particularly useful to work with B-Splines.
More here:
https://forum.freecadweb.org/viewtopic. ... 76#p205303
If you find bugs, let me know here or in the development forum (always quote me so that I get a notification), as I would like to solve any bug before 0.17 release.
Thanks,
abdullah
Basically allows to block a geometric element in place with a single constraint. I should be particularly useful to work with B-Splines.
More here:
https://forum.freecadweb.org/viewtopic. ... 76#p205303
If you find bugs, let me know here or in the development forum (always quote me so that I get a notification), as I would like to solve any bug before 0.17 release.
Thanks,
abdullah
Re: Block Constraint
Thank you.
Re: Block Constraint
I am still to be surprised how people will use it, but for bsplines I think it is a must otherwise you may inadvertently drag a point, not realise it right away and ruin your b-spline contour.
Joel will probably use it in his Civil Engineering WB to freeze things in place and accelerate the solving of new addition in complex sketches...
I am sure people will come up with new uses.
Thanks to you too, as you are one of the guinea pigs that test my first concepts and helps shape the concepts into what is merged.
You, experienced during-development-testers, are vital for getting useful new features merged... What I want to say is that if what gets merged is not useful, it is not on me, you are to blame

Re: Block Constraint
Fair enough.
P.S. But it ends at issue reports. Those are hopefully still on you.
P.S. But it ends at issue reports. Those are hopefully still on you.

Re: Block Constraint
Abdullah, you have freed us from wrong usage of the tangent+coincidence constraint, but I'm afraid we will get more like this problem https://forum.freecadweb.org/viewtopic. ... 07#p218558 where the block constraint yields a solved sketch which pretends to be sensible.
But I will rather have a good tool with problems on wrong usage than a bad tool leading to bad results even on proper usage.
But I will rather have a good tool with problems on wrong usage than a bad tool leading to bad results even on proper usage.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Block Constraint
I have destroyed a fair amount of screws and forks using a fork as screwdriver and I have destroyed a fair amount of screwdrivers using them as chisels.chrisb wrote: ↑Tue Mar 06, 2018 4:43 pm Abdullah, you have freed us from wrong usage of the tangent+coincidence constraint, but I'm afraid we will get more like this problem https://forum.freecadweb.org/viewtopic. ... 07#p218558 where the block constraint yields a solved sketch which pretends to be sensible.
But I will rather have a good tool with problems on wrong usage than a bad tool leading to bad results even on proper usage.
It has been interesting to see how the block constraint was being used in this case. It will have to be transmitted that blocking per se is not a meaningful way of constraining. It does not actually enforce a geometric relation. It just freezes the thing in place and you can not have enough precision to exactly locate things in place and block them.
What I was expecting is that people will (mostly wrongly) use it to remove those remaining DoF that are impossible to find. And I say wrongly because if you do not know when the DoF is missing is mostly a bad idea to use the block constraint to get away with a "fully constrained sketch". It is what triplus once said is an obsession to have "fully constrained sketches" for the sake of having them so. The DoF finder, when merged, will help a lot to avoid this (mis)use case.
I still think that the main use of the Block constraint is for "artistic work", when you do not care about a geometric definition, but you are happy about how it appears. Of course you do need at least coincidences so that things are closed.
Anyway, I still get mad when I need an screwdriver and the one I find is the one I used as a chisel...

Re: Block Constraint
Very well said. Until now I have used block constraint successfully to find DOFs or to quickly freeze some elements. But the real use is e.g. after having imported e.g. an SVG with lots of points where some modifications have to be made. It's wonderful for that.abdullah wrote: ↑Fri Mar 09, 2018 4:55 pm I still think that the main use of the Block constraint is for "artistic work", when you do not care about a geometric definition, but you are happy about how it appears. Of course you do need at least coincidences so that things are closed.
Anyway, I still get mad when I need an screwdriver and the one I find is the one I used as a chisel...![]()
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Block Constraint
When a proposal is made it makes sense to think about it from more angles. If you want to evaluate it fully. Nice to see some assumptions where spot on.

+1The DoF finder, when merged, will help a lot to avoid this (mis)use case.
That is the thing with FreeCAD tools. You find users are using screwdriver as a chisel at times. You tell them not to and point them to the right tool that does the job better. But if the original approach bare fruit that is OK in the end too. The tool did the job. And that is that.Anyway, I still get mad when I need an screwdriver and the one I find is the one I used as a chisel...![]()

P.S. Or you didn't speak metaphorically. And you had an actual screwdriver and a chisel in mind?
