This is an old revision of the document!


MBDyn Filetype

MBDyn is a free general purpose Multibody Dynamics analysis software, released under GNU's GPL 2.1

Add the following lines to ~/.config/geany/filetype_extensions.conf under the section [Extensions]

[Extensions]
MBDyn=*.mbd;*.ref;*.nod;*.elm;*.set;

Save the configuration file below in your Geany filetype definition files config directory, e.g. ~/.config/geany/filedefs/filetypes.MBDyn.conf

NB: Note that this filetype definition file is in development, meaning it can be used but needs improvement.

filetypes.MBDyn.conf
# For complete documentation of this file, please see Geany's main documentation
[styling]
# Edit these in the colorscheme .conf file instead
default=default
comment=comment
command=function
number=number_1
keyword=keyword_1
string=string_1
operator=operator
identifier=identifier_1
doublequotedstring=string_2
 
[keywords]
# all items must be in one line
primary=begin end asbtract node body drive caller  driver diag reference null eye string genel matrix amplitude gravity uniform single angular velocity acceleration axial rotation revolute hinge cardano brake pin clamp coincidence deformable displacement joint distance gimbal in line plane kinematic linear velocity acceleration plane prismatic rod total bezier spherical viscous abstract algebraic array state space siso mimo a b c differential air properties const file data control iterations max output meter steps forever netcdf elements structural position component absolute integer ramp set include force results default initial value rigid bodies joints nodes bodies loadable aerodynamic genels drivers global dynamic variable step interpolation pad zeroes no mult orientation element user defined induced jacobian c81 
 
 
 
[settings]
# default extension used when saving files
extension=mbd
lexer_filetype=Matlab/Octave
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
 
# single comments, like # in this file
comment_single=#
# multiline comments
#comment_open=
#comment_close=
 
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
	#command_example();
# setting to false would generate this
#	command_example();
# This setting works only for single line comments
comment_use_indent=true
 
# context action command (please see Geany's main documentation for details)
context_action_cmd=
 
[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1
 
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=
run_cmd=mbdyn -o /tmp/DEL "%f"
Print/export