Is there a polygon function?
dave_cowden
Member, Developers Posts: 484 ✭✭✭
Searching around, I cannot find a function anywhere that does it. looks like it should be in sketch.fs, but its not there.
I found this:
function createJogPolygon(points is array, boundingBox is Box3d, sketchPlane is Plane) returns array
but it doesn't do what i want.
Unfortunately viewing the output of a polygon in part studio, it appears the tool directly generates the line segments and constraints directly, rather than generating a feature call that can be re-used...
0
Best Answers
-
We don't have a function, but we do have a snippet (Line segment chain) in the sketch snippet menu. A function is not hard to write...Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
-
I added skPolyline and skRegularPolygon that you should see in the next update.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
Answers
-
We don't have a function, but we do have a snippet (Line segment chain) in the sketch snippet menu. A function is not hard to write...Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
-
Yes it is easy , but it seems like a function many will have to write over and over....
0 -
I added skPolyline and skRegularPolygon that you should see in the next update.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
-
sweet! that's a good addition.
0

