Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a section to the docs describing all the ways to change object locations #747

Open
gumyr opened this issue Oct 22, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@gumyr
Copy link
Owner

gumyr commented Oct 22, 2024

with Locations():
    ...
with Builder(workplane):
    ...
shape.move(location) # relative without copy
shape.moved(location) # relative with copy
shape.locate(location) # absolute without copy
shape.located(location) # absolute with copy
shape.translate((x,y,z)) # transform <- needs to change
shape.rotate(Axis,angle) # transform <- needs to change
shape.position = (x,y,z) # absolute without copy
shape.position += (x,y,z) # relative without copy
shape.orientation = (rx,ry,rz) # absolute without copy
shape.orientation += (rx,ry,rz) # relative without copy
@gumyr gumyr added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 22, 2024
@gumyr gumyr added this to the Not Gating Release 1.0.0 milestone Oct 22, 2024
@jdegenstein
Copy link
Collaborator

Related to #450

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants