Macro Center Align Objects with Faces or Edges

From FreeCAD Documentation
This page is a translated version of the page Macro Center Align Objects with Faces or Edges and the translation is 65% complete.
Outdated translations are marked like this.
Other languages:
Ovi su alati sada uključeni u Manipulator Workbench. Instalirajte ovu radnu površinu za najnovija ažuriranja tih alata.

Središnja lica dijelova

Opis
Ova makronaredba poravnava objekte preko ograničenja lica ili rubova. Ovi su alati sada uključeni u Manipulator Workbench. Instalirajte ovu radnu površinu za najnovija ažuriranja tih alata.

Makronaredba verzije : 1.5.3
Datum zadnje izmjene : 2017-10-01
Verzija FreeCAD : All
Preuzimanje datoteka : ToolBar Icon
Mover-ico
Caliper-ico
Autor : easyw-fc
Autor
easyw-fc
Preuzimanje datoteka
ToolBar Icon
Mover-ico
Caliper-ico
Linkovi
Verzija
1.5.3
Datum zadnje izmjene
2017-10-01
Verzije FreeCAD-a
All
Zadani prečac
None
Vidi također
None

Opis

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://raw.githubusercontent.com/easyw/FreeCAD_Macros/master/Align%20Objects/CenterAlignObjectswFacesEdges.py" + "\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://raw.githubusercontent.com/easyw/FreeCAD_Macros/master/Align%20Objects/CenterAlignObjectswFacesEdges.py")


Alati

Aligner : skup alata za pomicanje i poravnavanje 3D dijelova

Mover : skup alata za pomicanje i okretanje 3D dijelova na različitim osima

Measure : skup alata za mjerenje 3D dijelova, s nekim mjerama Snap i Radius, Length, Angle.

Ovi pomoćnici rade s Part, App :: Part i Body objektima. Svaki Alat može biti Plutajući ili Usidren lijevo ili desno.


OLD Reference

Ovaj makronaredba pokriva sljedeća ograničenja:

  • Koncentrično ograničenje među necilindričnim dijelovima;
  • Ograničenje na središnja lica and/or rubove.
  • Radi i sa novim Body i App :: Part kontejnerima, kao i sa STEP hijerarhijom.

Aligning tool video tutorial

Aligning STEP models video tutorial


koristite

Lica ili rubovi ograničavaju se među necilindričnim dijelovima: Samo otvorite FC dokument, pokrenite Macro i odaberite dva ili više Faces/Edges koje želite poravnati. Kliknite na gumb Align i to je to!

Skripta

Ikona za vašu alatnu traku

CenterAlignObjectswFacesEdges.py

After downloading the file here
GitHub page
https://github.com/easyw/FreeCAD_Macros/tree/master/Align%20Objects
code:
https://github.com/easyw/FreeCAD_Macros/raw/master/Align%20Objects/CenterAlignObjectswFacesEdges.py
you need to copy the file to your macro directory.
How to install macros

Link

Forum : Faces or Edges constraint among non cylindrical parts Macro