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.
how do you create an offset surface?
dave_cowden
Member, Developers Posts: 475 ✭✭✭
I would like to create a surface that is an offset from another one ( either a face or a surface).
I have found offsetFace-- but this moves the face, instead of creating a surface. This seems like something that should be possible, but I can't find it...
thanks as always.
I have found offsetFace-- but this moves the face, instead of creating a surface. This seems like something that should be possible, but I can't find it...
thanks as always.
0
Best Answers
-
NeilCooke Moderator, Onshape Employees Posts: 5,681Dave, there is now an extractSurface command. You could thicken the face you want then extract the offset face? Not tried it but should work.Senior Director, Technical Services, EMEAI5
-
kevin_o_toole_1 Onshape Employees, Developers, HDM Posts: 565Sorry about this!
opExtractSurface is currently under development, since we're using it extensively in the sheet metal functionality that's also under development. It's not exposed to end users right now because we might be changing the way it works, and when we do this we don't want to break existing users' documents or have them fail to upgrade.
Sadly, I can't think of an alternative that gives you this functionality, but I can say that eventually we will be making opExtractSurface user-facing, and when that happens you will be able to do exactly what you're asking for.
5 -
john_f_carr Onshape Employees Posts: 74With the release of sheet metal, opExtractSurface should be available to all.6
Answers
*
Any other ideas?
opExtractSurface is currently under development, since we're using it extensively in the sheet metal functionality that's also under development. It's not exposed to end users right now because we might be changing the way it works, and when we do this we don't want to break existing users' documents or have them fail to upgrade.
Sadly, I can't think of an alternative that gives you this functionality, but I can say that eventually we will be making opExtractSurface user-facing, and when that happens you will be able to do exactly what you're asking for.
I ended up writing a featurescript to do it. You're welcome to try it out.
https://cad.onshape.com/documents/323312569b42b381b93ee95c/w/4feba228409d550cfecc4193/e/4f18ff5b4caf83cc9e65fee9
These functions are still marked @internal because we may change their behavior slightly (especially with respect to error handling) in the future. This means that the next time you update the FeatureScript version of custom features created on top of these functions, individual features may behave differently (or fail) when they update their links.
The functions are useful enough that they were worth exposing anyway, but be aware that changes are a possibility. Here's a doc where you can play around with some of the current behaviors:
https://cad.onshape.com/documents/dcbffeaede71bbfd8d37fc83/w/3ba91b4bc06d0a60cc11d2a5/e/9e9ed0e174274eeac7d26ac7
https://cad.onshape.com/help/Content/offset_surface.htm