Surface Workbench: Difference between revisions

From FreeCAD Documentation
(Better explanations and icons)
(Module to Workbench renaming.)
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{UnfinishedDocu{{#translation:}}}}
<translate>
<translate>

<!--T:17-->
<!--T:17-->
{{Docnav
{{Docnav
|[[Start Workbench|Start Workbench]]
|[[Start_Workbench|Start Workbench]]
|[[TechDraw Module|TechDraw Module]]
|[[TechDraw_Workbench|TechDraw Workbench]]
|IconL=Workbench_Start.svg
|IconL=Workbench_Start.svg
|IconR=Workbench_TechDraw.svg
|IconR=Workbench_TechDraw.svg
Line 13: Line 13:
[[Image:Workbench_Surface.svg|thumb|128px|Surface workbench icon]]
[[Image:Workbench_Surface.svg|thumb|128px|Surface workbench icon]]


</translate>
<!--T:26-->
{{TOCright}}
{{TOCright}}
<translate>


== Introduction == <!--T:11-->
== Introduction == <!--T:11-->


<!--T:1-->
<!--T:1-->
The [[Image:Workbench_Surface.svg|24px]] [[Surface_Workbench|Surface Workbench]] introduced in FreeCAD 0.17 provides tools to create and modify simple [https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline NURBS surfaces]. These tools have a similar functionality to the {{Button|[[File:Part Builder.svg|16px]] [[Part_Builder|Part Builder]]}} tool when the {{MenuCommand|Face from edges}} option is used. However, unlike that tool, the tools of the Surface Workbench are parametric and provide additional options. In this respect, the tools in this workbench are similar to {{Button|[[File:PartDesign_AdditiveLoft.svg|16px]] [[PartDesign_AdditiveLoft|PartDesign AdditiveLoft]]}} and {{Button|[[File:PartDesign_AdditivePipe.svg|16px]] [[PartDesign_AdditivePipe|PartDesign AdditivePipe]]}}.
The [[Image:Workbench_Surface.svg|24px]] [[Surface_Workbench|Surface Workbench]] provides tools to create and modify simple [https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline NURBS surfaces]. These tools have a similar functionality to the {{Button|[[File:Part Builder.svg|16px]] [[Part_Builder|Part Builder]]}} tool when the {{MenuCommand|Face from edges}} option is used. However, unlike that tool, the tools of the Surface Workbench are parametric and provide additional options. In this respect, the tools in this workbench are similar to {{Button|[[File:PartDesign_AdditiveLoft.svg|16px]] [[PartDesign_AdditiveLoft|PartDesign AdditiveLoft]]}} and {{Button|[[File:PartDesign_AdditivePipe.svg|16px]] [[PartDesign_AdditivePipe|PartDesign AdditivePipe]]}}.


<!--T:19-->
<!--T:19-->
Line 36: Line 37:


<!--T:12-->
<!--T:12-->
The Surface Workbench intends to create faces with shapes, which is not possible to do with the standard tools in other workbenches. The OCCT kernel gives as example a rectangular box with a rounded corners of different radii.
The Surface Workbench intends to create faces with shapes, which is not possible to do with the standard tools in other workbenches.


</translate>
</translate>
Line 49: Line 50:


<!--T:15-->
<!--T:15-->
As of FreeCAD v0.17, the generated surface cannot be placed inside a {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]]}}. However, the generated surface can be contained inside a {{Button|[[File:Std_Part.svg|16px]] [[Std_Part|Std Part]]}} together with the associated {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|Body]]}} that holds the datum planes and sketches. The non parametric {{Button|[[File:Part_Builder.svg|16px]] [[Part_Builder|Part Builder]]}} tool can then be used in order to create a [[Glossary#Shell|shell]] and finally a [[Glossary#Solid|solid]].
The generated surface cannot be placed inside a {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]]}}. However, the generated surface can be contained inside a {{Button|[[File:Std_Part.svg|16px]] [[Std_Part|Std Part]]}} together with the associated {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]]}} that holds the datum planes and sketches. The non-parametric {{Button|[[File:Part_Builder.svg|16px]] [[Part_Builder|Part Builder]]}} tool can then be used in order to create a [[Glossary#Shell|shell]] and finally a [[Glossary#Solid|solid]].


== Tools == <!--T:3-->
== Tools == <!--T:3-->


<!--T:4-->
<!--T:4-->
* [[File:Surface_Filling.svg|32px]] [[Surface_Filling|Filling]]: fills a series of boundary curves with a surface. The surface can be modified by adding constraint curves and vertices. The surface changes its shape so that the surface goes through the added constraint elements.
* [[File:Surface_Filling.svg|32px|link=Surface_Filling]] [[Surface_Filling|Filling]]: fills a series of boundary curves with a surface.

* [[File:Surface_GeomFillSurface.svg|32px]] [[Surface_GeomFillSurface|Fill boundary curves]]: creates a surface from two, three or four boundary edges. Three different filling modes are available: Stretch, Coons, Curved.
<!--T:27-->
* [[File:Surface_GeomFillSurface.svg|32px|link=Surface_GeomFillSurface]] [[Surface_GeomFillSurface|Fill boundary curves]]: creates a surface from two, three or four boundary edges.


<!--T:25-->
<!--T:25-->
* [[File:Surface_Sections.svg|32px]] [[Surface_Sections|Sections]]: creates a surface from edges that represent transversal sections of surface. {{Version|0.19}}
* [[File:Surface_Sections.svg|32px|link=Surface_Sections]] [[Surface_Sections|Sections]]: creates a surface from edges that represent transversal sections of surface. {{Version|0.19}}
* [[File:Surface_ExtendFace.svg|32px]] [[Surface_ExtendFace|Extend face]]: extrapolates the surface at the boundaries with its local u-parameter and v-parameter.
* [[File:Surface_CurveOnMesh.svg|32px]] [[Surface_CurveOnMesh|Curve on mesh]]: create approximated spline segments on top of a selected [[Mesh_Workbench|mesh]]. If the object is not a [[Mesh|Mesh]], but a parametric [[Shape|Shape]], it must be converted to a mesh using {{Button|[[File:Mesh_FromPartShape.svg|16px]] [[Mesh_FromPartShape|Mesh FromPartShape]]}}.


== Limitations == <!--T:8-->
<!--T:28-->
* [[File:Surface_ExtendFace.svg|32px|link=Surface_ExtendFace]] [[Surface_ExtendFace|Extend face]]: extrapolates the surface at the boundaries with its local U parameter and V parameter.

<!--T:29-->
* [[File:Surface_CurveOnMesh.svg|32px|link=Surface_CurveOnMesh]] [[Surface_CurveOnMesh|Curve on mesh]]: create approximated spline segments on top of a selected [[Mesh_Workbench|mesh]].


<!--T:9-->
The used surface code from the CAD-kernel OCCT is very fragile and can not handle wrong input properly. This can cause FreeCAD to crash. The following situations cause problems and may crash FreeCAD:
* adding additional edges or wires as boundary to a surface, that would make up several faces. Add those edges only to '''Unbound Edges'''.
* Using of boundary edges, that fails do build a closed boundary at parametric changes of the document.


<!--T:10-->
<!--T:10-->
{{Docnav
{{Docnav
|[[Start Workbench|Start Workbench]]
|[[Start_Workbench|Start Workbench]]
|[[TechDraw Module|TechDraw Module]]
|[[TechDraw_Workbench|TechDraw Workbench]]
|IconL=Workbench_Start.svg
|IconL=Workbench_Start.svg
|IconR=Workbench_TechDraw.svg
|IconR=Workbench_TechDraw.svg
}}
}}
</translate>
{{clear}}


</translate>
{{Surface Tools navi{{#translation:}}}}
{{Surface Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 14:18, 16 August 2021

Surface workbench icon

Introduction

The Surface Workbench provides tools to create and modify simple NURBS surfaces. These tools have a similar functionality to the Part Builder tool when the Face from edges option is used. However, unlike that tool, the tools of the Surface Workbench are parametric and provide additional options. In this respect, the tools in this workbench are similar to PartDesign AdditiveLoft and PartDesign AdditivePipe.

Some of the features provided are:

  • Creation of surfaces from boundary edges.
  • Alignment of the curvature from neighboring faces.
  • Constraining of surfaces to additional curves and vertices.
  • Extension of faces.
  • A mesh can be used as a template to create spline curves on its surface.

Usage

The Surface Workbench intends to create faces with shapes, which is not possible to do with the standard tools in other workbenches.

Surface created with sketches placed in datum planes with the tools of the PartDesign Workbench

The Surface Workbench integrates with other workbenches of FreeCAD. The above example was created from Sketches placed on PartDesign Datum planes in the PartDesign Workbench. The design can be fully parametric if all datum planes and sketches are defined accordingly. In most cases it is sufficient to draw a closed sketch to define the boundary of a face, and then use different options to further modify its shape.

The generated surface cannot be placed inside a PartDesign Body. However, the generated surface can be contained inside a Std Part together with the associated PartDesign Body that holds the datum planes and sketches. The non-parametric Part Builder tool can then be used in order to create a shell and finally a solid.

Tools

  • Filling: fills a series of boundary curves with a surface.
  • Extend face: extrapolates the surface at the boundaries with its local U parameter and V parameter.