Slanting tool example
2017-12-30, 15:57 (This post was last modified: 2017-12-31, 10:19 by Nils Schmidt.)
2017-12-30, 15:57 (This post was last modified: 2017-12-31, 10:19 by Nils Schmidt.)
(2017-12-30, 10:53)Philippe Hurbain Wrote: OK, I don't get the slanting tool...
How do I transform the base shape into the red one? All attempts I made do some slanting, but also result in squash/scale of the shape...
Assuming that you want to get this:
Code:
1 4 0 0 0 10 -10 0 0 -20 0 0 0 10 4-4cylc.dat
1 4 -10 -20 0 5 -10 0 0 -20 0 0 0 5 4-4con1.dat
1 4 -20 -40 0 5 0.5 0 0 1 0 0 0 5 4-4disc.dat
1 4 -20 -40 0 5 0.5 0 0 1 0 0 0 5 4-4edge.dat
Hit ESC to make sure that your previous slanting matrix is deleted.
Select this set of lines:
Code:
2 4 0 0 0 1 0 0
2 2 0 0 0 .5 1 0
Then select your base shape:
Code:
1 16 0 0 0 10 0 0 0 -20 0 0 0 10 4-4cylc.dat
1 16 0 -20 0 5 0 0 0 -20 0 0 0 5 4-4con1.dat
1 16 0 -40 0 5 0 0 0 1 0 0 0 5 4-4disc.dat
1 16 0 -40 0 5 0 0 0 1 0 0 0 5 4-4edge.dat
Finally, open SlantingMatrixProjector and apply the following configuration (screenshot):
- Uncheck "Set origin to the center of the first axis pair."
- Uncheck "Reset subfile orientation"
Click OK.
Side note for single rect-primitves:
If I want to project rect-primitives I draw just two lines X (red) and Z (blue) and select the rect.dat primitive.
Then I keep "Set origin to the center of the first axis pair." and "Reset subfile orientation" checked.
As a result the rect-primitive will fit to the two lines.