Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Documentation for opCreateOutline
kenn_sebesta167
Member Posts: 108 ✭✭
I learned that there is a neat feature, `opCreateOutline`. However, I cannot find any documentation on it. It isn't listed in https://cad.onshape.com/FsDoc/library.html, and there are only a smattering of results on google. Am I looking in the wrong place, or is this functionality not documented?
The specific reason I am looking is because I want to know if opCreateOutline preserves the original `z` value (where `z` is orthogonal to the projection plane), but in general I would like to know if there are many undocumented FeatureScript operations, or if I'm simply always looking in the wrong spot.
The specific reason I am looking is because I want to know if opCreateOutline preserves the original `z` value (where `z` is orthogonal to the projection plane), but in general I would like to know if there are many undocumented FeatureScript operations, or if I'm simply always looking in the wrong spot.
0
Comments
Being undocumented, it's a use-at-your-own-risk deal.
/** * @internal * Generates surfaces representing the outlines of parts or surfaces projected onto a surface * @param id : @autocomplete `id + "createOutline1"` * @param definition {{ * @field tools {Query} : The tool parts or surfaces * @field target {Query} : The face whose surface will be used to create outline. * Currently only planes, cylinders or extruded surfaces are supported. * @field offsetFaces {Query} : @optional Faces in tools which are offsets of target face. If `offsetFaces` are * provided, the operation will fail if `target` is non-planar and there are not exactly two offset faces per tool. * }} */ export const opCreateOutline = function(context is Context, id is Id, definition is map) { return @opCreateOutline(context, id, definition); };It would be nice if it would define the outputs as well as the inputs. Well, thanks for the tip anyway!