[Plugin] Axo + Iso View v1.2 20101117
-
I need to produce axon45/45 drawings of the Casa Bianchi.
But it doesn't work. I typed axo4545 and it saidError: #<NameError: undefined local variable or method `axo4545' for main:Object>
(eval)I have both 7Pro and 8pro licensed on mac and pc
Please help.. -
@krit.ja said:
I need to produce axon45/45 drawings of the Casa Bianchi.
But it doesn't work. I typed axo4545 and it said
Error: #<NameError: undefined local variable or method `axo4545' for main:Object>
(eval)
I have both 7Pro and 8pro licensed on mac and pc
Please help..The version shouldn't be an issue.
Have you definitely got a file called 'axo+iso.rb
' in the ../Plugins/ folder ?To see where your ../Plugins/ folder is copy paste this line into the Ruby Console + <enter>
Sketchup.find_support_file('Plugins')
That is the correct folder...
You should be able to type in the Ruby Console any of these commands...
axo3060
which sets the camera to a 30/60 axonometric view and zooms extents
axo6030
which sets the camera to a 60/30 axonometric view and zooms extents
axo4545
which sets the camera to a 45/45 axonometric view and zooms extents
iso3030
which sets the camera to a 30/60 isometric view and zooms extentsThe current view changes to the axo/iso format desired and model-extents
are zoomed, now zoom in/out and pan BUT DON'T orbit - that would loose the
axo/iso-ness; then save that view to a Scene-tab.If you have a 3d axo it needs 'distorting' so that it prints or exports as an image and looks correct.
The whole model needs scaling - particularly in the Z axis.
There are two tools to do this for you.
Use with care and remember to undo the temporary scaling to continue modeling.
After setting an axo view type in the Ruby Console + <enter>:axo_scale
to scale the whole model, so it is distorted but looks correct.
axo_scale_restore
-
Thank you for your fast response!
the Sketchup.find_support_file('Plugins') works and it said
Sketchup.find_support_file('Plugins')
/Users/ja/Library/Application Support/Google SketchUp 7/SketchUp/PluginsBut it still say the same when I type axo4545...
Anyway, I copy my model and paste it in your example.skp and use the saved scene
and then scale it blue/red/green as suggested in@lersince1991 said:
A script would be great.
heres the final values, I've done them to a bit more of an accuracy, accurate to more than 1mm for models under 100,000m so yeh pretty solid figures.I would scale all axis to get them accurate,
blue (z) axis scale value = 9.068228873
red axis scale value = 1.003053768
green axis scale value = 1.003054401see what script you can do, typing that in every time gets boring lol
Luke
and it works!
the scale is super correct when I export .pdf to adjust lineweight in Illustrator.
So, Thank you very much TIG and Luke for including the example file and amazing info! -
Hi TIG
I can't get the axo_scale command to work for me. My sketchup just bug splats after i hit enter. I'm using Sketchup pro 7.1....
any ideas what might be going wrong?
Cheers
Joel
-
Any error messages in the Ruby Console ?
It should work in all versions of Sketchup...
How complex is your model ?
Are you in the model's active_entities rather than inside an 'edit' context ??
Puzzling............ -
@tig said:
Any error messages in the Ruby Console ?
It should work in all versions of Sketchup...
How complex is your model ?
Are you in the model's active_entities rather than inside an 'edit' context ??
Puzzling............No error message. just instant bug splat.
The model isn't complex, just a box.
Joel
-
@ivreich said:
@tig said:
Any error messages in the Ruby Console ?
It should work in all versions of Sketchup...
How complex is your model ?
Are you in the model's active_entities rather than inside an 'edit' context ??
Puzzling............No error message. just instant bug splat.
The model isn't complex, just a box.
Joel
Can you post your problem SKP...
-
This is absolutely brilliant!! thanks for this!!
-
Hello TIG,
found the script late last year. It's really great - thanks! I've been using it occasionally, and it worked fine until last night - the axo_scale command suddenly went rogue. Everything works fine until i type that command, and then nothing else works - I can't change the axo views, I can't use axo_scale_restore. and if I try to restore the scale by using ctrl-z, sketchup will encounter a bug splat. As long as i don't use that scale command, switching between views work fine.
So what I've been doing is save file -> get axo view -> export image -> let it crash -> reopen saved file to continue modeling, but as you can imagine it's not exactly efficient. I'm just wondering if you have any ideas why this happens or have encountered this problem before?
I'm using Version 8.0.3117 if that makes any difference.
-
Unknown problem
Is there anything weird about your model if you zoom extents etc ?
Is it a long way off the origin ?
Have you run Model > Statistics > Fix... etc ?
-
To answer your questions...
- nothing weird
- no...
- Yes...
The only thing I can think of is that it's really huge... (its a model of a city)
Anyway, some updates... in the exact same skp model, it sometimes work and it sometimes doesn't. I've tried to discover what is it that makes it work and what makes it not work, but so far it just seems completely random. There must be something though...
anyway all it really does is to make me save more often which is a good thing i guess
-
nice and useful script!
-
Hi m8 very nice plugin! Do you know (or anyone else ) how i can me an isometric view facing a section cut? Before your plugin we could only have front/bacl/left/right/top I am asking if there is a way to make "perpedicular to section cut" or something like that...
ty for your help and efford to create this plug in
-
ok my bad...I just realised (after some years! ) that it is already supported by right clicking on a section cut and selecting "align view"
-
Thanks!
-
I have managed to install the Axo plugin detailed in your comment below, but am looking to alter the viewing angle on the view so I get more of a front view of the buildings... but still with Axo4545 properties. At the moment you see too much of the roof, its near top view on.
Is there anyway you know of to alter this? Or do you know anywhere I might be able to find this out?
-
oh yeah...
-
Hey TIG,
I've done many many many exports with this doing architecture at uni, also loads of other people use it because of me too. I was wondering if it would be possible to make some buttons for it I can put on my toolbar which would be very useful!?
Thanks again
Luke -
@lersince1991 said:
Hey TIG,
I've done many many many exports with this doing architecture at uni, also loads of other people use it because of me too. I was wondering if it would be possible to make some buttons for it I can put on my toolbar which would be very useful!?
Thanks again
Lukehttp://www.lukeriggall.co.uk
Making a toolbar is relatively straightforward.
Write a separate .rb file that has an initial 'require' to this tool's .rb file.
Define a toolbar.
Define a 'command' referring to a tool - this already seen in the console code that runs it...
A 'command' can also have tooltips, status_bar_text, buttons assigned to it etc [make the button's PNG icons in a subfolder [AxoIsoPNGs?] and you path to those].
Now add the 'command' to the new toolbar.
Repeat as needed...
As well as making buttons for the various view changers you might want to have ones for the scale/restore options...
When your file auto-loads as Sketchup starts up it will make the toolbar...
Here's a start...
` require 'axo+iso.rb'toolbar=UI::Toolbar.new("Axo+Iso")
toolbar.restore if new_toolbar.get_last_state==TB_VISIBLEcmd1=UI::Command.new("axo3060"){axo3060()}
png1="AxoIsoPNGs/axo3060.png"
if File.exist?(png1)
cmd1.small_icon=png1
cmd1.large_icon=png1
toolbar.add_item(cmd1)
end
###`
Repeat for each command, changing the text/png/command-name etc to suit...
Get it working with one command, and then copy the working code down, edit and retest till all functions have working buttons... -
Is this plugin available for Mac?
Advertisement