-
Trouble with extrude
I am using extrude instead of opExtrude, but it keeps saying that the EXTRUDE_FAILED. extrude(context, id + "extrude2", { "entities" : qSketchRegion(id + "sketch2"), "oppositeDirection" : true, "endBound" : BoundingType.UP_TO_BODY, "operationType" : NewBodyOperationType.REMOVE, "endBoundEntityBody" : qCreatedBy(id +…
-
Having Trouble getting the Sweep Tool to Work Properly
Hi! I can't seem to get the sweep action to fully connect through my geometry. It seems to be getting stuck on this one last bit Is this because the angle is to tight in the corner of my shape? (see attached images) Please, any insight into solving this would be greatly appreciated. Thx :)
-
Can't do addition/subtraction with Measure Distance custom feature
Hi, I'm trying to do some 'easy' calculations in a variable and found this odd. I'm using the Measure Distance custom feature to get a distance in the model. I left the default name #distance. I assign it to a new variable to see the value, works fine. I assign #distance*2 to a variable, still fine. I assign #distance+20…
-
What is the best way to offset vectors depending if they're positive or negative?
Hello all, I have come across a peculiar error in my code. I am using a vertex as a reference point for the first corner of an skRectangle(). I am using worldToPlane() to achieve this. I am then adding a vector which is offsetting the first corner in relation to the vertex. It looks like this: skRectangle(sketch1,…
-
Vectors different depending on which plane used to create part
@ilya_baran Since you are familiar with my script, I thought it best if you had a look at this problem I have. Everything works fine except when creating the tenon after specific creation of parts. Basically, depending on which plane I use to create the sketch that is used to make the part that has the tenon, it either…
-
opExtrude failing with a query from opMergeContexts
Hi, I have a feature script ("Wren") that import a part studio ("Fin module") and try to extrude it but opExtrude throws an exception with the query form opMergeContexts. The script and the part are here: https://cad.onshape.com/documents/03f4ac3d6bb09fa192294621/w/695b19824c4731f7a79d0f9e/e/753184455e13c8c9c1412d4a
-
[Bug Report]complex .stp model doesn't import correctly.
Hello. I just signed up today and wanted to provide feedback regarding a bug I discovered. I tried uploading a .stp (STEP) model I exported from 123D Design version 2.1 and there appears to be a surface missing from the model as displayed by OnShape after uploading. Here's how the model should look (and how it does look in…
-
United Lofted Parts?
Hi all! First time asking something here. Here's my part link for reference: https://cad.onshape.com/documents/a3d584c5c8704fd59e6d1baa/w/8f543b70179b4f319bb33b46/e/debd8ae843674bf3a80aef15 This is just some jar I'm making for fun using the loft command, and possibly 3D Printing later. I lofted a single rib and then…
-
I'm getting an error when I try to open a document. I'm new to onshape.
The error states: Onshape is not connected. Your document is saved. You can refresh the browser to continue working on this document or return to the documents page. I can return to the documents page, but refreshing returns the error every time. I cannot access any shared, new or public documents. Help please! Thanks!
-
"Spinning Clock" in lower right corner of a Parts Studio?
I had a "Spinning Clock" in the lower right hand corner of a Parts Studio that would not "go away", even through I could continue to work in the work space. There was a previous operation that Onshape had some issue with that kept displaying an "error" message at the top of the window, telling me to contact support and had…