-
Problems with Extruding in FeatureScript
var sketch1 = newSketchOnPlane(context, id + "sketch1", { "sketchPlane" : plane(vector(0, 0, 0) * inch, vector(0, 0, 1)) }); skRectangle(sketch1, "rectangle1", { "firstCorner" : vector(0, 0) * inch, "secondCorner" : vector(1, 2) * inch }); skRectangle(sketch1, "rectangle2", { "firstCorner" : vector(0.1, 0.1) * inch,…
-
Is there a way to add a sketch layout when importing a Solidworks Pack and Go Zip file assembly?
I would like to be able to have a sketch layout as if I had started from the beginning so that when I need to make a change that it would affect the components related to a particular view. In my case it would be the front view.
-
offset of seemingly fully defined sketch appears under defined
I have a sketch where I make a linear pattern, and then make an offset of the pattern. When I do so, parts of the sketch appear blue, even though I can not figure out how they are under defined. Before the offset, the sketch appears fully defined. I have attached an image of my sketch. Any help is appreciated.
-
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 :)
-
How to print a paper template from a sketch or face?
I've created a part with some big holes, now I want to print a paper template so I could cut it using power jigsaw, and a drill.. If I try to export sketch, it goes without dimensions and more importantly without centermarks. Is there any way to create real size dxf from sketch and with at least centermarks?
-
How to edit a fillet radius in a sketch?
I added a fillet to a previously sharp corner. I later wished to change the fillet radius to a specific value. I can change the radius by dragging one of the endpoints, but I want to specify the value numerically. How can do this?
-
hide sketches created by FS
Hi everyone, So I am new at Featurescript and I am designing a featureScript to generate screw and nut quickly. I am expecting to use this featurel to generate Standard part library quickly. To generate the 3D geometry of the screw and nut I have to generate sketch through featureScript. And I was wondering if there was an…
-
skPoint unique ID's
In the following code: <br>for (var i = 0; i < 1/pointmultiplyer; i += 1)<br> {<br> <br> skPoint(theSketch,"point"+ toString(i), {<br> "position" : vector(curx, cury) <br> });<br> curx+=pointxadder;<br> cury+=pointyadder;<br> } It tells me "Can not add string and string" How else do I use a unique ID?
-
Extrude a mostly mirrored sketch doesn't work?
Hello, I have created a sketch for an aluminum system profile. 1/8 is drawn (meassured part) and the rest is mirrored. Unfortunately, I can not create extrusion from the sketch. Only why is not clear to me.
-
Sketch fillet bug?
Hello, I create the following sketch and tried to add a fillet to the bottom left 'yellow' point with r=0.75. But I couldn't enter the radius and get an error? Does OnShape try to use the default radius of 2?
-
FeatureScript Editable Sketches
Is there a way to generate Sketches in FeatureScript in such a way that they are editable? with the newSketchOnPlane() and skSolve() functions I get an immutable sketch. Thank you very much.
-
What's the format for entering architectural dimensions?
For example, if I'm putting in 4'2-1/4" as a driven dimension, what would I need to enter for Onshape to recognize? It doesn't seem like it uses a standard similar to either Autocad or Inventor. The closest I've gotten (for the same dimension) is 4ft+2in+1/4in... which is a big waste of time... and makes me think I'm doing…
-
"Sketch 1 did not regenerate properly" error in red
I get the error "Sketch 1 did not regenerate properly" (or Sketch 2, etc) in red when I try to create a new document. I have been able to create a few new documents, but most of them give me the error at Sketch 1, but sometimes not until Sketch 2 or 3. Am I doing something wrong?
-
Cant select from sketch with more than 3 layers
If I make a sketch with 3 elements covering the same area everything works as expected, but if I let one area be covered by 4 elements like I cannot select any elements/areas from this sketch when attempting to extrude. Questions: - Is there a good reason why I can only have 3 layers? - Is there a good reason why the…
-
Vertically Symmetric Circular Sketch Pattern
I need to create 5 square holes on a circular arc. They catch is the middle one has to be on the vertical axis. What is the best way to create such a construct so that I can adjust arc angle and radius later?
-
opDeleteBodies doesn't remove outline
Hi, After creating a sketch in FS and (for example) extruding it, I remove the sketch with opDeleteBodies. However, the outline (edge) of the sketch still remains. What am I missing here? You can see it in "Nuts & Bots Generator"…
-
Hiding a sketch
Hi, Does anyone know how to hide a sketch so it doesn't show up on screen? I create a sketch in FS and revolve it, but in the UI, both the revolved body and the sketch are visible. I've tried the UIHint.ALWAYS_HIDDEN but no luck. Regards Soren
-
Where can I learn a sequence of steps for sketching?
After hand drafting for 20 or so years, I'm learning Onshape. This is my first CAD program. I've been putting in hours of study, listening to tutorials, following and making test sketches, with a fair bit of success. But as soon as I try to make my own sketches for my work (lighting design), I am quickly confounded by my…
-
Im having trouble understanding how sketch features read data...
So I thought I had overcome the learning curve but appears not: Basically i want to draw a line from point A to point B (seems simple but its part of a more complex program) using defined points from the user. annotation { "Name" : "Select Leading Edge", "Filter" : EntityType.VERTEX && SketchObject.YES, "MaxNumberOfPicks"…