sketch
Discussion List
-
qCreatedBy(sketch_id, EntityType.EDGE) returns more edges than I drew
I drew a sketch with 11 edges, but qCreatedBy(sketch_id, EntityType.EDGE) returned 24 edges, and I parsed these edges and found that some of them were overlapping (all parameters were the same, except for deterministicId). Why is this happening? What are these "copied edges" used for?
-
How to put a sketch on the face of a shell?
This is probably a simple thing but I'm just not seeing it… If you create a square then extrude it down (not the default up) to a cube then shell it out to remove one side, all is easy peasy. Now try to place a sketch on the inner wall off the shell and the inner shell wall is not selectable because when you try to select…
-
Is it possible to set a minimum & maximum value for a sketch dimension ?
Using variables or otherwise, is it possible to set a minimum & maximum value for a sketch dimension ? Giving different values to some variables affecting the mentioned dimension, I want to be able to choose the value of that dimension and make sure that the result will stay between some defined limits. The link:…
-
Is there a way to change the colors of the interface (other than dark theme)
My eyes sometimes have a hard time distinguishing between the blue (undefined) and black (defined) parts of a sketch. One of my sketches has a message "[Sketch] is not fully defined." It's a relatively simple sketch and I cannot find any line, dot, circle, arc, that has a color of blue. I think it would like to change the…
-
A question about CapType in Featurescript
There are three types about CapType: START, END, EITHER My question is: suppose a square sketch is extruded to form a cube, then the cube's edges have different CapType types. Is there a way in FeatureScript to trace the edges of a cube back to their originating edges or points in the sketch? For example: CapType:…
-
What is my student missing? This sketch will not define
Hello! New CAD teacher here, and I'm learning Onshape alongside my students this year. We're working through the Unit 2 Skate Deck, and in 2.5, I have several students stuck trying to define their sketches when the splines are added to the sides of the board. One student added splines, and the sketch remains defined, if he…
-
How do I move a sketch attached to a part?
I'm trying to center a sketch onto a certain part, but it keeps snapping to one place.
-
Coincident constraint leaves gap between splines
Im trying to make a face closing the path between the inner ear spline and the body spline, but the point will not lock onto the line whether I constrain it or not. Dont mind the copied part studio, that was just a testbed that got me nowhere.
-
Sketch "Use" in featurescript
I cannot find the function to "Use (Project/Convert)" an existing face (which the feature user would define), onto a sketch that I create in my featurescript. Is it not implemented, or am I just failing at finding it?
-
[ANSWERED] Create lobed knob / Sweep along "wavy circle"
Document with all the tries in separate part studios: https://cad.onshape.com/documents/7d92ebfc4d42d67498b44c02/w/c3e079a016e5604e415d2895/e/8d83e605f9727daac7ef5c4f?renderMode=0&uiState=671eb1542b083d3d38a744a6 Any help on this would be greatly appreciated. It is kind of tricky to put into words what I want to create, so…
-
Imported DXF not producing faces
Hi, im trying to import DXF drawings from Inkscape. I have the one Inkscape file that I copy parts to be exported to DXF and export them separately. One is imported just well enough to produce faces to extrude, while the other is failing to do that. Moreover, when importing failing drawing, any modifications done in the…
-
Draw (New Custom Feature!)
Draw (New Custom Feature) https://cad.onshape.com/documents/bad94104a5ecdd5d422a7b40/w/ce1f9d49a79762d0e2431752/e/4fea5d9770def4e66ed79f03 Happy feature Friday! With this custom feature, you can create a spline (or polyline) and sweep by dragging the manipulator triad. If you like this feature, check out Freeform Spline by…
-
FeatureScript request: Corner fillet for CNC machining
When machining a part with a CNC mill, sharp corners cannot be milled (due to the diameter of the drill, this actually also holds for lasercutting). The trick is to create a "deeper" radius with the same size of the drill (slightly larger), see below. But it's a drag to draw these over and over.. Is there perhaps an…
-
How to retrieve all the feature ids used to generate a part in a part studio
Hello, Is there any way to know what features and sketches (by ids or names) are used to generate a part, given the part Id using featurescript? For example, in the image, When I click on part 1, Extrude 1 is automatically highlighted, which means it's saved somewhere. Thank You.
-
How do I sketch on face of sheet metal model?
When I create a sketch on sheet metal, I try to select the face of the part as the sketch plane, but a face of a previous feature, usually a hole, gets selected. This is annoying because I lose subsequent sketch planes when I edit features. I end up having to sketch on one of the coordinate system planes to make my…