Web dialog on a Mac
-
@driven said:
It's making the spiral here, after I manually deleted [ file and folder ] and then re-installed [ .rbz ] into v2013 and re-edited the text file...
tried all that (manual deletion etc.) even made my own txt file from scratch (well- copy/paste) just to make sure no versioning info was sticking during the overwrites i'd done previously (and also realized by doing that, i could quit going to my emails to find my password for each new version )
just tried something else on a whim.. switched my model units to decimal-meters instead of architectural-inches:
switched the units back and tried again.. nothing.
so i'm pretty sure the problem lies in this realm.. has all this testing been because of a typo of sorts?
sigh -
maybe the test to change units is failing on Ruby other than 1.8.7, macs use 1.8.5
-
I use decimal millimeters with 3 decimals of precision or greater
I have tested with decimal inches with 3 decimals of precision or greater
I have also tested with fractional inches at 1/64" precision.But I haven't tested using all the different choices.
The defaults.txt file supports mm and decimal inches for defaults.
Sketchup should convert these values to the appropriate units.There is a sketchup bug that will have trouble with fractions in inches.
This problem also exists with the built in inputbox. -
Also - Stair Maker doesn't support unit switching after you have used it in the session. However it should honor switching units prior to running the stair maker.
-
@garry k said:
Also - Stair Maker doesn't support unit switching after you have used it in the session. However it should honor switching units prior to running the stair maker.
all i know is this.
i open a fresh model with Beginning Template - Feet and Inches
stairMaker doesn't worki open a fresh model with Beginning Template - Meters
stairMaker does work -
@jeff hammond said:
@garry k said:
Also - Stair Maker doesn't support unit switching after you have used it in the session. However it should honor switching units prior to running the stair maker.
all i know is this.
i open a fresh model with Beginning Template - Feet and Inches
stairMaker doesn't worki open a fresh model with Beginning Template - Meters
stairMaker does workConfirm that feet+inches does not work, mm does, meters does, fractional inches does. However, after returning to fractional inches from the others without restarting Sketchup, parts of the staircase don't get drawn (is that what you meant by "doesn't support after you have used it in the session"?):
-
I think @Jeff has found the issue... [ 10 points to you, good sir ]
Engineering Feet Template
-
This raises an interesting question: does feet&inches also fail on Windows? In other words, is this really a Mac issue at all, or did we just get unlucky (or, if you are trying to eliminate bugs, lucky)?
-
-
Thanks guys
I have now tested with Decimal Feet, Engineering Feet and Architectural Feet.
All of the 3 models that are feet create an error.All the rest of the models work.
This holds true for SU 7, SU 8 and 2013 for Windows.The error is a bit misleading as it appears as a script error on line 1 char 416
The interesting part is that the html script doesn't have that many characters on line 1This may be where I pass in a big string, and need to parse it. If that is the case then the defaults.txt file has a value that does not translate over to feet.
-
@garry k said:
The error is a bit misleading as it appears as a script error on line 1 char 416
The interesting part is that the html script doesn't have that many characters on line 1.I thought .rbs files where a single line?
-
this is a redirect from source to html.
When you view source - the html looks properly formatted.It appears to be a script error for the web dialog.
Regardless - I'll work on narrowing it down.
-
@Steve found the problem, days ago, but we didn't know what it was...
with the Eng Feet template the [ " ] designator is attached to the body tag in 'view source' and I get a js error
if I close the dlg, switch to metric [still same session ] I get no errors in the js and the body tag is normal...
john
-
This issue has been resolved. I am now substituting single quote ' for back tick ` and then back again. This allows us to see the single quote in the web dialog controls.
Advertisement