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.

opEnclose new option to keep redundant edges. No definition key identified in the std library

Jacob_CorderJacob_Corder Member Posts: 137 PRO
With the new release, there is an option now to keep redundant edges for opEnclose. However, the std library does not identify what the key is to the definition.
 
Does anyone know what the key to the definition is so I can implement this?

This is the definition in the std library.

/**
 * Takes in a set of bodies and faces and creates solid bodies for the enclosed regions.
 * @param id : @autocomplete `id + "enclose"`
 * @param definition {{
 *      @field entities {Query} : Bodies and faces for enclosure.
 * }}
 */
export const opEnclose = function(context is Context, id is Id, definition is map)
{
    return @opEnclose(context, id, definition);
};

Thanks

Best Answer

  • Jacob_CorderJacob_Corder Member Posts: 137 PRO
    Answer ✓
    The response I received from onshape support is that this is behavior is automatic and no definition key is required. Simply upgrading to fs version 2221 enables this new functionality.

Answers

  • Jacob_CorderJacob_Corder Member Posts: 137 PRO
    Answer ✓
    The response I received from onshape support is that this is behavior is automatic and no definition key is required. Simply upgrading to fs version 2221 enables this new functionality.
Sign In or Register to comment.