Macro WorkFeatures: Difference between revisions
Renatorivo (talk | contribs) (Marked this version for translation) |
(Tutorial Cutting) |
||
Line 130: | Line 130: | ||
#*In Ubuntu, this is normally '''/home/your_user_name/.FreeCAD''' |
#*In Ubuntu, this is normally '''/home/your_user_name/.FreeCAD''' |
||
[[File:Dxf_Importer_Install_02.png|640px|center]] |
[[File:Dxf_Importer_Install_02.png|640px|center]] |
||
{{clear}} |
|||
==Examples== <!--T:13--> |
==Examples== <!--T:13--> |
||
Line 140: | Line 139: | ||
Thickness is the wide of the of the cutting Plane. |
Thickness is the wide of the of the cutting Plane. |
||
<center> |
|||
<!--T:19--> |
|||
<gallery widths="400" heights="250"> |
|||
Here we have selected a cylinder. |
Image:CuttingSettings.jpg|Here we have selected a cylinder. |
||
⚫ | |||
</gallery> |
|||
</center> |
|||
{{clear}} |
|||
<center> |
|||
<gallery widths="400" heights="250"> |
|||
Image:Macro Work Features Cutting 01.png|Select the '''Tab {{KEY|Plane}}''' |
|||
Image:Macro Work Features Cutting 02.png|and click the {{KEY|Plane}} button<br /> (you can change the dimensions of the plane '''Default: 10 x 10'''). |
|||
</gallery> |
|||
</center> |
|||
{{clear}} |
|||
<center> |
|||
<gallery widths="400" heights="250"> |
|||
Image:Macro Work Features Cutting 03.png|click you work object. The plane is created tangent of the object (here a cylinder) |
|||
Image:Macro Work Features Cutting 04.png|click the Tab {{KEY|Modif}}, and <br />'''1 :''' click your object for cutting<br />'''2 :''' click the {{KEY|Select object}} button (here the cylinder and then name is displayed) |
|||
</gallery> |
|||
</center> |
|||
{{clear}} |
|||
<center> |
|||
<gallery widths="400" heights="250"> |
|||
Image:Macro Work Features Cutting 05.png|'''3 :''' click your line for cutting your cylinder<br />'''4 :''' click the {{KEY|Select Cut Line}} (then name is displayed) |
|||
Image:Macro Work Features Cutting 06.png|'''5 :''' click the work plane<br />'''6 :''' click the {{KEY|Select Ref. Plane}} button (then name is displayed) |
|||
</gallery> |
|||
</center> |
|||
{{clear}} |
|||
<center> |
|||
<gallery widths="400" heights="250"> |
|||
Image:Macro Work Features Cutting 07.png| click the {{KEY|Apply}} button |
|||
Image:Macro Work Features Cutting 08.png| The operation is completed and all operations are preserved. |
|||
</gallery> |
|||
</center> |
|||
{{clear}} |
|||
<center> |
|||
<!--T:20--> |
|||
<gallery widths="400" heights="250"> |
|||
[[File:CuttingSettings.jpg]] |
|||
Image:Macro Work Features Cutting 09.png| you can also give Angle and Thickness for your cut. |
|||
</gallery> |
|||
</center> |
|||
{{clear}} |
|||
<!--T:21--> |
|||
'''The result will be :''' |
|||
⚫ | |||
<!--T:22--> |
|||
[[File:CuttingResult.jpg]] |
|||
==Links== <!--T:14--> |
==Links== <!--T:14--> |
||
Line 157: | Line 187: | ||
==Latest version== <!--T:15--> |
==Latest version== <!--T:15--> |
||
⚫ | |||
17/02/2015 : [https://github.com/Rentlau/WorkFeature.git WF_2015_02_17] |
17/02/2015 : [https://github.com/Rentlau/WorkFeature.git WF_2015_02_17] |
||
- Circle and Ellipse Tab added |
- Circle and Ellipse Tab added |
||
Line 171: | Line 201: | ||
{{clear}} |
{{clear}} |
||
⚫ | |||
<languages/> |
<languages/> |
Revision as of 14:51, 5 March 2015
File:WF centerObjectsPlanes Macro WorkFeatures |
Description |
---|
Tool utility to create Points, Axis, Planes...and other usefull functions. Author: rentlau_64 |
Author |
rentlau_64 |
Download |
None |
Links |
Macros recipes How to install macros How to customize toolbars |
Macro Version |
1.0 |
Date last modified |
None |
FreeCAD Version(s) |
None |
Default shortcut |
None |
See also |
None |
Description
Tool utility to create Points (mid points, center of circle, center of object(s)...), Axes (from 2 points, Normal of a plane...), Planes (from 3 points, from one axis and a point...) and many other useful features to facilitate the creation of your project. This utility is up next in the combo view with "Work Features" label.
Uses
Work Features
-
After activating Work Features, the tool moves to the left in the window Combo view.
-
Each use and each Tag that corresponds to a function group is a group created in the name of Tag used. The Axis, Point and Planes origin are directly keyed to hidden.
-
You can ENTERING AND USING common commands to make visible the created function.
Example key Space or select your object and click right of mouse and click "Hide selection" or "Show selection".
Origin Tab
|
Points Tab
|
Axis Tab
|
Plane Tab
|
Objects Tab
|
Views Tab
|
Script
After downloading the file compressed here Download the latest version on GitHub , you must unzip the zip and copy all the files in your macro directory.
PS:This macro is still in development please visit this page for commonly be sure to have the latest version.
- click Menu > Macro > Macros or the click the bottom "Open a dialog to let you execute a macro Recorded"
- A dialog box opens, showing the Macro destination
- Here, in Windows, is C:\Users\your_user_name\AppData\Roaming\FreeCAD\
- In Ubuntu, this is normally /home/your_user_name/.FreeCAD
Examples
Setting of the Cutting tools: Select an object to cut, a cutting line and a reference Plane. Angle is an angle between the cutting Plane and the Ref. Plane. Thickness is the wide of the of the cutting Plane.
-
Here we have selected a cylinder.
-
The result will be : the cylinder is then cut in two parts!
-
Select the Tab Plane
-
and click the Plane button
(you can change the dimensions of the plane Default: 10 x 10).
-
click you work object. The plane is created tangent of the object (here a cylinder)
-
click the Tab Modif, and
1 : click your object for cutting
2 : click the Select object button (here the cylinder and then name is displayed)
-
3 : click your line for cutting your cylinder
4 : click the Select Cut Line (then name is displayed) -
5 : click the work plane
6 : click the Select Ref. Plane button (then name is displayed)
-
click the Apply button
-
The operation is completed and all operations are preserved.
-
you can also give Angle and Thickness for your cut.
Links
The forum discussion MACRO:Work Feature 2014_12
Latest version
17/02/2015 : WF_2015_02_17 - Circle and Ellipse Tab added - Cutting tab added
25/01/2015 : WF_2015_01_25.zip add Object Cylinder Cube
18/01/2015 : WF_2015_01_18.tar.gz add plane and face to view
28/12/2014 : WorkFeatures_2014_12_28.zip
27/12/2014 : WF_2014_12_27.zip