Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

NEW Custom Feature: Drape Surface

EvanReeseEvanReese Member, Mentor Posts: 2,406 ✭✭✭✭✭

Drape Surface essentially takes an input surface, and sticks it to another body like a sticker, which is useful for approximating meshes, and for creating a single surface that approximates a bunch of surface patches. Here's a link to the feature, and here's a video explanation of the feature. If your company needs something custom get in touch with me at theonsherpa.com. Enjoy!

Evan Reese
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com

Comments

  • MichaelPascoeMichaelPascoe Member Posts: 2,346 PRO
    edited May 30

    .

    This is magic.
    So it doesn't even use the mesh points, it just raycasts? Briliant!
    Will probably use this for all my future mesh workflows.

    Heads up, the video image doesn't open the link for me. Had to click the video link.

    .


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 80 PRO

    What you said was mesh workflows, what I heard was there's a topological sledgehammer that could be applied to my surface tweening experiments.

  • EvanReeseEvanReese Member, Mentor Posts: 2,406 ✭✭✭✭✭

    Yep, and there's no need to reapproximate the curves like with opDropcurve()

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
  • EvanReeseEvanReese Member, Mentor Posts: 2,406 ✭✭✭✭✭
    edited May 30

    @Derek_Van_Allen_BD I'm intrigued. I've thought about doing tween surfaces (and curves) but haven't actually run into many use-cases so it keeps getting bumped. I was imagining getting the b-spline surface points for two surfaces and just regenerating new point grids between the two. As long as the inputs are similar it should be straightforward and most of the code of a great feature would be in reapproximating things and making them line up in smart ways. What use-casea are you picturing?

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 80 PRO

    @EvanReese The practical use cases for each aren't exactly the most apparent thing for tween surfaces or tween curves until you're working with outside design firms that are run by Rhino jockeys or Adobe users with those functions built into their tool wondering why you find it so hard to find the geometric median of their spliney linework and models. This may be an industry dependent problem.

    At the most basic level (and the reason I'm working on tween curve right now) is finding the precise centerline of wavy geometry that needs to have regularly spaced features in the dead center of the parts. Offsetting lines on either side doesn't work because the width is constantly varying across the profile of the part, and this designer is extremely picky and is willing to pay enough for the details to be perfect so one workflow we've used is doing a draft extrude on the face to brute force a median line and project it back to the original surface. We've also done a face sculpt to trick the face to be a spline so UV curves will populate but truly the best method is the one you describe which is to grab the spline definitions of the edges, approximate and/or elevate to match them and build the curve in the middle.

    At the further end of the scale are things like the custom flex featurescript floating around that does things piecewise and isn't as clean as other CAD flex features. Theoretically if you were working with a mid-surface you could store the vectors towards the control points for each surface that was used as an input (mapped in UV context), do your twisting and deformation to the median, and then reconstruct the input surfaces at the end and get a more robust flex feature with continuous surfaces. And with it being a tween function you can parameterize for arbitrary k factors as well. Think meta-materials or kerf bending plywood sheets with CNC grooves.

    There are more reverse engineering applications as well that I've run into, but the main two are dealing with import geometry from non-parametric software and wanting to bend and unbend non-sheet metal things.

  • EvanReeseEvanReese Member, Mentor Posts: 2,406 ✭✭✭✭✭

    @Derek_Van_Allen_BD I'd love to get a whole suite of native tools for deformation similar to what I'd use in Rhino (twist, taper, bend, cage edit, flow along surface). I think that trying to do that with FS right now is just not practical, but I think Parasolid is up to the task.

    I'd love having a tween curve and tween surface feature so hopefully borrowing some of my code will help!

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
Sign In or Register to comment.