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: 309 PRO
    edited 10:36PM

    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.

Sign In or Register to comment.