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")
(Updating to match new version of source page)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{VeryImportantMessage|Ovi su alati sada uključeni u [[Manipulator Workbench]]. Instalirajte ovu radnu površinu za najnovija ažuriranja tih alata.}}
{{VeryImportantMessage|Ovi su alati sada uključeni u [[Manipulator Workbench/hr|Manipulator Workbench]]. Instalirajte ovu radnu površinu za najnovija ažuriranja tih alata.}}


<div class="mw-translate-fuzzy">
{{Macro/hr
{{Macro/hr
|Name=Center Faces of Parts
|Name=Center Faces of Parts
Line 10: Line 11:
|Version=1.5.3
|Version=1.5.3
|Date=2017-10-01
|Date=2017-10-01
|FCVersion=All
|Download=[https://www.freecadweb.org/wiki/images/e/ee/Macro_Center_Align_Objects_with_Faces_or_Edges.svg ToolBar Icon]<br/>[https://www.freecadweb.org/wiki/images/8/8b/Mover-ico.png Mover-ico]<br/>[https://www.freecadweb.org/wiki/images/e/ee/Caliper-ico.png Caliper-ico]
}}
}}
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 20: Line 24:
==Alati==
==Alati==


<div class="mw-translate-fuzzy">
'''Aligner''' [[File:Aligner-ico.png]]: skup alata za pomicanje i poravnavanje 3D dijelova
'''Aligner''' [[File:Aligner-ico.png]]: skup alata za pomicanje i poravnavanje 3D dijelova
</div>


<div class="mw-translate-fuzzy">
'''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
</div>


<div class="mw-translate-fuzzy">
'''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.
</div>


These helpers work with '''Part, App::Part and Body objects'''.
Ovi pomoćnici rade s '''Part, App :: Part i Body objektima'''.
Each Tool can be '''Floating''' or '''Docked Left or Right'''.
Svaki Alat može biti '''Plutajući''' ili '''Usidren lijevo ili desno'''.


----
----


== OLD References ==
==OLD Reference==


Ovaj makronaredba pokriva sljedeća ograničenja:
This macro covers the following constraints:
* Koncentrično ograničenje među necilindričnim dijelovima;
* Concentric constraint among non cylindrical parts;
* Constraint on center Faces and/or Edges.
* Ograničenje na središnja lica and/or rubove.
* It works also with the new Body and App::Part containers, as well as with STEP hierarchy.
* Radi i sa novim Body i App :: Part kontejnerima, kao i sa STEP hijerarhijom.


[[File:Center-align-faces.png ]]
[[File:Center-align-faces.png ]]
Line 53: Line 63:




<div class="mw-translate-fuzzy">
==Use==
==koristite==
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!
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!
</div>


==Script==
==Skripta==
The icon for your toolbar [[File:Macro_Center_Align_Objects_with_Faces_or_Edges.png|50px|link=https://www.freecadweb.org/wiki/File:Macro_Center_Align_Objects_with_Faces_or_Edges.svg]]
Ikona za vašu alatnu traku[[File:Macro_Center_Align_Objects_with_Faces_or_Edges.png|50px|link=https://www.freecadweb.org/wiki/File:Macro_Center_Align_Objects_with_Faces_or_Edges.svg]]


'''CenterAlignObjectswFacesEdges.py'''
'''CenterAlignObjectswFacesEdges.py'''

Latest revision as of 09:55, 23 May 2020

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