calculix / CalculiX-Examples

CalculiX examples by Prof. Martin Kraska from Brandenburg University of Applied Sciences. Excellent starting point to master parametric modelling with CGX and CCX.
MIT License
299 stars 92 forks source link

CGX valu #27

Closed 3rav closed 6 years ago

3rav commented 6 years ago

Hi, I would like to propose an extension of the valu command, adding the ability to retrieve the coordinate value of a specific point.

For instance:

In file part1.fbd a have point p1 (pnt p1 10. 32. 0.45673), I read this file to assemble.fbd and in this file I want to create new point with the "z" value of p1.

read part1.fbd valu namex x p1 valu namey y p1 valu namez z p1 pnt p2 45. 0. namez

Regards Rafal

mkraska commented 6 years ago

prnt p <pointname> displays the co-ordinates of the point and writes them to the stack if switched on. Then you can pop the value from the stack.

3rav commented 6 years ago

Thank you very much for this information