Hello,
I do have a problem in the MAXScript editor regarding the use of "." and ",".
E.g. I am doing some cloth modeling with garment maker, and there is the command: "$.garmentMaker.generateDescription()". It is used to buffer the transforms of the garment panels, so that you can make changes to the underlying splines and then just evaluate the description to rearrange the panels. It generates something like this:
$.modifiers[#garmentmaker].setDensity 0,000000
$.modifiers[#garmentmaker].setSeamTolerance 0,060000
$.modifiers[#garmentmaker].setPanelMatrix 1 (matrix3 [1,000000, 0,000000, 0,000000] [0,000000, 1,000000, 0,000000] [0,000000, 0,000000, 1,000000] [0,000000, 0,000000, 0,000000] )
$.modifiers[#garmentmaker].setFlatPanelMatrix 1 (matrix3 [1,000000, 0,000000, 0,000000] [0,000000, 1,000000, 0,000000] [0,000000, 0,000000, 1,000000] [0,000000, 0,000000, 0,000000] )
$.modifiers[#garmentmaker].setPanelMatrix 2 (matrix3 [1,000000, 0,000000, 0,000000] [0,000000, 1,000000, 0,000000] [0,000000, 0,000000, 1,000000] [0,000000, 0,000000, 0,000000] )
and so on...
My problem here ist, that the values are all with commas and not dots. For some reason my computer formats it like that.
And of course a point3 value like:
[0,1 , 0,23 , 0,4] instead of [0.1 , 0.23 , 0.4]
does throw errors when evaluated.
This makes the whole timesaving pointless, when I have to manually edit the code.
I do have a similar issue when I use visual maxscript to edit a rollout, after editing it will convert most of the dots to commas.
Does anyone know how to solve this? I am using a german keyboard and OS, but switching it to EN did not help...
By br0t · 2010-07-02
lutteral · 2010-07-09