Message Boards Message Boards

0
|
1665 Views
|
5 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Different behavior for Line and Tube when using Scale

POSTED BY: Martijn Froeling
5 Replies

Have you tried Normal?

Graphics3D[Scale[Line[coors], 1/ratio, {0, 0, 0}] // Normal,
 PlotRange -> range, BoxRatios -> ratio, Axes -> True]
POSTED BY: Gianluca Gorni

POSTED BY: Martijn Froeling

Normal makes sense for some primitives but not for others:

Scale[Sphere[], {1, 2, 3}] // Normal
Scale[Line[{{0, 0, 0}, {1, 1, 1}}], {1, 2, 3}] // Normal
Scale[Tube[{{0, 0, 0}, {1, 1, 1}}], {1, 2, 3}] // Normal

Your original file looks quite different if opened with version 12.0 and 13.3. I think that the visualization of Scale has changed in the FrontEnd with version 13.3.

POSTED BY: Gianluca Gorni

Strange! This "feature" seems to be introduced with 13.3 - in 13.2 there is no such effect.

POSTED BY: Henrik Schachner

Indeed, didn't realize this. Its only there in 13.3 not in 13.2. Thanks for pointing this out.

POSTED BY: Martijn Froeling
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract