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.

Library of sketch entities

mlml Member Posts: 53 PRO
edited August 2016 in Community Support
as mentioned in other threads, we use OS to design front and rear panels for electronic boards, means that we have to cut them for specific connectors.

while doing so, often standard components are used, for example d-sub connectors 9 pin on the bottom right.

so we draw them in a sketch or import it from a dxf:


when we have them once, is there a way to bundle it in something like a library to easy insert it in the next document or is the only way 'copy entities' and 'paste entitites' which needs a document hopping?
btw: can the sketch rectangle and text in light blue be hidden like the planes?

best

Answers

  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    Hi ML,

    Check out the derived button's features.  It will allow you to import a sketch from another document.

    Developing this a bit, another option would be a featurescript function whereby you click a point on a sketch, select "9-Way D-Sub" from a drop down list and click OK.

    This list could be expanded with different profiles, RJ11, RJ45 etc and we'd have a pretty slick tool for backplates.  Hmm, I want one of those.

    Cheers,

    Owen S.
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • dave_cowdendave_cowden Member, Developers Posts: 475 ✭✭✭
    @ml

    I would like to help with this. I have built some routines that make it really easy for me to make a featurescript that generates sketches. If you can point me to a library of DXF files for all of these connectors, I can generate a FS that will let you create them all pretty quickly. 

    As an example, please reference this feature: its the same thing only instead of electronic parts, it is AISC steel sections. The AISC one i did has ability to create 1340 or so different drawings.  The 8020 one can do about 1000 or so.  So doing a bunch of standard electronic cutouts should be pretty do-able....
  • dave_cowdendave_cowden Member, Developers Posts: 475 ✭✭✭
    like for example this list might work? http://www.protocasedesigner.com/cutouts/
  • mlml Member Posts: 53 PRO
    @dave_cowden thank you for the offer of support.

    we do not have a full library of the connectores to import just now. there are in another program and we will only import them when they are become necessary. so, can we use your fs then when we need it? as a professional company, we have to had them under our control.
  • mlml Member Posts: 53 PRO
    @owen_sparks thank you for the hint of Derived.

    Because one can't insert into a sketch, only on part level, it does not match the need.
  • dave_cowdendave_cowden Member, Developers Posts: 475 ✭✭✭
    @ml sure just let me know. If you give me a couple of samples, I can throw them into my tool and create a Featurescript.. You can see how you like it.  You would be the only one with access to the resulting FS.
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    edited August 2016
    ml said:
    @owen_sparks thank you for the hint of Derived.

    Because one can't insert into a sketch, only on part level, it does not match the need.
    Hi @ml,yes sorry that didn't behave as expected.

    A featurescript as Dave suggests has got to be the best way to go here.

    Just for the exercise of it I've had a play at a different method. Forgive the crude models they're just to show the theory.

    (1) Build a library of "boolean solids" of the void to be removed.  (The void required, not the actual connectors):-



    (2) Make Back Plate with dimension of where to put features



    (3) Add derived parts from the library and add mate connectors to the plate



    (4) Transform Boolean Tools to mate connectors



    (5) Boolean Subtract the tools.




    It's a hash but would provide a parametric method to construct a plate from a library of parts...

    Regards,

    Owen S.





    Business Systems and Configuration Controller
    HWM-Water Ltd
  • dave_cowdendave_cowden Member, Developers Posts: 475 ✭✭✭
    Thanks for the pictures!

    Here the ideal solution is to be able to do step 2, and then in a single step, choose a profile and do step 5.  I agree that's really only possible using a FS.  Its simply too much trouble to import DXF--> make sketch--> import DXF --> extrude/subtract each time.
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    Hi Dave.  I agree 100%.

    The FS profile option is so much cleaner for use in a thin plate.

    I may have a play with the boolean option via FS. As it stands my crummy examples have a constant cross section so would give the same result as a profile but in a worse method.  However if we have a thick plate the D-Type for example might need a counter-bore from the back to allow the connector to sit far enough forward to mate.   In other circumstances anti-rotation features or assembly aid feature may be desirable.  In these cases a boolean subtract from a 3D void tool may be desirable.

    Just thinking out loud.

    Owen S.
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • dave_cowdendave_cowden Member, Developers Posts: 475 ✭✭✭
    Hi, Owen, you're right. plus, of course if you model the actual object, you have the advantage that you can render what the item looks like assembled.  I guess it ends up what you are really trying to end up with.
Sign In or Register to comment.