Macro Center Align Objects with Faces or Edges/hr: Difference between revisions
(Created page with "{{VeryImportantMessage|Ovi su alati sada uključeni u Manipulator Workbench. Instalirajte ovu radnu površinu za najnovija ažuriranja tih alata.}}") |
(Updating to match new version of source page) |
||
(13 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 |
|Name=Center Faces of Parts |
||
|Translate=Središnja lica dijelova |
|||
|Icon=Macro_Center_Align_Objects_with_Faces_or_Edges.png |
|Icon=Macro_Center_Align_Objects_with_Faces_or_Edges.png |
||
|Description= |
|Description=Ova makronaredba poravnava objekte preko ograničenja lica ili rubova. Ovi su alati sada uključeni u [https://github.com/easyw/Manipulator Manipulator Workbench]. Instalirajte ovu radnu površinu za najnovija ažuriranja tih alata. |
||
|Author=easyw-fc |
|Author=easyw-fc |
||
|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 19: | Line 24: | ||
==Alati== |
==Alati== |
||
<div class="mw-translate-fuzzy"> |
|||
'''Aligner''' [[File:Aligner-ico.png]]: |
'''Aligner''' [[File:Aligner-ico.png]]: skup alata za pomicanje i poravnavanje 3D dijelova |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
'''Mover''' [[File:Mover-ico.png]]: |
'''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]]: |
'''Measure''' [[File:Caliper-ico.png]]: skup alata za mjerenje 3D dijelova, s nekim mjerama Snap i Radius, Length, Angle. |
||
</div> |
|||
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: |
|||
This macro covers the following constraints: |
|||
* Koncentrično ograničenje među necilindričnim dijelovima; |
|||
* Concentric constraint among non cylindrical parts; |
|||
* |
* Ograničenje na središnja lica and/or rubove. |
||
* |
* 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 52: | 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> |
|||
== |
==Skripta== |
||
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
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 |
Makro recepti Kako instalirati makronaredbe Kako prilagoditi alatne trake |
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
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 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
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