https://wiki.freecad.org/api.php?action=feedcontributions&user=Brst&feedformat=atomFreeCAD Documentation - User contributions [en]2024-03-28T16:24:53ZUser contributionsMediaWiki 1.40.1https://wiki.freecad.org/index.php?title=Defeaturing&diff=508035Defeaturing2019-09-09T11:46:25Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturing Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
Part.show(box3)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.PNG|200px|thumb|left|Box3 shape used in python code, before defeaturing]] [[File:box4.PNG|200px|thumb|left|Box4 shape used in python code, defeatured]]<br />
<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508034Defeaturing2019-09-09T11:46:03Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturing Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
Part.show(box3)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.PNG|200px|thumb|left|Box3 shape used in python code, before defeaturing]] [[File:box4.PNG|200px|thumb|left|Box4 shape used in python code]]<br />
<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508033Defeaturing2019-09-09T11:44:35Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
Part.show(box3)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.PNG|200px|thumb|left|Box3 shape used in python code, before defeaturing]] [[File:box4.PNG|200px|thumb|left|Box4 shape used in python code]]<br />
<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508032Defeaturing2019-09-09T11:41:11Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.PNG|200px|thumb|left|Box3 shape used in python code, before defeaturing]] [[File:box4.PNG|200px|thumb|left|Box4 shape used in python code]]<br />
<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508031Defeaturing2019-09-09T11:40:50Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.PNG|200px|thumb|left|Box3 Shape used in python code, before defeaturing]] [[File:box4.PNG|200px|thumb|left|Box4 Shape used in python code]]<br />
<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508030Defeaturing2019-09-09T11:40:26Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.PNG|200px|thumb|left|Box3 Shape used in python code, before defeaturing]]<br />
[[File:box4.PNG|200px|thumb|left|Box4 Shape used in python code]]<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=File:Box4.PNG&diff=508029File:Box4.PNG2019-09-09T11:39:48Z<p>Brst: Shape used to show defeaturing in python</p>
<hr />
<div>Shape used to show defeaturing in python</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508028Defeaturing2019-09-09T11:39:16Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.PNG|200px|thumb|left|Box3 Shape used in python code, before defeaturing]]<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508027Defeaturing2019-09-09T11:38:39Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.PNG|200px|thumb|left|alt text]]<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508026Defeaturing2019-09-09T11:37:21Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
[[File:box3.png|200px|thumb|left|alt text]]<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=File:Box3.PNG&diff=508025File:Box3.PNG2019-09-09T11:36:57Z<p>Brst: shape used for Defeaturing python example</p>
<hr />
<div>shape used for Defeaturing python example</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508024Defeaturing2019-09-09T11:33:16Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python:<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=508023Defeaturing2019-09-09T11:33:05Z<p>Brst: </p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python<br />
{{Code|code=<br />
box = Part.makeBox(10,10,10)<br />
box2 = Part.makeBox(5,5,5,FreeCAD.Vector(5,5,0))<br />
box3 = box.cut(box2)<br />
faces = App.ActiveDocument.ActiveObject.Shape.Faces[6:] #the faces of box3 that are part of the corner pocket<br />
box4 = App.ActiveDocument.ActiveObject.Shape.defeaturing(faces) #defeature the shape<br />
Part.show(box4) #show defeatured shape<br />
}}<br />
<br />
</translate><br />
{{clear}}</div>Brsthttps://wiki.freecad.org/index.php?title=Defeaturing&diff=507541Defeaturing2019-09-08T10:41:00Z<p>Brst: First commit to Defeaturing, goal: add python code snippet to show defeaturing example without using the defeaturing workbench</p>
<hr />
<div><languages/><br />
<br />
<translate><br />
<br />
==Introduction== <!--T:1--><br />
<br />
<!--T:24--><br />
3D Model Defeaturing got added with Open CASCADE 7.3 [https://dev.opencascade.org/index.php?q=node/1211] and can be used for editing STEP models by removing of the features from the model.<br />
<br />
<!--T:25--><br />
It is also possible to direct modeling the model, when the history of operations is unavailable. <br />
(This is the case for 3d STEP models). <br />
Defeaturing can also useful to remove proprietary details of the model before sharing it.<br />
<br />
The easiest way to use defeaturing is by using the [https://www.freecadweb.org/wiki/Defeaturing_Workbench Defeaturng Workbench]<br />
<br />
==Code snippet== <!--T:7--><br />
Defeaturing can also be used with python<br />
{{Code|code=<br />
WIP<br />
}}<br />
<br />
</translate><br />
{{clear}}</div>Brst