Macro Center Align Objects with Faces or Edges/hr: Difference between revisions

From FreeCAD Documentation
(Created page with "'''Mover''' File:Mover-ico.png: skup alata za pomicanje i okretanje 3D dijelova na različitim osima")
(Created page with "'''Measure''' File:Caliper-ico.png: skup alata za mjerenje 3D dijelova, s nekim mjerama Snap i Radius, Length, Angle.")
Line 24: Line 24:
'''Mover''' [[File:Mover-ico.png]]: skup alata za pomicanje i okretanje 3D dijelova na različitim osima
'''Mover''' [[File:Mover-ico.png]]: skup alata za pomicanje i okretanje 3D dijelova na različitim osima


'''Measure''' [[File:Caliper-ico.png]]: a set of tools to measure 3D parts, with some Snap facility and Radius, Length, Angle measurements.
'''Measure''' [[File:Caliper-ico.png]]: skup alata za mjerenje 3D dijelova, s nekim mjerama Snap i Radius, Length, Angle.


These helpers work with '''Part, App::Part and Body objects'''.
These helpers work with '''Part, App::Part and Body objects'''.

Revision as of 16:13, 30 December 2018

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
Autor : easyw-fc
Autor
easyw-fc
Preuzimanje datoteka
None
Linkovi
Verzija
1.5.3
Datum zadnje izmjene
2017-10-01
Verzije FreeCAD-a
None
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.

These helpers work with Part, App::Part and Body objects. Each Tool can be Floating or Docked Left or Right.


OLD References

This macro covers the following constraints:

  • Concentric constraint among non cylindrical parts;
  • Constraint on center Faces and/or Edges.
  • It works also with the new Body and App::Part containers, as well as with STEP hierarchy.

Aligning tool video tutorial

Aligning STEP models video tutorial


Use

Faces or Edges constraint among non cylindrical parts: Just open a FC document, launch the Macro and select two or more Faces/Edges to be aligned. Click on Align button and that's it!

Script

The icon for your toolbar

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