Part Module/sv: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
(10 intermediate revisions by the same user not shown)
Line 28: Line 28:
{{Caption|The Part Workbench is the basic layer that exposes the OCCT drawing functions to all workbenches in FreeCAD.}}
{{Caption|The Part Workbench is the basic layer that exposes the OCCT drawing functions to all workbenches in FreeCAD.}}


<span id="Tools"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
=== Verktygen ===
=== Verktygen ===
Line 36: Line 37:
</div>
</div>


<span id="Primitives"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
===Primitiver===
===Primitiver===
Line 60: Line 62:
* [[Image:Part_Torus.svg|32px]] [[Part_Torus|Torus]]: Creates a torus.
* [[Image:Part_Torus.svg|32px]] [[Part_Torus|Torus]]: Creates a torus.


* [[File:Part_Tube.svg|32px]] [[Part_Tube|Tube]]: Creates a tube. {{Version|0.19}}
* [[File:Part_Tube.svg|32px]] [[Part_Tube|Tube]]: Creates a tube.


* [[Image:Part_Primitives.svg|32px]] [[Part_Primitives|Create primitives...]]: A tool to create one of the following primitives:
* [[Image:Part_Primitives.svg|32px]] [[Part_Primitives|Create primitives...]]: A tool to create one of the following primitives:
Line 82: Line 84:
* [[Image:Part_Builder.svg|32px]] [[Part_Builder|Shape builder...]]: Creates shapes from various primitives.
* [[Image:Part_Builder.svg|32px]] [[Part_Builder|Shape builder...]]: Creates shapes from various primitives.


<span id="Creation_and_modification"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
===Förändra objekt===
===Förändra objekt===
Line 104: Line 107:


* [[Image:Part_Mirror.svg|32px]] [[Part_Mirror|Mirror]]: Mirrors the selected object across a mirror plane.
* [[Image:Part_Mirror.svg|32px]] [[Part_Mirror|Mirror]]: Mirrors the selected object across a mirror plane.

* [[Image:Part_Scale.svg|32px]] [[Part_Scale|Scale]]: Scales one or more shapes. {{Version|1.0}}


* [[Image:Part_Fillet.svg|32px]] [[Part_Fillet|Fillet]]: Fillets (rounds) edges of an object.
* [[Image:Part_Fillet.svg|32px]] [[Part_Fillet|Fillet]]: Fillets (rounds) edges of an object.
Line 109: Line 114:
* [[Image:Part_Chamfer.svg|32px]] [[Part_Chamfer|Chamfer]]: Chamfers edges of an object.
* [[Image:Part_Chamfer.svg|32px]] [[Part_Chamfer|Chamfer]]: Chamfers edges of an object.


* [[File:Part_MakeFace.svg|32px]] [[Part_MakeFace|Make face from wires]]: Makes a face from a set of wires (contours). {{Version|0.19}}
* [[File:Part_MakeFace.svg|32px]] [[Part_MakeFace|Make face from wires]]: Makes a face from a set of wires (contours).


* [[Image:Part_RuledSurface.svg|32px]] [[Part_RuledSurface|Ruled Surface]]: Creates a ruled surface.
* [[Image:Part_RuledSurface.svg|32px]] [[Part_RuledSurface|Ruled Surface]]: Creates a ruled surface.
Line 127: Line 132:
* [[Image:Part_Thickness.svg|32px]] [[Part_Thickness|Thickness]]: Hollows out a solid.
* [[Image:Part_Thickness.svg|32px]] [[Part_Thickness|Thickness]]: Hollows out a solid.


* [[File:Part_ProjectionOnSurface.svg|32px]] [[Part_ProjectionOnSurface|Projection on surface]]: Projects a logo, text or any face, wire or edge onto a surface. {{Version|0.19}}
* [[File:Part_ProjectionOnSurface.svg|32px]] [[Part_ProjectionOnSurface|Projection on surface]]: Projects a logo, text or any face, wire or edge onto a surface.


* [[Image:Part_EditAttachment.svg|32px]] [[Part_EditAttachment|Attachment]]: Attaches an object to another object.
* [[Image:Part_EditAttachment.svg|32px]] [[Part_EditAttachment|Attachment]]: Attaches an object to another object.
Line 144: Line 149:
* [[Image:Part_Cut.svg|32px]] [[Part_Cut|Cut]]: Cuts (subtracts) one object from another.
* [[Image:Part_Cut.svg|32px]] [[Part_Cut|Cut]]: Cuts (subtracts) one object from another.


* [[Image:Part_Fuse.svg|32px]] [[Part_Fuse|Fuse]]: Fuses (unions) two objects.
* [[Image:Part_Fuse.svg|32px]] [[Part_Fuse|Fuse]]: Fuses (unions) two or more objects.


* [[Image:Part_Common.svg|32px]] [[Part_Common|Common]]: Extracts the common (intersection) part of two objects.
* [[Image:Part_Common.svg|32px]] [[Part_Common|Common]]: Extracts the common (intersection) part of two objects.
Line 155: Line 160:
* [[Image:Part_CompSplittingTools.png|48px]] [[Part CompSplittingTools|Splitting tools]]:
* [[Image:Part_CompSplittingTools.png|48px]] [[Part CompSplittingTools|Splitting tools]]:
** [[Image:Part_BooleanFragments.svg|32px]] [[Part_BooleanFragments|Boolean fragments]]: Creates all pieces obtained from Boolean operations.
** [[Image:Part_BooleanFragments.svg|32px]] [[Part_BooleanFragments|Boolean fragments]]: Creates all pieces obtained from Boolean operations.
** [[Image:Part SliceApart.svg|32px]] [[Part_SliceApart|Slice a part]]: Slices and splits an object by intersecting it with other objects.
** [[Image:Part SliceApart.svg|32px]] [[Part_SliceApart|Slice apart]]: Slices and splits an object by intersecting it with other objects.
** [[Image:Part_Slice.svg|32px]] [[Part_Slice|Slice]]: Slices an object by intersecting it with other objects.
** [[Image:Part_Slice.svg|32px]] [[Part_Slice|Slice]]: Slices an object by intersecting it with other objects.
** [[Image:Part_XOR.svg|32px]] [[Part_XOR|XOR]]: Removes space shared by an even number of objects (symmetric version of [[Part_Cut|Cut]]).
** [[Image:Part_XOR.svg|32px]] [[Part_XOR|XOR]]: Removes space shared by an even number of objects.


=== Measure ===
=== Measure ===

[[File:Part Measure Menu.png|64px]] [[Part Measure Menu|Measure]]: Tools for linear and angular measurements.


* [[Image:Part_Measure_Linear.svg|32px]] [[Part_Measure_Linear|Measure Linear]]: Creates a linear measurement.
* [[Image:Part_Measure_Linear.svg|32px]] [[Part_Measure_Linear|Measure Linear]]: Creates a linear measurement.
Line 173: Line 176:
* [[Image:Part_Measure_Toggle_All.svg|32px]] [[Part_Measure_Toggle_All|Toggle All]]: Shows or hides all measurements.
* [[Image:Part_Measure_Toggle_All.svg|32px]] [[Part_Measure_Toggle_All|Toggle All]]: Shows or hides all measurements.


* [[Image:Part_Measure_Toggle_3d.svg|32px]] [[Part_Measure_Toggle_3d|Toggle 3D]]: Shows or hides 3D measurements.
* [[Image:Part_Measure_Toggle_3D.svg|32px]] [[Part_Measure_Toggle_3D|Toggle 3D]]: Shows or hides 3D measurements.


* [[Image:Part_Measure_Toggle_Delta.svg|32px]] [[Part_Measure_Toggle_Delta|Toggle Delta]]: Shows or hides delta measurements.
* [[Image:Part_Measure_Toggle_Delta.svg|32px]] [[Part_Measure_Toggle_Delta|Toggle Delta]]: Shows or hides delta measurements.
Line 183: Line 186:
* [[File:Part_Export.svg|32px]] [[Part_Export|Export]]: Exports to *.IGES, *.STEP, or *.BREP files.
* [[File:Part_Export.svg|32px]] [[Part_Export|Export]]: Exports to *.IGES, *.STEP, or *.BREP files.


* [[File:Part_BoxSelection.svg|32px]] [[Part_BoxSelection|BoxSelection]]: Selects faces from a rectangular area.
* [[File:Part_BoxSelection.svg|32px]] [[Part_BoxSelection|Box selection]]: Selects faces from a rectangular area.


* [[File:Part_ShapeFromMesh.svg|32px]] [[Part_ShapeFromMesh|Shape from Mesh]]: Creates a shape object from a mesh object.
* [[File:Part_ShapeFromMesh.svg|32px]] [[Part_ShapeFromMesh|Create shape from mesh]]: Creates a shape object from a mesh object.


* [[File:Part_PointsFromMesh.svg|32px]] [[Part_PointsFromMesh|Points from mesh]]: Creates a shape object made of points from a mesh object. {{Version|0.19}}
* [[File:Part_PointsFromMesh.svg|32px]] [[Part_PointsFromMesh|Create points object from geometry]]: Creates a points object from a geometric object.


* [[File:Part_MakeSolid.svg|32px]] [[Part_MakeSolid|Convert to solid]]: Converts a shape object to a solid object.
* [[File:Part_MakeSolid.svg|32px]] [[Part_MakeSolid|Convert to solid]]: Converts a shape object to a solid object.


* [[File:Part_ReverseShapes.svg|32px]] [[Part_ReverseShapes|Reverse shapes]]: Flips the normals of all faces of selected objects.
* [[File:Part_ReverseShape.svg|32px]] [[Part_ReverseShape|Reverse shapes]]: Flips the normals of all faces of selected objects.


* Create a copy:
* Create a copy:
** [[File:Part_SimpleCopy‎.svg|32px]] [[Part_SimpleCopy|Create simple copy]]: Creates a simple copy of a selected object.
** [[File:Part_SimpleCopy‎.svg|32px]] [[Part_SimpleCopy|Create simple copy]]: Creates a simple copy of a selected object.
** [[File:Part_TransformedCopy.svg|32px]] [[Part_TransformedCopy|Create transformed copy]]: Creates a transformed copy of a selected object. {{Version|0.19}}
** [[File:Part_TransformedCopy.svg|32px]] [[Part_TransformedCopy|Create transformed copy]]: Creates a transformed copy of a selected object.
** [[File:Part_ElementCopy.svg|32px]] [[Part_ElementCopy|Create shape element copy]]: Creates a copy from an element (vertex, edge, face) of a selected object. {{Version|0.19}}
** [[File:Part_ElementCopy.svg|32px]] [[Part_ElementCopy|Create shape element copy]]: Creates a copy from an element (vertex, edge, face) of a selected object.
** [[Image:Part_RefineShape.svg|32px]] [[Part_RefineShape|Refine shape]]: Cleans faces by removing unnecessary lines.
** [[Image:Part_RefineShape.svg|32px]] [[Part_RefineShape|Refine shape]]: Cleans faces by removing unnecessary lines.


Line 209: Line 212:
* [[File:Std_SetAppearance.svg|32px]] [[Std_SetAppearance|Appearance]]: Determines the appearance of a whole object (color, transparency etc.).
* [[File:Std_SetAppearance.svg|32px]] [[Std_SetAppearance|Appearance]]: Determines the appearance of a whole object (color, transparency etc.).


* [[File:Part_FaceColors.svg|32px]] [[Part_FaceColors|Set colors]]: Assigns colors to individual faces of objects.
* [[File:Part_ColorPerFace.svg|32px]] [[Part_ColorPerFace|Color per face]]: Assigns colors to individual faces of objects.


== Preferences ==
== Preferences ==
Line 218: Line 221:
* [[Fine-tuning]]: Some extra parameters to fine-tune Part behavior.
* [[Fine-tuning]]: Some extra parameters to fine-tune Part behavior.


<span id="Scripting"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
=== Skript ===
=== Skript ===
Line 235: Line 239:
</div>
</div>


{{Part_Tools_navi{{#translation:}}}}
{{Part Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
[[Category:Workbenches{{#translation:}}]]
[[Category:Workbenches{{#translation:}}]]

Revision as of 09:23, 21 April 2024


Part workbench icon

Introduction

FreeCAD's CAD kapabilitet är baserad på OpenCasCade kärnan. Del modulen tillåter FreeCAD att komma åt och använda OpenCasCade objekt och funktioner. OpenCascade är en professionell CAD kärna, som erbjuder avancerad 3D geometrimanipulation och objekt. Del objekten, till skillnad från Nätmodul objekten, är mycket komplexare, och tillåter därför mycket mer avancerade operationer, som koherenta booleska operationer, ändringshistorik och parametriskt beteende.

A more detailed discussion of Part workbench versus Part Design workbench can be found here: Part and Part Design.

The objects created with the Part Workbench are relatively simple; they are intended to be used with boolean operations (unions and cuts) in order to build more complex shapes. This modeling paradigm is known as the constructive solid geometry (CSG) workflow, and it was the traditional methodology used in early CAD systems. On the other hand, the PartDesign Workbench provides a more modern workflow to constructing shapes: it uses a parametrically defined sketch, that is extruded to form a basic solid body, which is then modified by parametric transformations (feature editing), until the final object is obtained.

Part objects are more complex than mesh objects created with the Mesh Workbench, as they permit more advanced operations like coherent boolean operations, modifications history, and parametric behaviour.

The Part Workbench is the basic layer that exposes the OCCT drawing functions to all workbenches in FreeCAD.

Verktygen

Alla Del modul verktygen finns i Del menyn som kommer fram när du laddar Del modulen.

Primitiver

Detta är verktyg för att skapa primitivobjekt.

  • Låda: Ritar en låda genom att ge dess dimensioner
  • Cylinder: Ritar en cylinder genom att ge dess dimensioner
  • Sfär: Ritar en sfär genom att ge dess dimensioner
  • Kon: Ritar en kon genom att ge dess dimensioner
  • Torus: Ritar en torus (ring) genom att ge dess dimensioner
  • CreatePrimitives: Ett verktyg för att skapa olika parametriska geometriska primitiver
  • Shapebuilder: Ett verktyg för att skapa mer komplexa former från olika parametriska geometriska primitiver
  • Cone: Creates a cone.
  • Tube: Creates a tube.
  • Create primitives...: A tool to create one of the following primitives:
    • Plane: Creates a plane.
    • Box: Creates a box. This object can also be created with the Box tool.
    • Cylinder: Creates a cylinder. This object can also be created with the Cylinder tool.
    • Cone: Creates a cone. This object can also be created with the Cone tool.
    • Sphere: Creates a sphere. This object can also be created with the Sphere tool.
    • Ellipsoid: Creates a ellipsoid.
    • Torus: Creates a torus. This object can also be created with the Torus tool.
    • Prism: Creates a prism.
    • Wedge: Creates a wedge.
    • Helix: Creates a helix.
    • Spiral: Creates a spiral.
    • Circle: Creates a circular arc.
    • Ellipse: Creates an elliptical arc.
    • Point: Creates a point.
    • Line: Creates a line.
    • Regular polygon: Creates a regular polygon.

Förändra objekt

Detta är verktyg för att förändra existerande objekt. De kommer att låta dig välja vilka objekt som du vill förändra.

  • Extrudera: Extruderar plana ytor på ett objekt
  • Rotera: Skapar ett objekt genom att rotera ett annat objekt runt en axel
  • Spegling: Speglar de valda objekten runt en given axel
  • Fasning: Fasar (rundar) kanterna på ett objekt
  • Fasning: Fasar (klipper) kanter på ett objekt
  • Ruled Surface:
  • Loft: Lofts från en profil till en annan
  • Sweep: Sopa en eller flera profiler längs en bana
  • Revolve: Creates a solid by revolving an object (not a solid) around an axis.
  • Mirror: Mirrors the selected object across a mirror plane.
  • Fillet: Fillets (rounds) edges of an object.
  • Chamfer: Chamfers edges of an object.
  • Loft: Lofts from one profile to another.
  • Sweep: Sweeps one or more profiles along a path.
  • Section: Creates a section by intersecting an object with a section plane.
  • Offset tools:
    • 3D Offset: Constructs a parallel shape at a certain distance from an original.
    • 2D Offset: Constructs a parallel wire at certain distance from an original, or enlarges/shrinks a planar face.
  • Attachment: Attaches an object to another object.

Boolean

These tools perform boolean operations.

  • Boolean: Utför booleska operationer på objekt.
  • Cut: Cuts (subtracts) one object from another.
  • Fuse: Fuses (unions) two or more objects.
  • Common: Extracts the common (intersection) part of two objects.
  • Join features:
    • Connect: Connects interiors of walled objects.
    • Embed: Embeds a walled object into another walled object.
    • Cutout: Creates a cutout in a wall of an object for another walled object.
  • Splitting tools:
    • Boolean fragments: Creates all pieces obtained from Boolean operations.
    • Slice apart: Slices and splits an object by intersecting it with other objects.
    • Slice: Slices an object by intersecting it with other objects.
    • XOR: Removes space shared by an even number of objects.

Measure

Other tools

  • Import: Imports from *.IGES, *.STEP, or *.BREP files.
  • Export: Exports to *.IGES, *.STEP, or *.BREP files.

Context menu items

  • Appearance: Determines the appearance of a whole object (color, transparency etc.).

Preferences

  • Preferences: Preferences available for Part Tools (the Part workbench also uses the PartDesign Preferences).
  • Import Export Preferences: Preferences available for importing from and exporting to different file formats.
  • Fine-tuning: Some extra parameters to fine-tune Part behavior.

Skript

See Part scripting.

Tutorials


Mesh Workbench/sv
Drawing Workbench/sv