circle
Discussion List
-
How can I find the intersection points from 2 circles in 2 sketches (w scripting)
Hello I want to find the intersection points of 2 circles I tried : var i = 1; var j = 2; // sketches Id var test_i = id + ("sketch_" ~ i); var test_j = id + ("sketch_" ~ j); // circles Id var circle_i = "circle_" ~ i; var circle_j = "circle_" ~ j; // circle edges var edges_i = sketchEntityQuery(test_i, EntityType.EDGE,…
-
plane creation questioning
Hello My question :how can I create a normal plane, with an origin point specified on its normal line, and with a pierce point on another specified point..... Let see on a drawing : I created the circle0 with the following code : var R = definition.Radius; var Angle = definition.myAngle; var x0 = definition.Xcoord; var y0…
-
How to find the radius or diameter of a curve in Featurescript
I'm trying to amend some code to generate a spur gear - eventually I want it to create a helical gear, but I have to walk before I can run! The starting position is that I will have created a part studio with the relevant gears as blank extruded pieces. The diameter of the extrusions are the gear tip diameters as I'm…
-
How do you make a curved ramp?
I am trying to make a ramp above a semicircle that curves along its edge. I have spent the last several hours trying to figure this out so any help would be much appreciated! thanks!
-
Get vertex from centre of circular edge selected in query
If I select a circular edge in a query, how do I locate the vertex at the center of that circle? I will be creating a coordinate system from it if it makes any difference to the best approach.
-
How do i creat a perforated plate ?
Hello, i been trying to creat a perforated plate. So i creat a big circle and eight little circles on a sketch. The little circles are evenly distributed on the big circle with the circle template. Now i like to extrude all the circles, but the problem is, i only can choose the big circle and one of the little circles, not…
-
How Do I Subtract a Number from My Variable
I am trying to iterate an skCircle to space them out evenly, but I keep on running into an error: "Can not subtract ValueWithUnits (map) and number" for (var i = 0 * inch; i < definition.length; i += 1) { var iss = i - 0.5; skCircle(sketch2, "circle" ~ i, { "center" : vector((iss), 0.5 * inch), "radius" : 0.6299 * inch });…
-
Extend an Ellipse?
I've stumbled across that an Ellipse can not be selected to Extend in a sketch? Although I did figure out a way to do this! I drew a line from the center of the ellipse out past the ellipse for convenience. Then I picked the end point of the line, then the ellipse curve and made those Coincident. After that I picked the…