Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Is there a polygon function?

dave_cowdendave_cowden Member, Developers Posts: 445 ✭✭✭

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...



Best Answers

Answers

  • dave_cowdendave_cowden Member, Developers Posts: 445 ✭✭✭
    Yes it is easy , but it seems like a function many will have to write over and over....


  • dave_cowdendave_cowden Member, Developers Posts: 445 ✭✭✭
    sweet! that's a good addition.
Sign In or Register to comment.