Std ProjectUtil: Difference between revisions
(Removed 'In Progress'.) |
mNo edit summary |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
<translate> |
<translate> |
||
<!--T:1--> |
|||
{{Docnav |
{{Docnav |
||
|[[Std_DependencyGraph|DependencyGraph]] |
|||
|[[Std_ExportGraphviz|Std ExportGraphviz]] |
|||
|[[Std_MeasureDistance| |
|[[Std_MeasureDistance|MeasureDistance]] |
||
|[[Std_Tools_Menu|Std Tools Menu]] |
|[[Std_Tools_Menu|Std Tools Menu]] |
||
|IconL= |
|IconL=Std_DependencyGraph.svg |
||
|IconR=Std_MeasureDistance.svg |
|IconR=Std_MeasureDistance.svg |
||
|IconC=Freecad.svg |
|IconC=Freecad.svg |
||
}} |
}} |
||
<!-- |
<!--T:2--> |
||
{{GuiCommand |
{{GuiCommand |
||
|Name=Std ProjectUtil |
|Name=Std ProjectUtil |
||
|Empty=1 |
|||
|MenuLocation=Tools → Project utility... |
|MenuLocation=Tools → Project utility... |
||
|Workbenches=All |
|Workbenches=All |
||
}} |
}} |
||
==Description== |
==Description== <!--T:3--> |
||
<!--T:4--> |
|||
With the '''Std ProjectUtil''' command you can extract files from a FreeCAD project file (*.FCStd), which is in fact a [https://en.wikipedia.org/wiki/Zip_(file_format) ZIP] file, and, after manual edits, create a new project file from them. |
With the '''Std ProjectUtil''' command you can extract files from a FreeCAD project file ({{FileName|*.FCStd}}), which is in fact a [https://en.wikipedia.org/wiki/Zip_(file_format) ZIP] file, and, after manual edits, create a new project file from them. |
||
</translate> |
</translate> |
||
[[Image:Project_utility_en.png]] |
[[Image:Project_utility_en.png]] |
||
<translate> |
<translate> |
||
<!--T:5--> |
|||
{{Caption|The Project utility dialog box}} |
{{Caption|The Project utility dialog box}} |
||
==Usage== |
==Usage== <!--T:6--> |
||
===Extract project=== |
===Extract project=== <!--T:7--> |
||
<!--T:8--> |
|||
# Select the {{MenuCommand|Tools → Project utility...}} option from the menu. |
# Select the {{MenuCommand|Tools → [[Image:Std_ProjectUtil.svg|16px]] Project utility...}} option from the menu. |
||
# The Project utility dialog box opens. |
# The Project utility dialog box opens. |
||
# Press the {{Button|...}} button to the right of {{MenuCommand|Extract project → Source}}. |
# Press the {{Button|...}} button to the right of {{MenuCommand|Extract project → Source}}. |
||
# Select the *.FCStd file you want to edit. |
# Select the {{FileName|*.FCStd}} file you want to edit. |
||
# Press the {{Button|...}} button to the right of {{MenuCommand|Extract project → Destination}}. |
# Press the {{Button|...}} button to the right of {{MenuCommand|Extract project → Destination}}. |
||
# Select a folder where the project file should be extracted. It is advisable to select an empty folder. |
# Select a folder where the project file should be extracted. It is advisable to select an empty folder. |
||
Line 41: | Line 44: | ||
# Press the {{Button|Close}} button to close the dialog box. |
# Press the {{Button|Close}} button to close the dialog box. |
||
===Manual edits=== |
===Manual edits=== <!--T:9--> |
||
<!--T:10--> |
|||
It is important to realize that the files inside a FreeCAD project file are interlinked. Only editing a single file will typically lead to errors. To make consistent edits across multiple files use a good code editor, such as [http://notepad-plus-plus.org/ Notepad++] (for the Windows OS). |
It is important to realize that the files inside a FreeCAD project file are interlinked. Only editing a single file will typically lead to errors. To make consistent edits across multiple files use a good code editor, such as [http://notepad-plus-plus.org/ Notepad++] (for the Windows OS) or [https://notepadqq.com/s/ Notepadqq] (for Linux OS). |
||
===Create project=== |
===Create project=== <!--T:11--> |
||
<!--T:12--> |
|||
# Select the {{MenuCommand|Tools → Project utility...}} option from the menu. |
# Select the {{MenuCommand|Tools → [[Image:Std_ProjectUtil.svg|16px]] Project utility...}} option from the menu. |
||
# The Project utility dialog box opens. |
# The Project utility dialog box opens. |
||
# Press the {{Button|...}} button to the right of {{MenuCommand|Create project → Source}}. |
# Press the {{Button|...}} button to the right of {{MenuCommand|Create project → Source}}. |
||
# Select the |
# Select the {{FileName|Document.xml}} file. The command will be automatically find all linked files. |
||
# Press the {{Button|...}} button to the right of {{MenuCommand|Create project → Destination}}. |
# Press the {{Button|...}} button to the right of {{MenuCommand|Create project → Destination}}. |
||
# Select a folder where the new project file should be created. |
# Select a folder where the new project file should be created. |
||
# Press the {{Button|Create}} button. |
# Press the {{Button|Create}} button. |
||
# A new project file with a fixed name, |
# A new project file with a fixed name, {{FileName|project.fcstd}}, is created in the selected folder. There is no warning if a file with that name already exists. |
||
# Optionally check the {{CheckBox|TRUE|Load project file after creation}} checkbox. |
# Optionally check the {{CheckBox|TRUE|Load project file after creation}} checkbox. |
||
# Press the {{Button|Close}} button to close the dialog box. |
# Press the {{Button|Close}} button to close the dialog box. |
||
==Notes== |
==Notes== <!--T:13--> |
||
<!--T:14--> |
|||
* For more information about the FreeCAD project file format see [[File_Format_FCStd|File Format FCStd]]. |
* For more information about the FreeCAD project file format see [[File_Format_FCStd|File Format FCStd]]. |
||
<!--T:15--> |
|||
{{Docnav |
{{Docnav |
||
|[[Std_DependencyGraph|DependencyGraph]] |
|||
|[[Std_ExportGraphviz|Std ExportGraphviz]] |
|||
|[[Std_MeasureDistance| |
|[[Std_MeasureDistance|MeasureDistance]] |
||
|[[Std_Tools_Menu|Std Tools Menu]] |
|[[Std_Tools_Menu|Std Tools Menu]] |
||
|IconL= |
|IconL=Std_DependencyGraph.svg |
||
|IconR=Std_MeasureDistance.svg |
|IconR=Std_MeasureDistance.svg |
||
|IconC=Freecad.svg |
|IconC=Freecad.svg |
Latest revision as of 07:30, 11 August 2021
Std ProjectUtil |
Menu location |
---|
Tools → Project utility... |
Workbenches |
All |
Default shortcut |
None |
Introduced in version |
- |
See also |
None |
Description
With the Std ProjectUtil command you can extract files from a FreeCAD project file (*.FCStd), which is in fact a ZIP file, and, after manual edits, create a new project file from them.
The Project utility dialog box
Usage
Extract project
- Select the Tools → Project utility... option from the menu.
- The Project utility dialog box opens.
- Press the ... button to the right of Extract project → Source.
- Select the *.FCStd file you want to edit.
- Press the ... button to the right of Extract project → Destination.
- Select a folder where the project file should be extracted. It is advisable to select an empty folder.
- Press the Extract button.
- Press the Close button to close the dialog box.
Manual edits
It is important to realize that the files inside a FreeCAD project file are interlinked. Only editing a single file will typically lead to errors. To make consistent edits across multiple files use a good code editor, such as Notepad++ (for the Windows OS) or Notepadqq (for Linux OS).
Create project
- Select the Tools → Project utility... option from the menu.
- The Project utility dialog box opens.
- Press the ... button to the right of Create project → Source.
- Select the Document.xml file. The command will be automatically find all linked files.
- Press the ... button to the right of Create project → Destination.
- Select a folder where the new project file should be created.
- Press the Create button.
- A new project file with a fixed name, project.fcstd, is created in the selected folder. There is no warning if a file with that name already exists.
- Optionally check the Load project file after creation checkbox.
- Press the Close button to close the dialog box.
Notes
- For more information about the FreeCAD project file format see File Format FCStd.
Std Base
- File: New, Open, Close, Close All, Save, Save As, Save a Copy, Save All, Revert, Import, Export,Merge project, Project information, Print, Print preview, Export PDF, Recent files, Exit
- Edit: Undo, Redo, Cut, Copy, Paste, Duplicate selection, Refresh, Box selection, Box element selection, Select All, Delete, Send to Python Console, Placement, Transform, Alignment, Toggle Edit mode, Edit mode, Preferences
- View:
- Miscellaneous: Create new view, Orthographic view, Perspective view, Fullscreen, Bounding box, Toggle axis cross, Clipping plane, Texture mapping, Toggle navigation/Edit mode, Appearance, Random color, Workbench, Status bar
- Standard views: Fit all, Fit selection, Isometric, Dimetric, Trimetric, Home, Front, Top, Right, Rear, Bottom, Left, Rotate Left, Rotate Right
- Freeze display: Save views, Load views, Freeze view, Clear views
- Draw style: As is, Points, Wireframe, Hidden line, No shading, Shaded, Flat lines
- Stereo: Stereo red/cyan, Stereo quad buffer, Stereo Interleaved Rows, Stereo Interleaved Columns, Stereo Off, Issue camera position
- Zoom: Zoom In, Zoom Out, Box zoom
- Document window: Docked, Undocked, Fullscreen
- Visibility: Toggle visibility, Show selection, Hide selection, Select visible objects, Toggle all objects, Show all objects, Hide all objects, Toggle selectability, Toggle measurement, Clear measurement
- Toolbars: File, Edit, Clipboard, Workbench, Macro, View, Structure, Help
- Panels: Tree view, Property view, Selection view, Tasks, Python console, DAG view, Model, Report view
- Link navigation: Go to linked object, Go to the deepest linked object, Select all links
- Tree view actions: Sync view, Sync selection, Sync placement, Pre-selection, Record selection, Single document, Multi document, Collapse/Expand, Initiate dragging, Go to selection, Selection Back, Selection Forward
- Tools: Edit parameters, Save image, Load image, Scene inspector, Dependency graph, Project utility, Measure distance, Add text document, View turntable, Units calculator, Customize, Addon manager
- Macro: Macro recording, Macros, Recent macros, Execute macro, Attach to remote debugger, Debug macro, Stop debugging, Step over, Step into, Toggle breakpoint
- Help: Help, FreeCAD Website, Donate, Users documentation, Python scripting documentation, Automatic Python modules documentation, FreeCAD Forum, FreeCAD FAQ, Report a bug, About FreeCAD, What's This
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, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub