Call for team! Reimplementing constraint solver

Discussion about the development of the Assembly workbench.
User avatar
DeepSOIC
Posts: 7035
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Call for team! Reimplementing constraint solver

Postby DeepSOIC » Sun Nov 10, 2019 10:59 pm

Implemented:
* ParameterStore
* ParameterRef
(with equality-constraint support by redirection)
* ParameterSet
* ValueSet

Next up: base classes for constraints.
User avatar
Kunda1
Posts: 5761
Joined: Thu Jan 05, 2017 9:03 pm

Re: Call for team! Reimplementing constraint solver

Postby Kunda1 » Mon Nov 11, 2019 11:14 am

DeepSOIC wrote:
Sun Nov 10, 2019 10:59 pm
Implemented:
....
Next up: base classes for constraints.
Woohoo!
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Zolko
Posts: 390
Joined: Mon Dec 17, 2018 10:02 am

Re: Call for team! Reimplementing constraint solver

Postby Zolko » Mon Nov 11, 2019 12:01 pm

DeepSOIC wrote:
Sun Nov 10, 2019 10:59 pm
Next up: base classes for constraints.
DeepSOIC wrote:
Thu Oct 31, 2019 9:10 pm
9. use in assembly workbench
How do you intend to represent the constraints ?
What sort of FreeCAD/Python object do you plan to use ?
Do you think that App::FeaturePython objects could suit your needs ?
try the Assembly4 workbench for FreCAD v0.19
installable with Tools > Addon Manager, new version 0.7. Simple tutorial here
User avatar
DeepSOIC
Posts: 7035
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Call for team! Reimplementing constraint solver

Postby DeepSOIC » Mon Nov 11, 2019 12:21 pm

Zolko wrote:
Mon Nov 11, 2019 12:01 pm
How do you intend to represent the constraints ?
An object that provides an error function with derivative information.
Zolko wrote:
Mon Nov 11, 2019 12:01 pm
What sort of FreeCAD/Python object do you plan to use ?
Base class. It will be up to the "user" (i.e., sketcher/assembly developer) to formulate DocumentObject-based variant.

I plan introducing a python-extendable variant of a constraint, something like ConstraintPython, to work similarly to how App::FeaturePython works in terms of how it is extended by python (i.e., by means of a Proxy object)