idol050279

15 Reputation

One Badge

8 years, 85 days

MaplePrimes Activity


These are replies submitted by idol050279

@Kitonum 

It's hard for me. I'm trying to change your code example. But I can not make a cylinder of different diameters and add a section along the axis. I will be very grateful to you for the help.

@Kitonum , you can help me...

@Kitonum , Thank you
A little more about my problem. I want to draw a 3D model of a rolling swath. The longitudinal section will move along the axis of the roll. Also inside the felling there are some points (as you already did earlier). When the section is moved along the axis, the cross-section will be connected to the points. I need to display the coordinates of these points (display in a document or on a rolling swath).

The Rolling swath can be viewed conditionally as several connected cylinders of different diameters.

Please help me...

Example rolling swath in the image 

 

@Kitonum 

 I want to move CrossSection inside the cylinder with some step. (As animation). If at some point the point will be located in the section - I have to see it.

I need something similar to this:
Http://www.maplesoft.com/support/help/Maple/view.aspx?path=Student/MultivariateCalculus/CrossSection

@Kitonum

 I want to move CrossSection inside the cylinder with some step. (As animation). If at some point the point will be located in the section - I have to see it.

@Kitonum 

Please help me.... 

How i can add the CrossSectionTutor to my cylinder, so that the section shows the points inside the cylinder.

Thanks

@tomleslie , Thank you very much. This examlpe files works correctly.. 

It works on the home PC and on the PC of another employee. There are problems with my working PC with transparency. Inside the cylinder, the points are not displayed. It's difficult to find a problem.

 

@Kitonum 

My Maple 2016.2 does not show the points inside the cylinder, even if I increased the diameter of the cylinder (see image)

@Kitonum 

My code.point3D.mwtest3d_1.txt

I see points only outside  the cylinder. Please help me

@Kitonum 

I copied-pasted your code in the my Maple 2016.2

restart;
f:=r->RandomTools:-Generate(float(range=r,method=uniform)):
P1:=[seq([f(0..evalf(2*Pi)),f(0..2),f(0..3)], i=1..20)]:
P2:=map(t->[t[2]*cos(t[1]),t[2]*sin(t[1]),t[3]], P1):
A:=plottools:-cylinder([0,0,0], 2, 3, style=surface, strips=100, transparency=0.7):
B:=plots:-pointplot3d(P2, symbol=solidsphere, color=red, symbolsize=15):
plots:-display(A, B, axes=none);

I do not see the points.

restart;
P:=[seq([1.2*cos(t),1.2*sin(t),0.1*t], t=0..30,0.5)]:
A:=plottools:-cylinder([0,0,0], 2, 3, style=surface, strips=100, transparency=0.7):
B:=plots:-pointplot3d(P, symbol=solidsphere, color=red, symbolsize=15):
plots:-display(A, B, axes=none);

For this code i see only one point (see image)

@Kitonum , thank you very much for your help. I see points only outside the cylinder. How to see only inside the cylinder or how to see all the points (inside and outside)?

P.S. I used Maple 2016.1

@idol050279 , You can send me this file , my e-mail: dolgoff@ukr.net

@Kitonum, Thanks. This is for Maple 2016 ?

I have error: 

P1:=[seq([rand(0...evalf(2*Pi))(),rand(0...2.)(),rand(0...3.)()], i=1..20)]:
Error, incorrect syntax in parse: `;` unexpected (near 4th character of parsed string)

@Carl Love , yes, i used import matrix.

But I can not build a cylinder according to my data in the matrix. In this matrix there will be points (radius), which differ from the total radius, i.e. there will be defects on the cylinder. They need to be displayed in 3D models.
Please help to build a cylinder in 3D

@Carl Love, Thank you for you help.

Yes, I know this way. But I need to build a cylinder from a file, in order to see what points are not included in the cylinder. Here the function is provided for an example. These are static values. Some points will be inside the cylinder. This must be investigated.

Page 1 of 1