🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Line based on mathematical expression

User: "Edouard Ferry_20577"
Altair Employee
Updated by Edouard Ferry_20577

Overview

This TCL macro is made to trace lines based on mathematical formulas. The line is traced is X-Y plane.

When executed, a user interface window pops-up.
The user can choose X value to begin and end the curve. He can also choose the step with which points are created, based on the equation. When all the points are created, a spline links the points.

The user needs to use $x as the variable in the equation.

Classical expression such as:

$x**2
sqrt($x)
sin($x)
exp($x)

and many others are accepted.

The Apply, OK and Cancel buttons are useless. Only the Trace button triggers the macro.

The macro was developed on v2023.0 but should work on any other previous version.

Usage/Installation Instructions

The TCL file can directly be dragged and dropped in the graphical window of HyperMesh.

Find more posts tagged with

Comments

No comments on this post.

Share projects with the Community

Share your models, scripts, workspaces, and more with the Altair Community.
New Exchange Project