Goal would be to cut a solid by a plane from the part design workbench. With a tickbox "reverse" to select which side of the solid we want to keep.
See my post here : https://forum.freecadweb.org/viewtopic.php?f=3&t=43125
Feature request : Cut tool in the PartDesign workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Feature request : Cut tool in the PartDesign workbench.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: Feature request : Cut tool in the PartDesign workbench.
yes solidworks style ...
Re: Feature request : Cut tool in the PartDesign workbench.
This essentially exists in the Arch Workbench.
Arch_CutPlane and Arch_CutLine. The latter one was recently implemented.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Feature request : Cut tool in the PartDesign workbench.
Looks like it, but I tried it and cannot use it on a body with a datum plane. The button is greyed. I tried to select both plane and solid, then the button ungrey, but nothin happens. Not sure it's suppose to work on solid bodies?vocx wrote: ↑Sat Feb 15, 2020 12:38 am
This essentially exists in the Arch Workbench.
Arch_CutPlane and Arch_CutLine. The latter one was recently implemented.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: Feature request : Cut tool in the PartDesign workbench.
It does work on solid bodies. Arch Walls and structures are solid objects. The problem is that this tool is more designed to be used on "naked" solids, like those created with the Part Workbench or Arch Workbench. If you try to use it inside a PartDesign Body it's going to be a bit tricky because this operation is not a PartDesign Feature, it just does a simple boolean operation.
Moreover, I think PartDesign Planes (datum planes) aren't considered "real" objects that can be used in operations that require a "Shape".
In order to use a datum plane, I'd do this: switch to the Part Workbench, use Part_CreatePrimitives to create a simple plane. Then you should attach that plane (Part_Attachment), or move it, to the position of the datum plane inside the PartDesign Body. Then you can use it with the Arch_CutPlane tool.
When you do the selection, you have to select the entire Body in the tree view, not one of its features. But when selecting the plane, you do have to select one of its faces in the 3D view.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Feature request : Cut tool in the PartDesign workbench.
Actual workaround:vocx wrote: ↑Sat Feb 15, 2020 8:01 am
In order to use a datum plane, I'd do this: switch to the Part Workbench, use Part_CreatePrimitives to create a simple plane. Then you should attach that plane (Part_Attachment), or move it, to the position of the datum plane inside the PartDesign Body. Then you can use it with the Arch_CutPlane tool.
When you do the selection, you have to select the entire Body in the tree view, not one of its features. But when selecting the plane, you do have to select one of its faces in the 3D view.
- switch to the Part Workbench
- use Part_CreatePrimitives to create a simple plane.
- Then you should attach that plane (Part_Attachment), or move it, to the position of the datum plane inside the PartDesign Body
- Switch to Arch Workbench
- Then you can use it with the Arch_CutPlane tool
That feature request makes sense since the workaround involves 5 steps in 2 other different WB (3 with part design).
Proposed:
Could it be implemented as a "CutByPlane" button like that? :
- Select Body
- Select (XY-XZ-YZ)Plane/PartDesign_Plane/Part_Plan
- Click on "CutByPlane"
- And if its not a Part_Plan, automatically create one attached to the selected plane
- Create one body for each resulting piece
Benefits:
That would reduce the steps to selecting 2 objects and click on one button that would be in the Part Design WB, so no switching of WB.
And creating automatically 2 bodies for the resulting pieces would respect the obligation of "one body, one object".
Find your user.cfg and system.cfg files : Macro_findConfigFiles
Imperial system makes no sense, go metric ! ! !
Imperial system makes no sense, go metric ! ! !