Optimization Solver - New Feature on fs.place

Caden_Armstrong
Caden_Armstrong Member Posts: 468 PRO

I've gotten a number of request over the years for features that have a measurement based constraint such as perimeter or area. The topic has also come up on the forums a few times (https://forum.onshape.com/discussion/18610/how-can-i-use-perimeter-as-a-constraint). My answer to the question has always been - to optimize a surface/body you have to decide how to vary it, which requires design intent. Coding design intent into a feature is fine, but it isn't easily generalized.

But then the obvious solution hit me - just derive configured instances. Allow the parametric model to solve all the difficult design intent modifications to the model.

Introducing my new feature: Optimization Solver

This feature derives a given model for a specified range of a configuration variable - measuring the geometry at each step - and keeping the step that is closest to a provided target.
The user can then improve on the result by reducing the range of inputs, until a satisfactory result is reached.

This effectively allows for perimeter constraints in sketches (albeit with some design process caveats), and inferred dimension constraints.
In the public demo document I have a cube constrained to a volume, a sketch constrained by the face area and another sketch constrained by total edge length.

This is a paid feature - available on fs.place along with many other high quality features.
https://fs.place/Listings/WM0GYNU1CCS73N2IUGYRCATNCO7JRUDZ

But you can check out the public demo document here:
https://cad.onshape.com/documents/82977c81d8aa2257b510e34a/w/a390c39e796c3c583a22dc9b/e/ea2a19509efb13f407c22f6d

Screenshot 2025-01-14 112812.png
www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
Experts in Onshape Automation - Custom Features and Integrated Applications

Comments