TechDraw SectionView/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/it |Gruppo di proiezioni |Dettaglio |TechDraw |IconL=TechDraw_ProjectionGroup.svg |I...")
No edit summary
Line 39: Line 39:
=== Dati ===
=== Dati ===


====Sezione= ===
====Sezione====
* {{PropertyData|Base View}}: la vista della parte su cui si basa questa Vista in sezione.
* {{PropertyData|Base View}}: la vista della parte su cui si basa questa Vista in sezione.
* {{PropertyData|Section Normal}}: un vettore che descrive la direzione normale al piano di taglio.
* {{PropertyData|Section Normal}}: un vettore che descrive la direzione normale al piano di taglio.

Revision as of 20:25, 7 April 2020

Vista di sezione

Posizione nel menu
TechDraw → Vista di sezione
Ambiente
TechDraw
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Vista, Gruppo di proiezioni

Descrizione

Lo strumento Vista di sezione crea una vista in sezione trasversale basata sulla vista di una parte esistente.

File:TechDraw Section example.png

Sezione di una vista già posizionata, che mostra i fori interni e la superficie di taglio ombreggiata

Utilizzo

  1. Selezionare una vista di una parte nella finestra o nella struttura 3D.
  2. Se nel documento sono presenti più pagine di disegno, è necessario selezionare anche la pagina desiderata nella struttura.
  3. Premere il pulsante Vista di sezione.
  4. Si apre una finestra di dialogo che aiuta a calcolare le varie proprietà della sezione. La finestra di dialogo calcola ragionevoli punti di partenza per SectionNormal e Direzione della vista, ma per esigenze speciali questi possono essere modificati dopo la creazione.
  5. Se si commette un errore o si cambia idea durante l'impostazione dei parametri della sezione, premere il pulsante Reset e si può ricominciare da capo.

La scheda Azioni per definire il taglio in sezione di una vista

Proprietà

Dati

Sezione

  • DatiBase View: la vista della parte su cui si basa questa Vista in sezione.
  • DatiSection Normal: un vettore che descrive la direzione normale al piano di taglio.
  • DatiSection Origin: un vettore che descrive un punto sul piano di taglio. Tipicamente il baricentro della parte originale.
  • DatiFuse Before Cut: fondere le forme sorgente prima di eseguire il taglio di sezione.

Cut Surface Format

  • DatiCut Surface Display: Appearance of cut surface. Options:
    • Hide Hides the cut surface, only the outline will be displayed.
    • Color: Colors the cut surface using the setting of Cut Surface Color in the TechDraw preferences.
    • SvgHatch: Hatches the section cut using a hatch
    • PatHatch: Hatches the section cut using a geometric hatch
  • DatiFile Hatch Pattern: Full path to SVG hatch pattern file.
  • DatiFile Geom Pattern: Full path to PAT pattern file.
  • DatiSvg Included: Full path to the included SVG hatch pattern file.
  • DatiPat Included: Full path to the included PAT pattern file.
  • DatiName Geom Pattern: Name of PAT pattern to use (ignored for the SvgHatch setting of Cut Surface Display).

Vista

Cut Surface

  • VistaCut Surface Color: Solid color for surface highlight. Used if Cut Surface Display is set to Color.

Surface Hatch

  • VistaHatch Color: Color for surface hatch lines.
  • VistaWeight Pattern: Line weight for surface hatch lines.

Base View

A Section view inherits all applicable properties of the view specified as DatiBaseView. In the properties of the view you can change the appearance of the section line:

  • VistaSection Line Color: Color for the section line.
  • VistaSection Line Style: Style for the section line.

The default settings for these parameters are set via the settings Section Line and Section Line Style in the TechDraw preferences.

Script

Vedere anche: API TechDraw e Nozioni di base sugli script di FreeCAD.

Lo strumento Vista di sezione può essere utilizzato nelle macro e dalla console Python tramite la seguente funzione:

view = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewPart','View')
rc = page.addView(view)
view.Source = box
view.Direction = (0.0,0.0,1.0)

section = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewSection','Section')
rc = page.addView(section)
section.Source = box
section.BaseView = view
section.Direction = (0.0,1.0,0.0)
section.SectionNormal = (0.0,0.0,1.0)
section.SectionOrigin = (5.0,5.0,5.0)

Note

  • Section Line Format: both the traditional section line format (as depicted above), and the "reference arrow method" are supported. This option is controlled by the Preference setting "Mod/TechDraw/Format/SectionFormat" (see Std_DlgParameter). 0 for traditional line, 1 for reference arrow method.
  • CutSurfaceDisplay: the cut surface can be hidden, painted in a solid color, hatched using an Svg pattern (default) or hatched using a PAT pattern. See Hatching.
  • FuseBeforeCut: the section operation sometimes fails to cut the source shapes. If FuseBeforeCut is true, the source shapes are merged into a single shape before the section operation is attempted. If you encounter problems with the section operation, try flipping this value.