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.

Improvements to Onshape - May 26th, 2016

cody_armstrongcody_armstrong Moderator, Onshape Employees, Developers, csevp Posts: 215
We are very excited about this update!  In addition to the usual list of awesome new features, this update brings one of the most exciting additions we have added to Onshape yet.

  1. NEW FeatureScript - FeatureScript is a new programming language that lets you create new features that look, feel and behave just like Onshape's native features. Check out this link for more info.

    https://youtu.be/QR5Gl-ZaxUA

  2. NEW Animate Mates - You can now animate mates in your assembly.

    https://youtu.be/zkiLaIMp0tY

  3. NEW Midpoints - Select the midpoints of edges in the model and midpoints of sketch entities that are not in the active sketch.

    https://youtu.be/gMTDL7EWpAA

  4. NEW & IMPROVED  Many drawing improvements including detail views of section and auxiliary views, moving view labels, and flipping direction of section views.

    https://youtu.be/G0P3BG7a0k8

  5. NEW Show all parts - When parts are hidden you will see a new right-click option to "Show all parts."  This makes it easy to show all the parts without having to show everything.



  6. IMPROVED Insert entire Part Studio using Derived feature - You can now insert an entire Part studio at once using the Derived feature.  In the past this was limited to selecting one part at a time.


Please take a moment to try out these new features and improvements and let us know what you think!


 Remember: The updates listed here are now live for all users when creating new documents and over the next few days these features will also be available in documents created before the date of this update.
«1

Comments

  • jackson_kingjackson_king OS Professional Posts: 80 PRO
    You guys are running with scissors now!!
  • DriesVDriesV Member, Developers Posts: 43 ✭✭
    Very cool stuff!
    Product Specialist at Luxion (makers of KeyShot)
    www.keyshot.com
  • neobobkrauseneobobkrause Member Posts: 105 EDU
    Nice.
  • lego_hunglego_hung Member Posts: 1 EDU
    what a cool FeatureScript.
  • Narayan_KNarayan_K Member Posts: 379 ✭✭✭
    Nice updates.. :)
  • jon_woellhafjon_woellhaf Member Posts: 92 ✭✭✭
    OUTSTANDING! And FeatureScript and the exposure of your source code is beyond fantastic!
  • jon_woellhafjon_woellhaf Member Posts: 92 ✭✭✭
    I was just wishing for an Animate feature. I'm building an elaborate gear train and animate works perfectly! Excellent!
  • shanshanshanshan Member Posts: 147 ✭✭✭
    Great update ! I  like the  FeatureScript  very much ! 
  • derek_wardderek_ward Member Posts: 63 EDU
    Thank you so much for listening to my idea! Number 6 will help me out immensely.  The other features are game changers as well (especially FS).  It's Ike Christmas every couple of weeks!  
  • tiago_torre_do_valetiago_torre_do_vale Member Posts: 3 ✭✭
    WOWWWWWWW!! openscad with steroids :smile:

  • robert_morrisrobert_morris OS Professional, Developers Posts: 168 PRO
    Awesome update everyone.
    I think that every one of these items is something that I've been waiting for.

    Keep up the great work!
  • dennis_20dennis_20 Member Posts: 87 EDU
    edited May 2016
    WOW! FeatureScript!!! 1G x better than macros plus OS releasing their own function code?! Incredible. The user community can now really influence the development of this software. This is sort of like Jeff Foxworthy. He only actually wrote one "You might be a redneck if. . ." book. All the rest were sent in by his readers and he only had to publish them (and make the money - good for him!). I love a free enterprise system! I applaud OS for their vision with FeatureScript as it will effectively increase the development team (and at no real cost), increase the pace of development of the software, seal the loyalty of the user base, and produce heretofore unseen features and abilities. This does raise a few questions for OS: How will the new user-created public features be announced? Will the authors/inventors be credited? Will these features be rolled in to OS directly at some point? BRAVO!!!
  • OpenR2OpenR2 OS Professional Posts: 188 ✭✭✭
    Source code made visible? Wow!
  • ellen_timineyellen_timiney Member Posts: 10
    Such Wow !

  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,062 PRO
    With all these great improvements, my favorite, inserting all components in a derived part.


  • cadmandocadmando Member Posts: 68 ✭✭
    Great list of improvements, best yet, keep up the good work.
  • viruviru Member, Developers Posts: 619 ✭✭✭✭
    wow!  Great list of improvements
  • shashank_aaryashashank_aarya Member Posts: 265 ✭✭✭
    Wow!! Feature script is awesome!! 
  • clayton_ertleyclayton_ertley Member Posts: 58 ✭✭
    edited May 2016
    WOAH!!! What an update. I have been needing the ability to perform the Split operation with multiple surface bodies and now I can!!! Now I guess its time to learn feature script....hmmm..work...:D

    *EDIT Wait..is this possible? Is it more of a way to reorganize current features kind of like a macro? 

    Great job guys! You truly seem to be all about innovation.


  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 1,210
    edited June 2016
    @clayton_ertley
    It is possible (and I don't think it should be too hard) to do this -- it's not just a macro.

    Here's a hint :smile:

    But see my warning below: https://forum.onshape.com/discussion/comment/18539/#Comment_18539
    annotation { "Feature Type Name" : "MultiSplit" }
    export const multiSplit = defineFeature(function(context is Context, id is Id, definition is map)
        precondition
        {
            annotation { "Name" : "Parts or surfaces to split", "Filter" : EntityType.BODY && (BodyType.SOLID || BodyType.SHEET) }
            definition.targets is Query;
    
            annotation { "Name" : "Entities to split with",
                "Filter" : (EntityType.BODY && BodyType.SHEET) || (GeometryType.PLANE && ConstructionObject.YES) }
            definition.tool is Query;
    
            annotation { "Name" : "Keep tools" }
            definition.keepTools is boolean;
        }
        {
            var idx = 0;
            for (var singleTool in evaluateQuery(context, definition.tool))
            {
                definition.tool = qOwnerBody(singleTool);
                opSplitPart(context, id + idx, definition);
                idx += 1;
            }
        });
    

    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
  • clayton_ertleyclayton_ertley Member Posts: 58 ✭✭
    I may have uhhh.... over estimated my coding knowledge. If there is a hint in there I do not see it. Perhaps I can get my wife to take a look at it. She went to school for computer science/programming and LOVES math.

    ilya_baran
  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 1,210
    @clayton_ertley
    My apologies -- humor is poorly conveyed in forum posts.  The above is not really a hint -- it is code for a feature that if you paste into a Feature Studio will let you select multiple surfaces for splitting a part.
    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
  • clayton_ertleyclayton_ertley Member Posts: 58 ✭✭
    Insert face palm. My wife and I thought that the smiley conveyed exactly that but we were not sure. So the humor was partially conveyed.

    ilya_baran
  • clayton_ertleyclayton_ertley Member Posts: 58 ✭✭
    ilya_baran

    I am getting a Missing FeatureScripts version error. I'm not entirely sure what that means.

  • kevin_o_toole_1kevin_o_toole_1 Onshape Employees, Developers, HDM Posts: 565
    When you paste the Ilya's code in a new Feature Studio, make sure you keep the two lines that were already there. They provide the FeatureScript version and import the Onshape Standard Library.
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,653
    @clayton_ertley

    When you create a new Feature Studio and copy/paste code, make sure you keep the top two lines that are auto-generated.
    Senior Director, Technical Services, EMEAI
  • clayton_ertleyclayton_ertley Member Posts: 58 ✭✭
    NeilCooke
    kevin_o_toole_1

    Thanks! That did it!
Sign In or Register to comment.