Comments (1)
I think the documentation is wrong, the v parameter allows you to specify an arbitrary axis rooted in the origin about which the object will be rotated by the angle a.
e.g. rotate(a=60, v=[10,10,10]) cube(1);
so in this form the a parameter should not even be a vector, it should be a single scalar value representing the angle in degrees.
Confusingly in he other form the a parameter does require a vector, but you cannot use the v parameter in that form. There is no way to rotate an object around an arbitrary point currently, other than by the means you have already established.
Although you can make a module to help you do this as so:
module rotate_about(v,a) {
translate(v) rotate(a) translate(-v) child(0);
}
Regards
Giles
from openscad.
Related Issues (20)
- Viewport-Control widget can be made too narrow; tab order broken. HOT 6
- simple helper (add one button) to reset time HOT 7
- slicer integration and parameters HOT 11
- OpenScad as library HOT 3
- macOS: Dependencies don't build on Xcode 15.2
- Named groups, or other ways to identify components.
- macOS: Improve deployment target management for universal binaries
- Character "degrees" not rendering HOT 5
- Selection of line thickness for SVG/PDF export HOT 1
- Unable to launch HOT 8
- More pdf formats
- NotManifold error in difference() example, but works in CGAL HOT 15
- Downgrade WARNING: PolySet -> Manifold conversion failed HOT 31
- Crash when rendering examples/Advanced/GEB.scad with Manifold HOT 7
- Automatically test all examples HOT 1
- Windows CI fails to build
- Disable hardware GPU acceleration HOT 6
- ERROR: The given mesh is not closed! HOT 1
- Customizer precision syntax causes default value to be changed HOT 1
- Functions as input for the scale parameter in linear_extrude
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openscad.