Part Scale: Difference between revisions
(Some reverting.) |
(V0.22 -> V1.0) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<translate> |
<translate> |
||
<!--T:1--> |
|||
{{Docnav |
{{Docnav |
||
|[[Part_Mirror|Mirror]] |
|[[Part_Mirror|Mirror]] |
||
Line 11: | Line 12: | ||
}} |
}} |
||
<!--T:2--> |
|||
{{GuiCommand |
{{GuiCommand |
||
|Name=Part Scale |
|Name=Part Scale |
||
|MenuLocation=Part → Scale |
|MenuLocation=Part → Scale... |
||
|Workbenches=[[Part_Workbench|Part]] |
|Workbenches=[[Part_Workbench|Part]] |
||
|Version= |
|Version=1.0 |
||
|SeeAlso=[[Draft_Clone|Draft Clone]], [[Draft_Scale|Draft Scale]] |
|SeeAlso=[[Draft_Clone|Draft Clone]], [[Draft_Scale|Draft Scale]] |
||
}} |
}} |
||
== Description == |
== Description == <!--T:3--> |
||
<!--T:4--> |
|||
'''Part Scale''' scales shapes by a specified factor in all directions or by distinct factors in each cardinal direction. In the case of distinct factors, the shapes may be distorted. |
'''Part Scale''' scales shapes by a specified factor in all directions or by distinct factors in each cardinal direction. In the case of distinct factors, the shapes may be distorted. |
||
Line 26: | Line 29: | ||
[[image:Part_Scale_demo.png|400px]] |
[[image:Part_Scale_demo.png|400px]] |
||
<translate> |
<translate> |
||
<!--T:5--> |
|||
{{Caption|Examples of scaling}} |
{{Caption|Examples of scaling}} |
||
==Usage== |
==Usage== <!--T:6--> |
||
<!--T:7--> |
|||
# Select one or more shapes in the [[3D_view|3D view]] or in the [[Tree_view|Tree view]]. |
# Select one or more shapes in the [[3D_view|3D view]] or in the [[Tree_view|Tree view]]. |
||
# There are several ways to invoke the command: |
# There are several ways to invoke the command: |
||
#* Press the {{Button|[[Image:Part_Scale.svg|16px]] [[Part_Scale|Scale]]}} button. |
#* Press the {{Button|[[Image:Part_Scale.svg|16px]] [[Part_Scale|Scale...]]}} button. |
||
#* Select the {{MenuCommand|Part → [[Image:Part_Scale.svg|16px]] Scale}} option from the menu. |
#* Select the {{MenuCommand|Part → [[Image:Part_Scale.svg|16px]] Scale...}} option from the menu. |
||
# A [[#Task_panel|tasks panel]] opens. |
# A [[#Task_panel|tasks panel]] opens. |
||
# Choose {{MenuCommand|Uniform Scaling}} or {{MenuCommand|Non-Uniform Scaling}}. |
# Choose {{MenuCommand|Uniform Scaling}} or {{MenuCommand|Non-Uniform Scaling}}. |
||
Line 39: | Line 44: | ||
# Click {{Button|OK}}. |
# Click {{Button|OK}}. |
||
<!--T:8--> |
|||
Alternatively, the selection can be done after launching the |
Alternatively, the selection can be done after launching the command, by selecting one or more shapes from the list in the [[#Task_panel|tasks panel]]. |
||
<!--T:9--> |
|||
The Tree view will list as many Scale objects as there were selected shapes. Each input shape is placed underneath its Scale object. |
The Tree view will list as many Scale objects as there were selected shapes. Each input shape is placed underneath its Scale object. |
||
== Task panel == |
== Task panel == <!--T:10--> |
||
</translate> |
</translate> |
||
Line 49: | Line 56: | ||
<translate> |
<translate> |
||
<!--T:11--> |
|||
* {{Button|OK}} button creates the scaled object, and closes the task panel. |
* {{Button|OK}} button creates the scaled object, and closes the task panel. |
||
* {{Button|Close}} button closes task panel |
* {{Button|Close}} button closes the task panel without doing anything. |
||
* {{Button|Apply}} button creates the scaled objects, but does not close the task panel. You can then select another shape from the list |
* {{Button|Apply}} button creates the scaled objects, but does not close the task panel. You can then select another shape from the list at the bottom, and create more scaled objects. |
||
* Shape list: here you select |
* {{MenuCommand|Shape}} list: here you select which shapes to scale. If multiple shapes are selected, multiple Scale objects are created. |
||
== Notes == |
== Notes == <!--T:12--> |
||
<!--T:13--> |
|||
* Non-uniform scaling will turn all edges into B-spline curves, and all faces into B-spline surfaces. These are computationally heavier. |
|||
* Points/Vertices can not be scaled as they are dimensionless. |
* Points/Vertices can not be scaled as they are dimensionless. |
||
* [[App_Link|App Link]] objects linked to the appropriate object types and [[App_Part|App Part]] containers with the appropriate visible objects inside can also be scaled. |
* [[App_Link|App Link]] objects linked to the appropriate object types and [[App_Part|App Part]] containers with the appropriate visible objects inside can also be scaled. |
||
* The task panel does not offer a preview |
* The task panel does not offer a preview yet. {{Button|Apply}} will create a scaled object every time you click it, which can be useful as preview. They will however remain and yet another scaled object will be created as you click {{Button|OK}}. [[Std_Undo|Undo]] can be useful to clean them up before clicking {{Button|OK}}. |
||
== Properties == |
== Properties == <!--T:14--> |
||
<!--T:15--> |
|||
The Scale shape is defined by the following parameters, which can be edited after its creation in the [[Property_editor|Property editor]]. |
|||
See also: [[Property_editor|Property editor]]. |
|||
<!--T:16--> |
|||
⚫ | |||
A Part Scale object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties. It also has the following additional properties: |
|||
=== Data === <!--T:17--> |
|||
⚫ | |||
<!--T:18--> |
|||
⚫ | |||
{{TitleProperty|Scale}} |
|||
<!--T:19--> |
|||
*'''XScale, YScale, ZScale''': the scale factors to use for non-uniform scaling |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* {{PropertyData|XScale|Float}}: The X scale factor for non-uniform scaling. |
|||
* {{PropertyData|YScale|Float}}: The Y scale factor, idem. |
|||
* {{PropertyData|ZScale|Float}}: The Z scale factor, idem. |
|||
<!--T:20--> |
|||
{{Docnav |
{{Docnav |
||
|[[Part_Mirror|Mirror]] |
|[[Part_Mirror|Mirror]] |
Latest revision as of 10:54, 21 April 2024
Part Scale |
Menu location |
---|
Part → Scale... |
Workbenches |
Part |
Default shortcut |
None |
Introduced in version |
1.0 |
See also |
Draft Clone, Draft Scale |
Description
Part Scale scales shapes by a specified factor in all directions or by distinct factors in each cardinal direction. In the case of distinct factors, the shapes may be distorted.
Examples of scaling
Usage
- Select one or more shapes in the 3D view or in the Tree view.
- There are several ways to invoke the command:
- Press the Scale... button.
- Select the Part → Scale... option from the menu.
- A tasks panel opens.
- Choose Uniform Scaling or Non-Uniform Scaling.
- Set the scaling factor(s).
- Click OK.
Alternatively, the selection can be done after launching the command, by selecting one or more shapes from the list in the tasks panel.
The Tree view will list as many Scale objects as there were selected shapes. Each input shape is placed underneath its Scale object.
Task panel
- OK button creates the scaled object, and closes the task panel.
- Close button closes the task panel without doing anything.
- Apply button creates the scaled objects, but does not close the task panel. You can then select another shape from the list at the bottom, and create more scaled objects.
- Shape list: here you select which shapes to scale. If multiple shapes are selected, multiple Scale objects are created.
Notes
- Non-uniform scaling will turn all edges into B-spline curves, and all faces into B-spline surfaces. These are computationally heavier.
- Points/Vertices can not be scaled as they are dimensionless.
- App Link objects linked to the appropriate object types and App Part containers with the appropriate visible objects inside can also be scaled.
- The task panel does not offer a preview yet. Apply will create a scaled object every time you click it, which can be useful as preview. They will however remain and yet another scaled object will be created as you click OK. Undo can be useful to clean them up before clicking OK.
Properties
See also: Property editor.
A Part Scale object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:
Data
Scale
- DataBase (
Link
): The input shape (the shape upon which the Part Scale was applied). - DataUniform (
Bool
): Controls uniform vs non-uniform scaling - DataUniform Scale (
Float
): The scale factor for uniform scaling - DataXScale (
Float
): The X scale factor for non-uniform scaling. - DataYScale (
Float
): The Y scale factor, idem. - DataZScale (
Float
): The Z scale factor, idem.
Part
- Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Create primitives, Shape builder
- Creation and modification: Extrude, Revolve, Mirror, Fillet, Chamfer, Make face from wires, Ruled Surface, Loft, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Thickness, Projection on surface, Attachment
- Boolean: Make compound, Explode Compound, Compound Filter, Boolean, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- Measure: Measure Linear, Measure Angular, Measure Refresh, Clear All, Toggle All, Toggle 3D, Toggle Delta
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub