Sandbox:Simbioz: Difference between revisions
No edit summary |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
To not edit}} |
To not edit}} |
||
{{TutorialInfo |
|||
Test test test |
|||
|Topic=Placement |
|||
|Level=Beginner |
|||
|Author=Simbioz |
|||
|Time=5 minutes |
|||
|FCVersion=0.19 or above |
|||
|Files=[none] |
|||
}} |
|||
== How to change the origin of a part == |
|||
This brief tutorial will teach you how to change the origin coordinates of a part to a given location. |
|||
== Pre-requisites == |
|||
# FreeCAD 0.19 or later |
|||
# Lattice 2 WB |
|||
# Basic FreeCAD Gui understanditg |
|||
== Changing Placement == |
|||
Assuming you have already created a [[Glossary#Part|Part]] with the [[Image:Workbench_Part.svg|24px]] [[Part_Workbench|Part Workbench]], you now want to change it's origin coordinates to somewhere else on/within the part. |
|||
Go to the [[Image:Lattice2_workbench_icon.svg|24px]] [[Lattice2_Workbench|Lattice2 Workbench]] and create an [[Image:Lattice2_AttachablePlacement.svg|24px]] [[Lattice2_AttachablePlacement|Attachable Placement]], select where you want the new origin to be located, the [[Image:Part_EditAttachment.svg|24px]] [[Part_EditAttachment|Part EditAttachment]] utility will appear. |
|||
object and select an attachment mode in the attachment tab. |
|||
1. create an attached placement. attach it to your object, so that it is the origin you want. |
|||
2. create a new placement, "XY plane" |
|||
3. select the object, the attached placement, and "XY plane" placement, and apply "Populate with copies: moved object" command. |
|||
-> done, a moved copy of the object is created. |
|||
== Run a python script == |
|||
{{incode|exec(open("/path/foo.py").read()) }} |
|||
{{Code|code=exec(open("/path/foo.py").read())}} |
|||
== Useful links == |
|||
[https://www.mediawiki.org/wiki/Help:Links Mediawiki Links]<br> |
|||
[https://www.mediawiki.org/wiki/Help:Formatting Formatting]<br> |
|||
[https://www.mediawiki.org/wiki/Manual:Collapsible_elements Collapsible elements] |
|||
== collabsed == |
|||
<div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;"> |
|||
<div style="font-weight:bold;line-height:1.6;">Collapsed text:</div> |
|||
<div class="mw-collapsible-content"> |
|||
This text is collapsed. |
|||
</div></div> |
Latest revision as of 21:30, 15 July 2022
To not edit
Tutorial |
Topic |
---|
Placement |
Level |
Beginner |
Time to complete |
5 minutes |
Authors |
Simbioz |
FreeCAD version |
0.19 or above |
Example files |
[none] |
See also |
None |
How to change the origin of a part
This brief tutorial will teach you how to change the origin coordinates of a part to a given location.
Pre-requisites
- FreeCAD 0.19 or later
- Lattice 2 WB
- Basic FreeCAD Gui understanditg
Changing Placement
Assuming you have already created a Part with the Part Workbench, you now want to change it's origin coordinates to somewhere else on/within the part.
Go to the Lattice2 Workbench and create an Attachable Placement, select where you want the new origin to be located, the Part EditAttachment utility will appear.
object and select an attachment mode in the attachment tab.
1. create an attached placement. attach it to your object, so that it is the origin you want. 2. create a new placement, "XY plane" 3. select the object, the attached placement, and "XY plane" placement, and apply "Populate with copies: moved object" command. -> done, a moved copy of the object is created.
Run a python script
exec(open("/path/foo.py").read())
exec(open("/path/foo.py").read())
Useful links
Mediawiki Links
Formatting
Collapsible elements
collabsed
This text is collapsed.