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.

Struggling with extruding a cube

jason_ryan337jason_ryan337 Member Posts: 10

Hi all,

I'm trying to code a feature script to replicate the SCAD BOSL2 joiner component (link). I've been able to create the object manually (link), but for the life of me, I cannot get anything to extrude in my feature script. I've recruited a couple of AI's as well who've been the opposite of helpful, lol.

I have tried to simplify the geometry to a four pointed rectangular feature to try and just get something to extrude, but it keeps failing to generate. Any help would be truly appreciated.

https://cad.onshape.com/documents/880276dfd0551b289c861d1f/w/9cc45a96d7a87ec1d9960240/e/4dc1dde8de5b5be1b1e3f6b8

Screenshot 2025-11-04 012557.png

Comments

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,914 image

    Why do you need to create a custom feature if you can model and configure it?

    Senior Director, Technical Services, EMEA
  • jason_ryan337jason_ryan337 Member Posts: 10

    Hi Neil. I just thought the community would enjoy being able to use them as they print well and are outstanding at closing gaps.

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,914 image

    Absolutely, but just share your excellent model 😀

    Senior Director, Technical Services, EMEA
  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 310 PRO
    edited November 4

    For this kind of thing it's an easier lift to draw a configurable part studio like you have and use the custom Point Derive feature to greeble your geometry into other documents rather than trying to code up a full custom feature from scratch to accomplish the goal. Sometimes I'll use a method I like to call two-point-derives-in-a-trenchcoat to pseudo make custom features that are easy to model and hard to program.

  • eric_pestyeric_pesty Member Posts: 2,413 PRO

    Now that the "native" derive allows multiple instances and placement on mate connectors you don't even need the point derive.

    That said a "generic" method for both adding and removing material in one step would be nice. Like the "form tools" but for "regular" geometry.

  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 310 PRO

    @eric_pesty I've been leaning on the integrated Boolean operations with Point Derive but the dream is to wrap multiple operations into one feature exactly like the form tools. It's in my development backlog to do that exact feature but I'm holding off on it until more library types are supported which I know is coming at some point.

Sign In or Register to comment.