Advanced Constraints
See original GitHub issueCreate constraints that allow more freedom of placement.
Implementation: non-linear Optimisation
scipy
offers a range of optimisation methods.
https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.optimize.minimize.html
Optimisation methods could be defaulted, then optionally fine-tuned by advanced users, all through one common interface (scipy
).
Inspiration for constraints… naming observed from official OnShape and Solidworks tutorials:
Solidworks
- angle, coincident, concentric, distance, lock, parallel, perpendicular, and tangent mates
- limit, linear/linear coupler, path, symmetry, and width
- cam-follower, gear, hinge, rack and pinion, screw, and universal joint
OnShape
- Fastened
- Revolute
- Slider
- Planar
- Cylindrical
- Pin Slot
- Ball
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Advanced constraints — Calliope 0.6.8 documentation
Group constraints are applied to named sets of locations and techs, called “constraint groups”, specified through a top-level group_constraints key (sitting ...
Read more >Capabilities, constraints, and settings - Web APIs | MDN
So-called advanced constraints are created by adding an advanced property to the constraint set; this property's value is an array of additional ...
Read more >Advanced Table Constraints - BorisTheBrave.Com
Advanced Table Constraints ... concerned with generalized arc consistency, i.e. dealing with constraints that cover more than two variables.
Read more >Constraints - Advanced - Agi
Advanced Constraints ; Grazing Angle, Describes how high one object appears above the edge of the Earth (or limb) relative to the satellite....
Read more >Creating Constraints Using the Advanced Constraint Template
The Advanced Constraint template is similar to the Assisted Advanced Constraint Template. You can create constraints using Rule Assembly Language with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I have a proof of concept for a flexible solver using the scipy least square root solver. It is working quite nicely and I can apply multiple constriants to any part.
For now I have to following constraints working:
Next steps would be to clean it up and integrate it into the cqparts code. This would mean to replace the current solver.solve method the Assembly.build function and to add new constraint classes.
My questions:
I have uploaded a first draft for a numeric solver with flexible constraints in #158
All tests are passing in my development environment, but sadly not with AppVeyor - OCC dependency is missing and scipy dependency should be added. I’m just not sure, where to add these dependencies.