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.

Creating Beam Profiles

2»

Comments

  • douglas_hawkins045douglas_hawkins045 Member Posts: 2
    I was able to create and add a new square tube profile.  It did not look right after extruding. The inner and outer profile were not offset properly.  I looked back through the script and the only difference I could see was related to the sequence of the outer and inner loop.  Mine had LALALALA-LALALALA and the example beam table had LALALALA-ALALALAL.  Did I create the features in the wrong order?  How do you control the sequence if it matters?
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 2,351
    @douglas_hawkins045 - if you used the beam profile generator, the character sequence is generated for you. If you are adding your generated profile to an existing set of profiles, this sequence may not be the same and therefore incorrect. The sequence will be the same for every profile size generated from the same sketch, but there is no guarantee that different sketches will yield the same sequence.

    Neil Cooke, Director of Technical Marketing, Onshape Inc.
  • douglas_hawkins045douglas_hawkins045 Member Posts: 2
    Ok that is what I suspected.  So I wanted to create some 14 gauge profiles for the square tubing and also some smaller sizes for my typical projects.  is there a way to get to the original sketch used to create the other profiles and then edit that one to create the new ones?
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 2,351
    Here is the original source (would have been much easier with configurations!) https://cad.onshape.com/documents/5c4569eab680013076a18190/w/8f3d16b6a6f56f55932b7de2/e/3fc712f058928677d55b903d
    Neil Cooke, Director of Technical Marketing, Onshape Inc.
  • MBartlett21MBartlett21 Member Posts: 1,615 EDU
    MB - I make FeatureScripts: view FS (My FS's have "Official" beside them)
  • MBartlett21MBartlett21 Member Posts: 1,615 EDU
    @NeilCooke
    Do you also have ISO profiles?
    MB - I make FeatureScripts: view FS (My FS's have "Official" beside them)
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 2,351
    @mbartlett21 - doesn't look like I have

    Neil Cooke, Director of Technical Marketing, Onshape Inc.
  • david_eastondavid_easton Member Posts: 4
    Way beyond me. Tried for hours to get a UB to work, but no joy. No error. No nothing. The beam just would not generate. I tested the profile sketch and it extruded just fine. The beam profile appears "greyed out" in the feature tree.
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 2,351
    @david_easton - if you post a link I can take a look

    Neil Cooke, Director of Technical Marketing, Onshape Inc.
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 2,351
    Hi @david_easton - first, you are using v1 of the beams feature (which works perfectly well for most people). v2 has more capabilities, like using edges from solids as a path for the beam, so you may want to consider using that. If not, that is fine also. It can be found here:

    https://cad.onshape.com/documents/e15c2c668d138f01242d0c80/w/0664d65a957c7bfba7cfbddd/e/bd6831589391741e327fec75

    The profiles need 3 levels of depth with the last one's "name" : "size" (the "displayName" can be anything, but the code looks for "size" in the level under "profile", so you must have both). Here is your code modified:

    const NZ_Steel = {
            "name" : "profile",
            "displayName" : "Profile",
            "units" : millimeter,
            "entries" : {
                    "UB" : {
                            "name" : "size",
                            "displayName" : "Size",
                            "sequence" : "C",
                            "entries" : {
                                    "150UB 18" : {
                                            "points" : [0, 0, 678.6568]
                                        }
                                }
                        }
                }
        };

    Neil Cooke, Director of Technical Marketing, Onshape Inc.
  • brucebartlettbrucebartlett Member, OS Professional, Mentor Posts: 1,866 PRO
    Hi David,

    I keep thinking I want to do a set of profiles for Australian steel sections,  the ISO ones, unfortunately don't match our sizes. I think the NZ standards are the same as the Australian, if so, maybe we could collaborate on a common library and get @NeilCooke add it to a future version of the original beam script the same as he did with the ISO ones. 

    Here 's what I want to be included.

    http://www.steelweb.info/
    or basically what these guys sell
    http://www.orrconsteel.com.au/products/tube-pipe/structural/square-hollow-section

    @mbartlett21 have you seen any Australian steel section done for the beams FS? 

    Engineer ı Product Designer ı Onshape Consulting Partner
    Twitter: @onshapetricks  & @babart1977   
  • Hiral_PancholiHiral_Pancholi Member Posts: 3 PRO
    edited March 1
    @NeilCooke Hi I have created the custom feature for the hollow square profile as per instructions in your video but while creating beams I am not able to use butt joint feature as it works with other profiles.


     
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 2,351
    Hi @Hiral_Pancholi - are you using v2.0 of the Beams feature (link above)? I have seen this before, but I thought it was fixed. The preferred method now is to use the “custom” beam option that will use a sketch instead of the code you generated above. 

    Having said that, please share the URL of your document and I will take a look. 
    Neil Cooke, Director of Technical Marketing, Onshape Inc.
  • owen_sparksowen_sparks Member, Developers Posts: 2,339 PRO
    edited March 1
    Hi @NeilCooke, good morning.  Is it too early for "can you just" type comments? :)
    Is there any chance of a V3 that allows you to select a new profile via a sketch as per V2, but then learns / remembers the new profile such that it can be picked from a list as per V1 upon next use of the feature?
    Cheers, Owen S.

    Production Engineer
    HWM-Water Ltd
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 2,351
    @owen_sparks way too early. Not sure that’s possible, but I’ll take a look. 
    Neil Cooke, Director of Technical Marketing, Onshape Inc.
  • owen_sparksowen_sparks Member, Developers Posts: 2,339 PRO
    :+1:  and thank you.
    O.S
    Production Engineer
    HWM-Water Ltd
  • Cris_BowersCris_Bowers Member Posts: 281 PRO
    @NeilCooke Also being able to set a default file location instead of always having to click Custom, then Other Documents, then My Onshape, then the place where I keep all my profiles would be super helpful too. Or am I using it wrong and I could just set it up to look there to begin with?
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 2,351
    @owen_sparks - sorry not possible. The context is imported on the fly so there's no place to store a reference to it.

    @Cris_Bowers - I understand it is a pain. I use a label called Profiles to find them (marginally) quicker.
    Neil Cooke, Director of Technical Marketing, Onshape Inc.
  • Cris_BowersCris_Bowers Member Posts: 281 PRO
    NeilCooke said:
    @owen_sparks - sorry not possible. The context is imported on the fly so there's no place to store a reference to it.

    @Cris_Bowers - I understand it is a pain. I use a label called Profiles to find them (marginally) quicker.
    That's better, saves me 2 clicks at least.
  • Hiral_PancholiHiral_Pancholi Member Posts: 3 PRO
    @NeilCooke
    Hi, Thanks It's working as expected with "custom beam" Option.
Sign In or Register to comment.