Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Deform (New Custom Feature!) 🆕
MichaelPascoe
Member Posts: 2,850 PRO
.
 CADSharp & RENDERCAD have sponsored a new custom feature:
.
Deform
It deforms a parts and surfaces via profile sections or lattice grids along a path. Useful when you need to bend, twist, and scale parts after they have already been modeled.
Note: It is still a work in progress but I think its good enough for first release.
https://cad.onshape.com/documents/303775db976a02780499bec3/w/80a914faf16b9cdbd2f23…
Special thanks to:
- @Derek_Van_Allen_BD for laying the b-spline surfacing groundwork with Tween Surfaces.
- @vesa_timonen for laying the general geometry groundwork with Flex
- @EvanReese for laying the manipulator groundwork with Freeform Spline
- @GregBrown for laying even more manipulator groundwork with Routing Curve
- And last but not least thanks to GPT 5.5 for writing this entire feature in a single afternoon;
for those who couldn't tell via the 5000 lines of code… 🤣
RENDERCAD
rendercad.ai - Photorealistic product rendering.
â–šâ–žâ–šâ–žâ–šâ–žâ–šâ–žâ–š
________________________________________________________________________
7






Comments
Could it be? My 4 dimensional dreams realized at last? And I didn't have to write the whole thing myself? It's beautiful.
Derek Van Allen | Engineering Consultant | Meddler@Derek_Van_Allen_BD There is still work to do. if you want a challenge, see if you can get it to work on the test studios.
RENDERCAD
rendercad.ai - Photorealistic product rendering.
â–šâ–žâ–šâ–žâ–šâ–žâ–šâ–žâ–š
________________________________________________________________________
@MichaelPascoe what a madman! This is ridiculously cool to see. I'm going to need a tutorial on the UI. So many levers to flip and knobs to twiddle.
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
I'll definitely poke around and see how it runs compared to the FFD concept that I did that lacked the surface stitching.
Derek Van Allen | Engineering Consultant | Meddler@EvanReese alright, yeah, needs a quick demo / tutorial. I'll try to whip one up later.
@Derek_Van_Allen_BD It seems to do ok with main body protrusions but has difficulty with small protrusions and pockets or large pockets.
Almost got the acanthus leaf test studio to work and then it digressed again and looks like it does now.
Either way, this is at least a starting point (or a black hole) and the closest thing I've seen so far to a full deformation feature.
RENDERCAD
rendercad.ai - Photorealistic product rendering.
â–šâ–žâ–šâ–žâ–šâ–žâ–šâ–žâ–š
________________________________________________________________________
This is both absolutely amazing and somewhat frustrating at the same time. I wish whatever underlying magic wouldn't make the surfaces so heavy and wouldn't do crazy things at the ends. This example is only using a simple single span degree 3 curve as the target, but the result is way more complex, and the ends are even heavier and more wobbly.
I would also love to see a demo video. There are a zillion options.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
If it's the same magic as the tween surfaces magic, what's happening is the surfaces are being elevated and having knots inserted to match the deformation domains which is a necessary step to guarantee the resulting surfaces respecting locality of the driving geometry.
Also if it's the *exact* same tween surfaces magic, I messed up some of the knot insertion logic and probably the points aren't being perfectly inserted in the intended regions. I can't actually look at the source until next week when I'm back in office after my trip to go play with some marbles.
Derek Van Allen | Engineering Consultant | MeddlerOk, here is a demo video.
Also cleaned the feature up a bit so the user interface is more intuitive.
(The clean up was after the video unfortunately, but its the same functionality just less overwhelming now.)
@S1mon this is first draft so expect some rough curvature. Will try to improve.
RENDERCAD
rendercad.ai - Photorealistic product rendering.
â–šâ–žâ–šâ–žâ–šâ–žâ–šâ–žâ–š
________________________________________________________________________
In case anyone wants to contribute to this feature, here are the areas it is lacking:
I recommend tossing it into codex gpt 5.5 or claude 4.7 and grabbing a coffee. 😎
RENDERCAD
rendercad.ai - Photorealistic product rendering.
â–šâ–žâ–šâ–žâ–šâ–žâ–šâ–žâ–š
________________________________________________________________________
So regarding hight curvature region sampling I might have some aproach used in curve transform features - vary point sampling density based on accumulated curvature function. For curve it would look like first take a number of evenly spaced curve parameters and corresponding curvatures, create a somehow a function that interpolates from accumulated sum of curvatures up to specific parameter to that parameter. That function has a property that given evenly spaced range of points on curvature axis it will map them into into unevenly spaced curve parameter points with the more dense regions where the curvature is higher. For the 2d case of face sampling this will likely require 2d interpolation dependency
wow, this is really impressive 🤩 well done!
Thank you for the video, it was really helpful.
Seeing how it works in practice made things much clearer, especially in understanding the overall workflow. I appreciate the effort you put into it!

will probable add some of your features @Konst_Sh to the example repo for it and have it optimise. I should have done that from the start but this was supposed to only be a proof of concept; then;it actually worked lol.
RENDERCAD
rendercad.ai - Photorealistic product rendering.
â–šâ–žâ–šâ–žâ–šâ–žâ–šâ–žâ–š
________________________________________________________________________