File: Nuovo
Jump to navigation
Jump to search
Outdated translations are marked like this.
Posizione nel menu |
---|
File → Nuovo |
Ambiente |
Tutti |
Avvio veloce |
Ctrl+N |
Introdotto nella versione |
- |
Vedere anche |
Apri, Importa |
Descrizione
Il comando Nuovo crea un nuovo documento vuoto e lo rende il documento attivo.
Utilizzo
- Esistono diversi modi per invocare il comando:
Preferenze
- FreeCAD crea un nuovo documento all'avvio se Strumenti → Modifica parametri... → BaseApp → Preferenze → Documento → CreateNewDoc è impostato su
true
. Questa impostazione può essere modificata anche nell'editor delle preferenze. - Alcune proprietà del documento: nome dell'autore, nome dell'azienda e le informazioni sulla licenza, possono essere preimpostate nell'editor delle preferenze.
Proprietà
Molte proprietà possono anche essere modificate nella finestra di dialogo del comando Informazioni sul progetto.
- DataComment: Qualsiasi commento applicabile.
- DataCompany: Nome della ditta. Può essere preimpostato.
- DataCreated By: Nome dell'autore. Può essere preimpostato.
- DataCreation Date: Data automatica. Non modificabile.
- DataFile Name: Il percorso completo del file. Vuoto se il documento non è stato salvato. Non modificabile.
- DataId: Non ancora implementato.
- DataLabel: Il nome che apparirà nella vista ad albero. Di default, il nome del documento.
- DataLast Modified By: Nome dell'autore. Può essere preimpostato.
- DataLast Modified Date: Data automatica. Non modificabile.
- DataLicense: Tipo di licenza. Può essere preimpostato.
- DataLicense URL: URL della licenza. Può essere preimpostato.
- DataShow Hidden: Se vero, gli elementi che sono stati nascosti nella vista ad albero verranno comunque visualizzati. Nascondere gli oggetti nell'albero può essere utile quando si lavora su modelli molto grandi.
- DataTip: Non ancora implementato.
- DataTip Name: Non ancora implementato.
- DataTransient Dir: La directory temporanea utilizzata per i dati di recupero. Non modificabile.
Script
Vedere anche: Script di base per FreeCAD
Per creare un nuovo documento usa il metodo newDocument
dell'applicazione FreeCAD.
import FreeCAD
from pathlib import Path
# The folder and filename we will use:
fld = 'D:/testfiles/'
fnm = fld + 'test.FCStd'
# Make sure fld exists:
Path(fld).mkdir(parents=True, exist_ok=True)
doc = FreeCAD.newDocument()
doc.saveAs(fnm)
FreeCAD.closeDocument(doc.Name)
doc = FreeCAD.open(fnm)
doc.save()
FreeCAD.closeDocument(doc.Name)
Menu di base
- Standard menu: File, Edit, View, Tools, Macro, Windows, Help
- Structure: Std Part, Std Group, Std LinkMake, Std LinkActions
- 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, Placement, Alignment, Toggle Edit mode, Preferences
- View: Create new view, Orthographic view, Perspective view, Fullscreen, Standard views (Fit all, Fit selection, Isometric, Dimetric, Trimetric, Front, Top, Right, Rear, Bottom, Left, Rotate left, Rotate right), Freeze display (Save views, Load views, Freeze view, Clear views), Draw style (As is, Flat lines, Shaded, Wireframe, Points, Hidden line, No shading), Bounding box, Stereo (red/cyan, quad buffer, interleaved rows, interleaved columns, Stereo off, Issue camera position), Zoom (Zoom In, Zoom Out, Box zoom), Document window (Docked, Undocked, Full screen), Toggle axis cross, Clipping plane, Texture mapping, 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), Toggle navigation/edit mode, Appearance, Random color, Workbench, Toolbars (File, Workbench, Macro, View, Structure, Navigation), Pannelli (Report view, Tree view, Property view, Selection view, Combo view, Python console, DAG view), Tree view actions (Sync view, Sync selection, Sync placement, Pre-selection, Record selection, Single document, Multi document, Collapse/expand, Initiate dragging, Go to selection), Status bar
Documentazione utente

- Installazione: Windows, Linux, Mac; Getting started
- Base: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials
- Ambienti: Menu di base; Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting