KonstantinosKr / solfec

Automatically exported from code.google.com/p/solfec
0 stars 0 forks source link

Suggestion: add display of arbitrary points #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When requesting output its common to do something like this:

b = BYLABEL(solfec, 'body001')
c = b.center
p = OFFSET(p, (0.005, 0.005, 0)
thist = HISTORY(solfec, [(b, p, 'VY')], t0, t1)

When trying to check/verify such scripts the easiest way to check the point is 
to
1) replace the HISTORY() command with something like:
FIX_POINT(b, p)
2) rerun the script with the viewer
3) use [kinds of]/[constraints] to visually check the point is in the correct 
place

It would be useful to have something like:
DISPLAY_POINT(body, point)
and a corresponding Viewer menu item which would allow any points defined in 
the script to be visually identified in Viewer.  Even better if there was an 
optional label parameter which would show a text label in the viewer.

Original issue reported on code.google.com by steve.br...@atkinsglobal.com on 31 Oct 2011 at 11:22

GoogleCodeExporter commented 9 years ago
Oops, OFFSET(p, vector) in my example should be TRANSLATE(c, vector)

Original comment by steve.br...@atkinsglobal.com on 31 Oct 2011 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by t.kozi...@gmail.com on 10 Nov 2011 at 4:03

GoogleCodeExporter commented 9 years ago
DIPLAY_POINTS command added in revision 729. See documentation, menu 
'tools->display points' and the modified inp/domino.py example.

Original comment by t.kozi...@gmail.com on 5 Jun 2012 at 10:24