FreeCAD Logo FreeCAD 1.0
  • English Afrikaans Arabo Bielorusso Catalano Czech German Greek Spanish Spanish Basco Finnish Filippino Français Galiziano Croatian Hungarian Indonesiano Italiano Japanese Kabyle Coreano Lituano Dutch Norvegese Bokmal Polish Portuguese Portuguese Romanian Russian Slovak Slovenian Serbo Swedish Turkish Ukrainian Valenziano Vietnamita Cinese Cinese
  • Funzioni
  • Download
  • Blog
  • Documentazione
    Indice di documentazione Per iniziare Documentazione utenti Il manuale FreeCAD Documentazione degli ambienti di lavoro Documentazione di scripting Python Documentazione codice C++ Tutorial Domande frequenti Politica sulla Privacy Informazioni Su FreeCAD
  • Contribuire
    Come aiutare Sponsor Segnala un bug Fai una richiesta Opportunità di lavoro e ricompense Linee guida per contribuire Manuale degli sviluppatori Traduzioni
  • Comunità
    Codice di condotta Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendario
  • ♥ Donate

Donate

$
Informazioni SEPA
Si prega di intestare il bonifico SEPA a:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Agenzia bancaria: BNP Paribas Fortis
Indirizzo: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!

Macro Seleziona passando il mouse.

Descrizione
Questa macro seleziona a scelta una Faccia, Bordo, Vertice passando il mouse.
PS: Per deselezionare una faccia (o altro) cliccare Pause grab e usare la procedura standard: CTRL + Click

Versione macro: 00.03b
Ultima modifica: 2020-10-28
Versione FreeCAD: All
Download: ToolBar Icon
Autore: Mario52
Autore
Mario52
Download
ToolBar Icon
Link
Raccolta di macro
Come installare le macro
Personalizzare la toolbar
Versione macro
00.03b
Data ultima modifica
2020-10-28
Versioni di FreeCAD
All
Scorciatoia
Nessuna
Vedere anche
Nessuno

Descrizione

Questa macro seleziona a scelta una Faccia, Bordo, Vertice passando sopra con il mouse


Macro Select Hovering


Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro


# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://gist.githubusercontent.com/mario52a/7ebe6b3fd047441114d9d0e08ceddd63/raw/f228687c4514159a5acb9920bf2366a81cb4908b/Macro%2520Select%2520Hovering.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://gist.githubusercontent.com/mario52a/7ebe6b3fd047441114d9d0e08ceddd63/raw/f228687c4514159a5acb9920bf2366a81cb4908b/Macro%2520Select%2520Hovering.FCMacro")
<class="rawcodeurl"><a href="https://gist.githubusercontent.com/mario52a/7ebe6b3fd047441114d9d0e08ceddd63/raw/f228687c4514159a5acb9920bf2366a81cb4908b/Macro%2520Select%2520Hovering.FCMacro">raw code</a>


Macro Select Hovering

PS: Per deselezionare una faccia (o altro) cliccare Pause grab e usare la procedura standard: CTRL + Click

Utilizzo

Passare sopra agli elementi con il mouse

Section Face

Selezionare faccia → 3 numero di facce 300.0 area totale delle selezioni 100.0 area della selezione più recente

Section Edge

Selezionare bordo → 4 numero di bordi 40.0 lunghezza totale delle selezioni 10.0 lunghezza dell'ultima selezione

Section Vertex

Selezionare vertice → 1 numero di vertici

Section Main

Il titolo mostra informazioni su :

  • ( Obj: 1 ) : numero di oggetti selezionati
  • ( Sub: 8 ) : numero di sotto-oggetti selezionati
  • ( Tot: 9 ) : Somme Obj + Sub

Unnamed: Box. Face6 (1.34,2.64,10.0)

  • visualizza brevi informazioni e quello che è sotto il cursore del mouse

Unnamed: 1 : (8 sel.) (Obj. 1, Fa. 3, Ed. 4, Ve. 1)

  • Nome del documento
  • 8 selezioni
  • Obj. 1 oggetto
  • Fa. 3 facce
  • Ed. 4 spigoli
  • Ve. 1 vertice
  • Se si utilizzano più documenti, la macro ripristina solo la selezione nel documento aperto (per funzionare)
  • Il tooltip visualizza l'elenco del documento selezionato, nome e sotto-oggetto

Info objects memorized displayed

Selected by Box

  • Se si seleziona tramite la Box selection, questo pulsante seleziona tutti gli oggetti scelti.
  • In alternativa, se si seleziona l'opzione "Vertici" e si desidera selezionare tutti i vertici dell'oggetto, fare clic su questo pulsante.

Reset Data

  • Reimposta tutti i dati nella macro (non nel memo)

Reset Memo

  • Resetta il memo

Remove selection

  • Rimuove le selezioni nel documento corrente

(P.S.: se più documenti sono aperti facendo clic con il mouse nella vista 3D, rimuove tutte le selezioni in tutti i documenti)

Quit

  • Esce dalla macro

Pause grab/Refresh

  • Mette in pausa la macro, ad esempio: deseleziona uno o più oggetti.
  • Dopo la pausa, fare clic per tornare alla macro e aggiornare tutte le informazioni al suo interno.
  • Può essere utilizzato per aggiornare le selezioni nella macro (in qualsiasi momento).
  • Esempio: molti oggetti sono selezionati prima dell'esecuzione della macro.
  • La macro si adatta e rileva tutte le modifiche al documento.

Icone

L'icona deve essere copiata nella stessa directory della macro

Icona barra degli strumenti Macro Select Hovering

Script

Macro_Select_Hovering.FCMacro

Download latest version of the macro


Versioni

ver 00.04b (30/06/2025) : tornato a PySide e adattato il codice

ver 00.04 (11/01/2024): aggiunte:

  • Informazioni LineEdit,
  • Selezione ComboBox memo,
  • Selezione pulsante memo,
  • Pulsante Selected by body
  • Pulsante Reset Data
  • Pulsante Reset Memo
  • Pulsante Remove Selection

ver 00.03b (28/10/2020) : add print() for Python 3

ver 00.03 (26/12/2017)  : replace test with (FreeCAD.ActiveDocument.getObject(obj), sub) == False)

ver 00.02 (26/12/2017)  :

ver 00.01 (25/12/2017)  :

Vincolo

Multiple face selection to convert a shape to a solid

Questa pagina è recuperata da https://wiki.freecad.org/Macro_Select_Hovering

Tieniti aggiornato!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© The FreeCAD Team. Homepage image credits (top to bottom): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

Questo progetto è supportato da: , KiCad Services Corp. e altri sponsor

GitHubMigliora questa pagina su GitHub