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.

Draw (New Custom Feature!)

MichaelPascoeMichaelPascoe Member Posts: 835 PRO
edited September 2021 in FeatureScript

Draw (New Custom Feature)

https://cad.onshape.com/documents/bad94104a5ecdd5d422a7b40/w/ce1f9d49a79762d0e2431752/e/4fea5d9770def4e66ed79f03

Happy feature Friday!

With this custom feature, you can create a spline (or polyline) and sweep by dragging the manipulator triad.

If you like this feature, check out Freeform Spline by @Evan_Reese.

Thanks @ilya_baran for the manipulator advice.  B)


Comments

  • konstantin_shiriazdanovkonstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭
    That is smart! A lot of cool things are possible with caching into isAnything() hidden field.
  • Evan_ReeseEvan_Reese Member Posts: 1,372 PRO
    This is pretty out of the box! love it. It's like a poor man's Gravity Sketch.

    It would be cool to be able to edit the curve by clicking points. Since this tool makes some clumps of points (esp if you move slow) it might be hard to make that practical, so It would be even cooler if you could do a "soft edit" where moving a selected point also moves neighboring points within a certain radius and proportional to their distance from the active point. Rhino has a similar tool and it looks like this. It's probably not the most efficient code, but feel free to use some of the manipulator code from Freeform Spline if it helps.

    Evan Reese / Principal and Industrial Designer with Ovyl
    Website: ovyl.io
  • GWS50GWS50 Member Posts: 234 PRO
    Had a go with Evan's Freeform Spline the other day, wow...extremely useful thank you. This new Draw tool looks like it will be just as amazing so thank you too Michael.
  • Evan_ReeseEvan_Reese Member Posts: 1,372 PRO
    👆this is deeply cool.
    Evan Reese / Principal and Industrial Designer with Ovyl
    Website: ovyl.io
  • GWS50GWS50 Member Posts: 234 PRO
    Wow...this looks amazing

Sign In or Register to comment.