Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Variable Extrude
jack_white396
Member Posts: 7 EDU
I am trying the vary which direction I do an extrude based on where there is material. Essentially, this feature will take a point and make a specific hole pattern and extrude them, but if the point is on the opposite side of an object the feature does not work since there is nothing to be subtracted. I need to somehow be able to vary which direction I extrude based on where the point I select is in relation to the object I want extruded through. Here is my code- https://cad.onshape.com/documents/dd9b41942bbf9f447e9d9d6d/w/2b64a0a98ab7927062949adf/e/d176417788ab53093aeccb69
0
Answers
Try something like this:
A vector is an array, if you ever need the other values of the vector:
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Try using an implicit mate connector. If you need to measure the distance instead of a manual entry, you can use the above technique that I mentioned and measure from the startPlane.
Code:
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴