Std New/it: Difference between revisions
Renatorivo (talk | contribs) |
No edit summary |
||
(25 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav/it |
{{Docnav/it |
||
| |
| |
||
Line 9: | Line 10: | ||
}} |
}} |
||
{{GuiCommand/it|Name=Std_New|Name/it=Nuovo|MenuLocation=File → Nuovo|Workbenches=Tutti|Shortcut={{KEY|Ctrl}}+{{KEY|N}}|SeeAlso=[[Std_Open/it|Apri]],[[Std_Import/it|Importa]]}} |
{{GuiCommand/it|Name=Std_New|Name/it=Nuovo|MenuLocation=File → Nuovo|Workbenches=Tutti|Shortcut={{KEY|Ctrl}}+{{KEY|N}}|SeeAlso=[[Std_Open/it|Apri]], [[Std_Import/it|Importa]]}} |
||
<span id="Description"></span> |
|||
<div class="mw-translate-fuzzy"> |
|||
==Descrizione== |
|||
Crea un nuovo documento vuoto. |
|||
FreeCAD può essere configurato per creare automaticamente all'avvio un nuovo documento vuoto, selezionando l'impostazione appropriata nella scheda '''Modifica → Preferenze → Generali → Documento'''. |
|||
Il comando '''Nuovo''' crea un nuovo documento vuoto e lo rende il documento attivo. |
|||
Il documento appena creato è nominato Unnamed (senza nome). È possibile rinominarlo come qualsiasi altro documento. |
|||
<span id="Usage"></span> |
|||
È possibile creare un '''nuovo documento''' in qualsiasi momento, anche senza chiudere quelli eventualmente aperti. |
|||
==Utilizzo== |
|||
</div> |
|||
# Esistono diversi modi per invocare il comando: |
|||
The '''Std New''' command creates a new empty document and makes it the active document. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
<span id="Preferences"></span> |
|||
==Usage== |
|||
==Preferenze== |
|||
Vedere anche: [[Preferences_Editor/it|Editor delle Preferenze]]. |
|||
# There are several ways to invoke the command: |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* Per impostazione predefinita, FreeCAD si avvia senza un nuovo documento. Selezionare l'opzione {{MenuCommand|Modifica → Preferenze... → Generale → Documento → Crea un nuovo documento all'avvio}} per modificare questo comportamento. |
|||
==Preferences== |
|||
* Alcune proprietà del documento: nome dell'autore, nome dell'azienda e informazioni sulla licenza, possono essere preimpostate: {{MenuCommand|Modifica → Preferenze... → Generale → Documento → Diritti d'autore e Licenza}}. |
|||
<span id="Properties"></span> |
|||
* FreeCAD will create a new document at start up if {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Document → CreateNewDoc}} is set to {{TRUE}}. This setting can also be changed in the [[Preferences_Editor#Document|Preferences Editor]]. |
|||
==Proprietà== |
|||
* Some document properties: author names, company name and license information, can be preset in the [[Preferences Editor#Document|Preferences Editor]]. |
|||
Molte proprietà possono anche essere modificate nella finestra di dialogo del comando [[Std_ProjectInfo/it|Informazioni sul progetto]]. |
|||
==Properties== |
|||
<span id="Data"></span> |
|||
Most properties can also be changed in the dialog box of the [[Std_ProjectInfo|Std ProjectInfo]] command. |
|||
===Dati=== |
|||
{{TitleProperty|Base}} |
|||
⚫ | |||
* {{PropertyData|Company}}: Company name. {{Emphasis|Can be preset}}. |
|||
⚫ | |||
⚫ | |||
* {{PropertyData|File Name}}: The full path of the file. Blank if the document has not been saved. {{Emphasis|Not editable}}. |
|||
⚫ | |||
* {{PropertyData|Label}}: The name that will appear in the [[Tree_view|Tree view]]. By default the name of the document. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
* {{PropertyData|Show Hidden}}: If true, items that have been hidden in the [[Tree_view|Tree view]] will be displayed anyway. Hiding items in the tree can be useful when working on larger models. |
|||
⚫ | |||
⚫ | |||
* {{PropertyData|Transient Dir}}: The transient directory used for recovery data. {{Emphasis|Not editable}}. |
|||
⚫ | |||
==Scripting== |
|||
* {{PropertyData|Company|String}}: nome dell'azienda. |
|||
⚫ | |||
⚫ | |||
* {{PropertyData|File Name|String}}: il percorso completo del file. Vuoto se il documento non è stato salvato (sola lettura). |
|||
⚫ | |||
* {{PropertyData|Label|String}}: il nome che apparirà nella [[Tree_view/it|Vista ad albero]]. Sostituito dal nome del documento dopo la riapertura. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
* {{PropertyData|Material|Map|Hidden}}: mappa con le proprietà del materiale. |
|||
* {{PropertyData|Meta|Map|Hidden}}: mappa con metainformazioni aggiuntive. |
|||
* {{PropertyData|Show Hidden|Bool}}: Se vero, gli elementi che sono stati nascosti nella [[Tree_view/it|Vista ad albero]] verranno comunque visualizzati. Nascondere gli elementi nell'albero può essere utile quando si lavora su modelli più grandi. |
|||
⚫ | |||
⚫ | |||
* {{PropertyData|Transient Dir|String}}: la directory temporanea utilizzata per i dati di ripristino (sola lettura). |
|||
* {{PropertyData|Uid|UUID|Hidden}}: UUID del documento (sola lettura). |
|||
* {{PropertyData|Unit System|Enumeration}}: il sistema di unità del documento. Il valore iniziale dipende dal [[Preferences_Editor/it#Generale_2|Sistema di unità predefinito]]. {{Version/it|1.0}} |
|||
<span id="Scripting"></span> |
|||
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
==Script== |
|||
{{Emphasis|Vedere anche:}} [[FreeCAD Scripting Basics/it|Script di base per FreeCAD]] |
|||
To create a new document use the {{incode|newDocument}} method of the FreeCAD application. |
|||
Per creare un nuovo documento usa il metodo {{incode|newDocument([name], [hidden<nowiki>=</nowiki>False])}} dell'applicazione FreeCAD. Il nome del documento deve essere univoco, che viene verificato automaticamente. Se non viene fornito alcun nome, il documento sarà denominato "Senza titolo". Se viene utilizzato {{incode|hidden<nowiki>=</nowiki>True}}, il nuovo documento non verrà visualizzato nella GUI e non verrà visualizzata alcuna scheda. |
|||
{{Code|code= |
{{Code|code= |
||
Line 81: | Line 91: | ||
FreeCAD.closeDocument(doc.Name) |
FreeCAD.closeDocument(doc.Name) |
||
}} |
}} |
||
{{Docnav/it |
{{Docnav/it |
||
Line 91: | Line 102: | ||
}} |
}} |
||
{{ |
{{Std_Base_navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Latest revision as of 20:44, 23 April 2024
Nuovo |
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:
- Premere il pulsante Nuovo.
- Selezionare l'opzione File → Nuovo dal menu.
- Usare la scorciatoia da tastiera: Ctrl+N.
Preferenze
Vedere anche: Editor delle Preferenze.
- Per impostazione predefinita, FreeCAD si avvia senza un nuovo documento. Selezionare l'opzione Modifica → Preferenze... → Generale → Documento → Crea un nuovo documento all'avvio per modificare questo comportamento.
- Alcune proprietà del documento: nome dell'autore, nome dell'azienda e informazioni sulla licenza, possono essere preimpostate: Modifica → Preferenze... → Generale → Documento → Diritti d'autore e Licenza.
Proprietà
Molte proprietà possono anche essere modificate nella finestra di dialogo del comando Informazioni sul progetto.
Dati
Base
- DatiComment (
String
): qualsiasi commento applicabile. - DatiCompany (
String
): nome dell'azienda. - DatiCreated By (
String
): nome dell'autore. - DatiCreation Date (
String
): timbro data automatico (sola lettura). - DatiFile Name (
String
): il percorso completo del file. Vuoto se il documento non è stato salvato (sola lettura). - DatiId (
String
): non ancora implementato. - DatiLabel (
String
): il nome che apparirà nella Vista ad albero. Sostituito dal nome del documento dopo la riapertura. - DatiLast Modified By (
String
): nome dell'autore. - DatiLast Modified Date (
String
): timbro data automatico (sola lettura). - DatiLicense (
String
): tipo di licenza. - DatiLicense URL (
String
): URL della licenza. - Dati (Hidden)Material (
Map
): mappa con le proprietà del materiale. - Dati (Hidden)Meta (
Map
): mappa con metainformazioni aggiuntive. - DatiShow Hidden (
Bool
): Se vero, gli elementi che sono stati nascosti nella Vista ad albero verranno comunque visualizzati. Nascondere gli elementi nell'albero può essere utile quando si lavora su modelli più grandi. - DatiTip (
Link
): non ancora implementato. - DatiTip Name (
String
): non ancora implementato. - DatiTransient Dir (
String
): la directory temporanea utilizzata per i dati di ripristino (sola lettura). - Dati (Hidden)Uid (
UUID
): UUID del documento (sola lettura). - DatiUnit System (
Enumeration
): il sistema di unità del documento. Il valore iniziale dipende dal Sistema di unità predefinito. disponibile dalla versione 1.0
Script
Vedere anche: Script di base per FreeCAD
Per creare un nuovo documento usa il metodo newDocument([name], [hidden=False])
dell'applicazione FreeCAD. Il nome del documento deve essere univoco, che viene verificato automaticamente. Se non viene fornito alcun nome, il documento sarà denominato "Senza titolo". Se viene utilizzato hidden=True
, il nuovo documento non verrà visualizzato nella GUI e non verrà visualizzata alcuna scheda.
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)
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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub