Release notes 0.21/it

FreeCAD 0.21 è stato rilasciato il DD MM 2023, scaricalo dalla pagina Download. Questa pagina elenca tutte le nuove funzionalità e modifiche.

Le note di rilascio delle versioni precedenti di FreeCAD sono disponibili alla pagina Funzionalità.

Segnaposto per un'immagine accattivante selezionata dagli amministratori dal forum delle vetrine degli utenti.

Aspetti generali


Interfaccia utente


Ulteriori miglioramenti dell'interfaccia utente

 * I pulsanti per [[Image:Std_Print.svg|24px]] Stampa e [[Image:Std_UserEditModeDefault.svg|24px]] Modalità modifica sono stati rimossi dalla barra degli strumenti File. Possono essere aggiunti di nuovo personalizzando la barra degli strumenti. Pull request n. 7570 e commit ea9a04e
 * La barra degli strumenti File è stata divisa. I pulsanti per [[Image:Std_Undo.svg|24px]] Annulla, [[Image:Std_Redo.svg|24px]] Ripristina e [[Image:Std_Refresh.svg|24px ]] Aggiorna sono stati spostati nella nuova barra degli strumenti Modifica. I pulsanti per [[Image:Std_Cut.svg|24px]] Taglia, [[Image:Std_Copy.svg|24px]] Copia e [[Image:Std_Paste.svg|24px ]] Incolla sono stati spostati nella nuova barra degli strumenti degli Appunti. Il pulsante per [[Image:Std_WhatsThis.svg|24px]] Cos'è? è stato spostato nella nuova barra degli strumenti della Guida. Pull request n. 7620
 * Sono stati aggiunti comandi a Memorizza e Richiama una vista di lavoro temporanea. Pull request n. 7525
 * Le modifiche ai valori con la rotellina del mouse nei "campi di input" (un tipo di widget utilizzato per inserire valori nei pannelli delle attività, ad esempio da Draft Linea) sono disabilitate se il widget non ha il focus e il parametro ComboBoxWheelEventFilter è abilitato. Ciò impedisce modifiche di valore indesiderate durante lo scorrimento, come già accadeva per le caselle rotanti e combinate. Pull request n. 7561
 * Ora è possibile impostare una trasparenza predefinita per i nuovi oggetti Part o PartDesign nelle Preferenze. Pull request n. 7103
 * C'è il nuovo stile orbita Piatto libero. Può essere abilitato nelle Preferenze o premendo il pulsante nella Barra di stato e poi utilizzando il menu ). Pull request n. 8048
 * Il pannello attività Impostare l'aspetto degli oggetti ora ha anche un pulsante per impostare la proprietà Point Color. Pull request n. 7708
 * È stato aggiunto un pulsante per cambiare i colori del gradiente di sfondo Vista 3D nelle Preferences. Pull request n. 7155
 * Tutte le impostazioni di trasparenza utilizzano ora il pulsante di rotazione uniforme del 5%: un clic sul pulsante in una finestra di dialogo o l'editor di proprietà cambia la trasparenza del 5%. Tenere premuto il pulsante per modificare più passi del 5% contemporaneamente. Pull request n. 7723
 * La finestra Output è stata rinominata in Report per uniformità con l'interfaccia utente. Pull request n. 7739
 * Image Workbench è stato rimosso. Per inserire un piano immagine è ora possibile utilizzare il comando Importa. Fare doppio clic su un piano dell'immagine per modificarne l'orientamento e la scala. Il nuovo comando Carica immagine sostituisce il comando Apri immagine. Pull request n. 8955
 * Il deprecato ambiente di lavoro Raytracing è stato rimosso. Al suo posto dovrebbe essere usato Render Workbench esterno. Pull request n. 9420



Sistema principale

 * La funzione cbrt(x) per le radici cubiche è stata aggiunta per l'uso in Espressioni. Pull request n. 8629
 * Molte nuove Proprietà sono disponibili per lo scripting. Pull request n. 6717
 * Aggiunte funzioni di creazione oggetto, , , così come le funzioni di matrice , { {Incode|mrotatex}}, , ,  per l'uso in Espressioni. Pull request n. 8603.

API


Nuove API Python

 * BSplineSurfacePy::scaleKnotsToBounds: Ridimensiona gli elenchi di nodi U e V per adattarli ai limiti specificati. Pull request n. 7258 e Richiesta pull n. 7385
 * BSplineCurvePy::scaleKnotsToBounds: Ridimensiona l'elenco dei nodi per adattarlo ai limiti specificati. Pull request n. 7385


 * ShapeFix_EdgeConnectPy: classe radice per le operazioni di correzione. commit 4d4adb93
 * ShapeFix_EdgePy: correzione del bordo non valido. commit 4089cbfb
 * ShapeFix_FaceConnectPy: Ricostruisce la connettività tra le facce nella shell. commit a0eb2e9d
 * ShapeFix_FacePy: Classe per correggere le operazioni sulle facce. commit b6cd635c
 * ShapeFix_FixSmallFacePy: Classe per operazioni di correzione sulle facce. commit 4c2946c8
 * ShapeFix_FixSmallSolidPy: correzione di solidi di piccole dimensioni. commit b70d8d37
 * ShapeFix_FreeBoundsPy: Destinato a produrre limiti liberi della forma. commit 1ee1aee1
 * ShapeFix_RootPy: classe root per le operazioni di correzione. commit f3e941a3
 * ShapeFix_ShapePy: Classe per correggere operazioni sulle forme. commit 87db9dcc
 * ShapeFix_ShapeTolerancePy: Modifica le tolleranze delle sotto-forme (vertici, spigoli, facce). commit 125d5b63
 * ShapeFix_ShellPy: classe radice per le operazioni di correzione. commit f3e941a3
 * ShapeFix_SolidPy: Classe principale per le operazioni di correzione. commit 8d568793
 * ShapeFix_SplitCommonVertexPy: Classe per correggere operazioni sulle forme. commit 4b44c54c
 * ShapeFix_SplitToolPy: Strumento per dividere e tagliare i bordi. commit bbecc3f2
 * ShapeFix_WireframePy: Fornisce metodi per correggere il wireframe della forma. commit 6843a461
 * ShapeFix_WirePy: Classe per operazioni di correzione sulle polilinee. commit 94f6279a
 * ShapeFix_WireVertexPy: Correzione dei bordi disconnessi nelle polilinee. commit 8c6ffc99



Python API rimosse

 * FreeCAD.EndingAdd: sostituito da FreeCAD.addImportType. Pull request n. 7167
 * FreeCAD.EndingGet: sostituito da FreeCAD.getImportType. Pull request n. 7167

Addon Manager


Ambiente Arch

 * Sono state aggiunte diverse categorie Arch Profilo: IS RHS, IS SHS, IS Angle e IS Tee. Pull request n. 7181 e Pull request n. 7217
 * Gli oggetti Arch Profilo ora supportano la modifica del tipo di profilo dopo la creazione. Pull request n. 7217
 * Diversi problemi relativi alla modalità di modifica sono stati risolti e i menu contestuali Vista ad albero per gli oggetti Arch sono stati migliorati. Gli oggetti che possono essere modificati ora hanno un'opzione in quel menu. L'opzione  è stata rimossa per gli oggetti senza faccia o che possono avere solo una faccia. Pull request n. 8122
 * Gli oggetti Arch Piano di sezione ora gestiscono gli oggetti non solidi allo stesso modo degli oggetti solidi. Pull request n. 8688



Ulteriori miglioramenti Arch

 * Lo strumento è stato migliorato. Per tutte le polilinee rettangolari ora viene rilevato correttamente il bordo opposto. Pull request n. 8199
 * Il Terreno di un Arch Sito ora può anche essere un solido. Pull request n. 8409
 * Un Arch Sito non mostra più una rappresentazione fantasma degli oggetti nel suo Gruppo. Pull request n. 8409



Ambiente Draft

 * The inaccuracy of Draft Snap Near when snapping to curves was fixed. In addition, Draft Snap Perpendicular can now also snap to faces and find multiple points. To snap to a vertex (e.g. a Draft Point) Draft Snap Endpoint must now be used instead of Draft Snap Near. Pull request #7132
 * To make working with layers easier their drag and drop behavior was modified. If you drop an object from a Std Group, or a group-like object such as an Arch BuildingPart, on a layer, it is no longer removed from the group, and vice versa. This works without holding down the key. Pull request #7462
 * The Draft PointArray command now supports more point object types. Any object with a shape and vertices, as well as a mesh and a point cloud can be used. Pull request #7597
 * The Tree view context menus for Draft objects have been improved. Objects that can be edited with the Draft Edit command, or that have a dedicated edit solution, now have an option in that menu. The  option was removed for objects without a face or that can only have a single face. Pull request #7970
 * The properties of Draft annotation objects have been unified. Draft Text, Draft Dimension and Draft Label objects now all have a Font Name, a Font Size and a Text Color property. The Display Mode options have been made consistent as well and are now: Screen and World. Issue #7861 and Pull request #8081
 * In the task panel of the Draft SetStyle command the button has been replaced by the  button. Pressing this button will process all annotations, including Draft Labels.,  and  parameters have been added. Several minor additional issues were also fixed. Pull request #8190,  Pull request #8195, Pull request #8196 and Pull request #9514.
 * Undo/Redo did not work properly for the Draft modification commands on Windows. Pull request #8267
 * The LayerManager command has been migrated from the BIM Workbench to the Draft Workbench. Pull request #8795

Further Draft improvements

 * When aligning the working plane with a face it was only rotated to match the global axes if the face was a quad. Pull request #7249
 * Several Draft PathArray related issues have been fixed. Pull request #7506 and Pull request #7662
 * The Draft Edit command has received several improvements. For wires, B-splines and Bézier curves a Close/Open option has been added to the edge context menu. For B-splines and Bézier curves a Reverse option has been added to the same menu as well. The task panels have been cleaned up. Pull request #7527 and Pull request #7541
 * Using Esc to exit a command no longer switches off continue mode. Pull request #7611
 * The Draft Snap toolbar was changed to a standard toolbar. Keyboard shortcuts can now be assigned to snaps. But using them during a command only works if none of the input boxes in the task panel has the focus as they 'catch' the so-called in-command shortcuts. Pull request #7656
 * Several Draft AnnotationStyleEditor bugs have been fixed. The and  parameters have been added. Pull request #8207 and Pull request #9702
 * Start and End Offset properties have been added to Draft PathArray objects. Pull request #8295
 * A Count property has been added to the arrays that lacked this property: the non-Link versions of Draft OrthoArray, Draft PolarArray and Draft CircularArray. Pull request #8433
 * The on/off behavior of the grid has been fixed. Pull request #8818
 * The handling of DWG converters has been improved. Pull request #9444

Further FEM improvements

 * When performing analyses using the [[Image:FEM_SolverCalculixCxxtools.svg|24px]] CalculiX solver, there is now also a results pipeline created to visualize the results. Pull request #8525 and Pull request #8903
 * It is now possible to perform transient analyses when using the [[Image:FEM_SolverElmer.svg|32px]] Elmer solver. Pull request #9056
 * The [[Image:FEM_ConstraintInitialPressure.svg|24px]] initial pressure constraint was added to set the initial internal pressure of fluids. Pull request #7364
 * The [[Image:FEM_ConstraintCurrentDensity.svg|24px]] current density constraint was added to set current densities for bodies and faces. Pull request #8348
 * The [[Image:FEM_ConstraintMagnetization.svg|24px]] magnetization constraint was added to set magnetizations for bodies and faces. Pull request #8393
 * The [[Image:FEM_ConstraintFlowVelocity.svg|24px]] flow velocity constraint and [[Image:FEM_ConstraintInitialFlowVelocity.svg|24px]] initial flow velocity constraint were completely rewritten. It is now also possible to specify a velocity via a math formula (to define a velocity profile). Pull request #8963 and Pull request #8964 Note: This is a breaking change. Analyses with existing flow velocity and initial flow velocity constraints will not work anymore. You have to create new flow velocity constraints in the analysis to make existing analyses work. Also note: until FreeCAD 0.21 the results of the flow solver were wrong (fluid density and viscosity were a factor 1000 too high). Therefore the necessary recreation of the velocity constraint also assures the results will be correct.
 * It is now possible to define in the [[Image:FEM_ConstraintDisplacement.svg|24px]] displacement constraint displacements as equations (displacement according to the current solver time).
 * The [[Image:FEM_ConstraintBodyHeatSource.svg|24px]] body heat source constraint has now a task panel and it is possible to set the heat for several bodies or to use several constraints for different bodies in one analysis. Pull request #7367
 * The [[Image:FEM_ConstraintSpring.svg|24px]] spring constraint was not used by any solver. Now it can be used by the Elmer solver via the equations Deformation and Elasticity. Pull request #9005
 * The result mesh cut function [[Image:FEM_PostCreateFunctionCylinder.svg|24px]] Filter function cylinder was added. Pull request #8735
 * The result mesh cut function [[Image:FEM_PostCreateFunctionBox.svg|24px]] Filter function box was added. Pull request #8825
 * It is now possible to open (and this way visualize) *.pvtu files (partitioned VTK unstructured grid data). A *.pvtu file is also the result of an Elmer simulation, when more than one CPU core is used for calculations. Pull request #7159
 * Critical Strain Ratio has been added to the VTK result pipeline. It gives an indication of ductile rupture for materials with a "MaterialMechanicalNonlinear" object. Pull request #7467
 * [[Image:FEM_FemMesh2Mesh.svg|24px]] FEM mesh to mesh has the new parameter scale to define the scale of deformed mesh using Python. Forum thread and Pull request #7715
 * The preferences have a new option to define which solver should automatically be added when creating a new analysis.
 * Usability improvements:
 * If you are in the FEM workbench when loading a FreeCAD file containing an analysis, the analysis gets activated automatically (you have immediate access to all FEM toolbar buttons).
 * The toolbar only has buttons for solvers installed on your system. Unavailable solvers are no longer displayed.
 * New example files for the following equations are available via the FEM Examples: Deformation, Flow, Flux, Heat, Magnetodynamic and Magnetodynamic 2D. Pull requests #8550, #8569, #8579, #8597, #8630 and #9004.
 * New material card for carbon dioxide and a titanium alloy. Pull request #8332 and Pull request #8636

Further Mesh improvements

 * Support to add transparencies to a mesh. Forum thread and Commit f88305e

Further Part improvements

 * The Part PointsFromMesh command has been extended to accept any geometric object as input. Pull request #8730

Further PartDesign improvements

 * In the Hole dialog, the deprecated screw head types (cheese head, cap screw etc.) have been removed. They were deprecated since FreeCAD 0.19. Holes using these types are transformed to custom countersinks/counterbore holes with the diameter and depth used by the types. Pull request #7654
 * In the Additive Loft and Subtractive Loft dialogs, the previously non-functional option Closed does now create a closed loft (like a ring). Pull request #8748
 * The Validate sketch command was added to Helper toolbar. Pull request #7700
 * The unusable Leave sketch and View sketch commands were removed from the menu. The Edit sketch, Merge sketches and Mirror sketch commands were added to the menu. Pull request #7700
 * The involute gear profile has new properties to change the tooth length. This now allows adjustments for certain types of interferences and to use the profile to create involute splines too. Pull request #8184
 * The involute gear profile now offers profile shifting. Issue #5618 and Pull request #8934
 * When creating a Clone it will now inherit the colors of the cloned object. Pull request #9547

Path Workbench

 * Camotics integration. If camotics (version 1.2.2 or later) is installed, a new icon will be added to the Path toolbar. Select a Path Job and press the button to open the Camotics dialog. Then drag the slider to generate a simulated solid at any point in the job. You can also launch the full camotics application to run the animated simulaton. This results in a silent post-processing of the job and creation of a camotics project file. Pull request #6637


 * Additional substitution strings for automatic output naming. If output is being split into multiple files, the filenames can automatically substitute the toolcontroller label, Work Coordinate Systems (WCS), or operation label. This is in addition to the other existing substitution strings like date, job name, etc.


 * Implemented Chipbreaking option for peck style drill cycles. Chipbreaking emits a G73 cycle which causes the control to make a very small retraction move to break the chip without fully retracting the bit from the hole. G73 is supported natively by LinuxCNC. Some other postprocessors will have to interpret the G73 and emit control appropriate codes or decompose the retraction into G1/G0 moves. Postprocessor support for G73 decomposition has been added to the "refactored" postprocessors.Pull request #7469

Further Sketcher improvements

 * The toolbar button for Constrain refraction (Snell's law) has been removed. Commit ef62fc3
 * Split now supports more curves (ellipses, parabolas, hyperbolas and B-splines). Pull request #6971
 * The Dimensional Constraints and Quantity Spin Boxes now support the same math as Expressions (Evaluated in place). Pull Request #7124
 * The toolbar buttons for Select redundant constraints and Select conflicting constraints have been removed. Pull request #7568
 * The toolbar button for Stop operation has been removed. Pull request #7569
 * The toolbar button for Select unconstrained DoF has been removed. Pull request #7603
 * The Sketcher toolbar has been split in two: 'Sketcher-edit-mode' and 'Sketcher' (i.e. 'not edit mode'). The Sketcher toolbars that are only for edit-mode are hidden in non-edit-mode, and those only for non-edit-mode are hidden in edit-mode. The Structure toolbar is also hidden in Sketcher. Pull request #7655
 * Carbon copy if possible now uses constraint names in the expressions it creates instead of an index based reference, making it more reliable. Pull request #7688
 * The Constrain internal alignment tool has been removed. It was obsolete since the introduction of the Show/hide internal geometry tool. Pull request #8863
 * The Sketcher 'Solver Message' taskbox has been simplified. The auto-remove-redundant checkbox has been moved to the Constraint taskbox setting button menu. The auto-update checkbox has been moved to the menu of the update button. Pull request #8864

Further TechDraw improvements

 * Navigation modes have been updated to match those used in the 3D view. Pull request #7081 and Pull request #7107
 * Bitmap hatching was fixed. Issue #6582 and Pull request #7121
 * Support for adjustable gaps for extension lines of dimensions was added. Pull request #7133
 * Multithreading was introduced for hidden line removal and face finding. Pull request #7377
 * The face detection algorithm was improved. Pull request #7448
 * The PrintAll tool was added. Pull request #7460
 * Four tools to control the stacking order of views were added. Issue #6012 and Pull request #7460
 * ActiveView now creates a screen capture instead of an SVG image. Pull request #7471
 * All Latin script templates have been converted to "plain svg". Pull request #7472
 * A preview was added to the task panel of the SectionView tool. Pull request #7658
 * Deprecated DrawViewPart functions were removed: replaceCenterLine, replaceCosmeticEdge, replaceCosmeticVertex and replaceGeomFormat.
 * 3D dimensions can now be created in the same way as 2D dimensions (apart from the fact that the geometry has to be selected in a 3D view). This eliminates the need to link them manually to 3D geometry. Pull request #8141
 * The DimensionRepair tool was added. Pull request #8141
 * A function to remove overlapping edges returned by the hidden line removal algorithm was added, including a new setting (in advanced preferences) for the number of passes of this function. Pull request #9280

Compilation
Since this release FreeCAD can only be compiled using Qt 5.x and Python 3.x. The lowest supported Qt version is 5.12, the lowest supported Python version is 3.8.

To compile FreeCAD see the instructions for Windows, Linux and macOS.

The supported operating systems are:
 * Windows 7, 8, 10 and 11
 * Linux Ubuntu Focal Fossa (20.04) and newer
 * macOS: 10.12 Sierra or newer

32bit Windows
Since FreeCAD 0.19 we no longer officially support 32bit Windows. FreeCAD might work on these systems, but no support is given.

Remote Desktop under Windows
Depending on the OpenGL graphics capabilities of a computer, it might be that one encounters a crash when running FreeCAD via remote desktop. To fix this upgrade your OpenGL driver. Only if this doesn't help:
 * Download this OpenGL library for 64bit Windows and extract it.
 * Rename the DLL file to opengl32sw.dll and copy it to the bin subfolder of FreeCAD's installation folder (overwrite the existing DLL there).

macOS: Start Workbench shows blank page
If the Start Workbench shows only a blank page, you must enable the option Use software OpenGL in the menu.