TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
When replying to a specific statement be sure to quote the previous post.

Spectrum
Read 711 times
* May 25, 2017, 05:28:53 PM
There are several animation variants of 'Spectrum' model. See http://forums.turbocad.com/index.php/topic,20729.0.html
The e-pack of the 'Waves' sample is attached.

All GIFs are clickable.

Vlad



   Waves
   



   Rock-n-roll
   



   Move down
   



   Flight over
   



Logged


* May 25, 2017, 05:31:05 PM
#1
The amplitude of the spectrum depends on the distance to the screen, so if the screen bends a little, then the spectrum will change accordingly.

   Screen bend
   


Then, we need a function that changes with time (frame). This function will set the spectrum amplitude at each point in time.

For example, let it be the amplitude frequency response function of some bandpass filter. See file Waves_2D_profile.TCW.

   AFRF created using CurveLab plug-in
   


Let our function be similar to a sound signal (like a soundtrack fragment). See file Waves_Surface.TCW.

Surface data created using SurfaceLab plug-in


Final result - our model operates according to a given law as a mechanical piano.

   



Vlad

Logged


May 26, 2017, 02:38:54 AM
#2
Vlad,

    thank you for posting.

Very interesting, and, much appreciated.  8)

Regards Tim

Logged
You can design without engineering, but you cannot engineer without design.
Testing/using with Win 10 and various TurboCAD 64-bit versions.


* May 26, 2017, 06:58:08 PM
#3
Very nice work, thanks for posting Vlad.

I must admit, I haven't heard the names CurveLab and SurfaceLab in a very long while (since I had v8/v9), and looking on the SoftDev site - plug-ins whilst the links are not working, one of the descriptions says TCv6.5, now that's going back a quite few years.
 

Logged


* May 30, 2017, 05:10:28 PM
#4
Very nice work, thanks for posting Vlad.

I must admit, I haven't heard the names CurveLab and SurfaceLab in a very long while (since I had v8/v9), and looking on the SoftDev site - plug-ins whilst the links are not working, one of the descriptions says TCv6.5, now that's going back a quite few years.

Andy,

Old versions CurveLab and SurfaceLab do not work for a long time. I rewrote a new version that works for all versions since version TCv19.
Now these plug-ins are part of the project CadExp Task Palette. I showed to a few people. I hope that I am going to provide an pre-alpha version of CadExp Task Palette  for discussion and testing.

CurveLab

The tool, which allows building 2D, 3D graphics (Line, Curve, DblLine, MultiLine, Extrude, 3D polyline) using the formulas defined by user. The equations can be defined in evident way y=y(x) as well as in parametric x=x(t), y(t), z(t). There is a possibility to build parametric sets of curves. The user can control the number of steps, raising of pen (PenUp), and also use if..else operators, etc., which in principle allows building any curve if there is an algorithm.

SurfaceLab

The tool, which allows building TC Surface graphics using the formulas defined by user. The equations can be defined in evident way z(x, y) as well as in parametric x=x(u, v), y(u, v), z(u, v). Also the user can control the surface smoothness.

See how it looks:
https://cadexp.com/TurboCAD/Forum/TaskPalette/CurveLab demo.avi
https://cadexp.com/TurboCAD/Forum/TaskPalette/SurfaceLab demo.avi

Vlad

Logged


* May 30, 2017, 07:26:24 PM
#5
Surface Lab is interesting, the surface is a quad grid instead of the nurb surface that surface-by-law produces, is that right?   Is CurveLab output polyline, like the old ScriptsPack CurveLab?   

Logged


* May 31, 2017, 09:40:32 AM
#6
Surface Lab is interesting, the surface is a quad grid instead of the nurb surface that surface-by-law produces, is that right?   Is CurveLab output polyline, like the old ScriptsPack CurveLab?
Yes. For example -  Waves_Surface.TCW (above).

CurveLab output polyline, like the old ScriptsPack CurveLab?
In fact, it can be any 2D/3D graphic with vertices.

See ftp://[email protected]/TurboCAD_2017_demo_video/CurveLab output.avi
user: tcbetaforum
Password: kTjrBc08

Vlad

« Last Edit: May 31, 2017, 12:09:04 PM by Vlad Veselov »

Logged


* May 31, 2017, 01:07:57 PM
#7
Really neat stuff, thanks for showing Vlad.

My main drawback is I'm not good with maths formulas  :-[ , but I can learn.   

Logged