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.
Section (New Custom Feature)
MichaelPascoe
Member Posts: 1,953 PRO
Section
Link:
Created by:
Michael Pascoe, Cache River Mill.
Description:
This custom feature splits and removes a section of the selected parts.
Prerequisites:
One plane or flat face
One or more parts.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
Tagged:
3
Comments
Often, I need to cut trim flush with another part or wall. Sometimes the wall or other part does not fully intersect the part so I can't boolean or extrude from a face. The process usually involves a plane, sketch, and an extrude to cut the entire part to size.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
You'll have to add some additional code to tell whether you pick a face or mate connector, then make a plane from it.
When I have the time, I would like to implement these options:
- Section "Up To Entity"
- Section with surface
- Include hatching
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
The right way to implement plane or mate connector selection here is with:
and then (as mentioned in the QueryFilterCompound documentation: https://cad.onshape.com/FsDoc/library.html#QueryFilterCompound ) you can just use `evPlane` (no need to figure out whether it is a face or mate connector, evPlane will do it for you).
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
Update!
Requested by @Evan_Reese- Manipulator acts more like the official section view tool (This was made possible by @Jake_Rosenfeld, Thank you!)
- Added "Up to vertex" section method
- Auto detect owner part of face for initial part selection
- Auto detect "Up to vertex" if you already have a face and a point pre selected when you start the feature
I have named the internal portion of the feature. You will need to remove the old feature and add the new one.https://cad.onshape.com/documents/bdffe7bf48f3b4155e85d073/w/4aa864c3858500b61d8570f5/e/310ce09906d1409f3c49a5f2
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
Looks great!!
Update!
- "Section all" improvements.
In previous versions, "Section all" would only section entities that were sliced by the section plane. Now, all solid bodies are sectioned if "Section all" is selected.https://cad.onshape.com/documents/bdffe7bf48f3b4155e85d073/w/4aa864c3858500b61d8570f5/e/c05408d7f5b69bfedfcabb5e
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
Done Thanks for the tip!
I think it would also be cool to be able to choose a surface or a sketch shape for sections that aren't flat. Another time though.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
Update!
- New section types added: Projection / surface. (Supports selection of surfaces and sketches.
- Planar mode now accepts mate connectors & implicit mate connectors @Evan_Reese.
https://cad.onshape.com/documents/bdffe7bf48f3b4155e85d073/w/4aa864c3858500b61d8570f5/e/310ce09906d1409f3c49a5f2Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎