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.
Jacob_Corder PRO
Reactions
-
Re: Primitive sphere creation from points
FeatureScript 2075; import(path : "onshape/std/common.fs", version : "2075.0"); annotation { "Feature Type Name" : "Sphere 3 Point" } export const sphereThreeP… (View Post)1 -
Re: Query that Resolves to nothing != qNothing()
qNothing is a query structure and is only the same as another qNothing(). An empty query will not resolve to qNothing() it will return [] from evaluateQuery and false with isQueryEmpty. To solve your… (View Post)3 -
Re: Gotcha! opDeleteBodies on an unused sketch
before calling opDeleteBodies, i always check if the delete query is not empty if I don't know or if it is possible that their are not any bodies to delete . if(isQueryEmpty(context, qCreatedBy(someI… (View Post)1 -
Re: Query for entities to boolean
Change your pattern to EntityType.BODY not EntityType.FACE opPattern(context, id + ("patternB" ~ i), { "entities" : qCreatedBy(id + "extrude1", EntityType.BODY), "t… (View Post)1 -
Re: Preserve ID through a try/catch?
const extrudeId = id + "mainBody"; startFeature(context, extrudeId); var needsAbort =true; try silent { extrude(context, extrudeId, mainDef); needsAbort =false; endFeature(context, extrudeI… (View Post)2