@Anton_S
AMS lib is not compatible with SU2024.
Will you update it?
Posts made by wikii
-
RE: [Plugin] AMS Library 3.7.1b (29 May 2021)
-
RE: How to export img that every entity is shown by exact color
@dave r said:
Try adjusting the Dark slider down a little. For me the Light slider at 1 and the Dark slider at 80 works.
[attachment=1:20q54dze]<!-- ia1 -->Screenshot - 4_19_2023 , 6_36_38 AM.png<!-- ia1 -->[/attachment:20q54dze]
[attachment=0:20q54dze]<!-- ia0 -->Screenshot - 4_19_2023 , 6_36_13 AM.png<!-- ia0 -->[/attachment:20q54dze]
With your graphics card it might be different.
Thank you!
-
RE: How to export img that every entity is shown by exact color
@tig said:
Style > Color by Tag [Layer] checked.
Shadows > Light=0, Dark=100Thank you for reply.
I do it as your prompt, color RGB(120,120,120) export to img, changes to RGB(144,144,144).Dark = 80 ,color RGB(120,120,120) export to img, changes to RGB(119,119,119).
Dark = 81 ,color RGB(120,120,120) export to img, changes to RGB(121,121,121).can Sketchup export img with exact RGB(120,120,120)?
-
How to export img that every entity is shown by exact color
Hi all , I want to find a way to export seg img to Stable Diffusion.
Can Sketchup export image , that every thing is shown with the exact color defined by it's tag,no shadow,no darkness,no high light,no fade.... just some flat color.
Like this:
IF the tag's color is rgb(120,120,120),in the eported img ,eveyr object use this tag is a field color of rgb(120,120,120).Thank a lot.
-
RE: [Plugin] AMS Library 3.7.1b (29 May 2021)
AMS lib is not compatible with SU2021.
-
RE: How to reload a extension loader file?
@tig said:
You'll have to restart SketchUp to get your Extension to be reformed.
However, if you simply want to reload its main code file[s] from inside its folder, use:
load "XXX/XXX_code.rb"
Change it to suit the actual file-name...I get it.
thankyou,TIG。happy new year!
wikii
-
How to reload a extension loader file?
Hi all.
I need to reload a rb file,But I get some error in the ruby control panel.
"Extension loader file XXX.rb can not be loaded because an extension loader file with the same name was previously loaded."
How to reload a extension loader file?
thanks !
wikii
-
RE: How to get "Plugins" menu name in other language?
@thomthom said:
@wikii said:
In Sketchup English version , "Plugins" menu name is just "Plugins".
But in Sketchup Chinese version, "Plugins" menu name always change.
How to get the name of Plugins menu in ruby?
Thanks!wikii
The "Plugins" menu was renamed to "Extensions" in SU2015.
Has the Chinese version of SketchUp changed on other versions than SU2015?What are you trying to do?
UI.menu("Plugins")
should always work regardless of version and language.I want to set shortcuts to some plugins.
So, I need to know the display name of Plugins menu. -
RE: Where are shortcuts stored in sketchup2018
@tig said:
Try it and see...
But I suspect not.
Also SketchUp might overwrite changes on exit back as it is currently kept in memory from the start ?bad news!
SketchUp DO overwrite changes on exit!
-
RE: Where are shortcuts stored in sketchup2018
@tig said:
Try it and see...
But I suspect not.
Also SketchUp might overwrite changes on exit back as it is currently kept in memory from the start ?Yeah!
Modify this file will take effect when su restarted.
Thank you TIG!
wikii
-
RE: Where are shortcuts stored in sketchup2018
@tig said:
C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/SharedPreferences.json
You need to split/parse the file to find [for example]:"Settings"; { > "Num_Shortcuts"; 37, > "Shortcut_1"; "0 0 0 H selectDollyTool;", > "Shortcut_10"; "0 0 0 P selectPushPullTool;", > "Shortcut_11"; "0 0 0 R selectRectangleTool;", > "Shortcut_12"; "0 0 0 Space selectSelectionTool;", > "Shortcut_13"; "0 0 0 L selectLineTool;", > "Shortcut_14"; "0 0 0 K View/Edge Style/Back Edges", > "Shortcut_15"; "0 0 0 M selectMoveTool;", > "Shortcut_16"; "0 0 0 G Edit/Make Component...", > "Shortcut_17"; "0 0 0 T selectMeasureTool;", > "Shortcut_18"; "0 0 0 F selectOffsetTool;", > "Shortcut_19"; "0 0 0 Q selectRotateTool;", > "Shortcut_2"; "0 0 0 I selectImageIglooTool;", > "Shortcut_20"; "0 0 0 S selectScaleTool;", > "Shortcut_21"; "0 1 0 X View/Face Style/X-ray", > "Shortcut_22"; "0 0 1 A viewShowAxes;", > "Shortcut_23"; "0 0 1 G viewShowHidden;", > "Shortcut_24"; "0 0 1 I Edit/Intersect Faces/With Model", > "Shortcut_25"; "1 0 1 I Edit/Intersect Faces/With Context", > "Shortcut_26"; "0 1 1 I Edit/Intersect Faces/With Selection", > "Shortcut_27"; "1 0 0 H View/Component Edit/Hide Rest Of Model", > "Shortcut_28"; "1 0 1 H View/Component Edit/Hide Similar Components", > "Shortcut_29"; "0 0 1 X Edit/Item/Explode", > "Shortcut_3"; "0 0 0 O selectOrbitTool;", > "Shortcut_30"; "1 0 1 V Edit/Paste In Place", > "Shortcut_31"; "0 0 0 \\ Edit/Delete Guides", > "Shortcut_32"; "0 1 0 G Edit/Make Group", > "Shortcut_33"; "0 0 0 J Tools/TIG-weld", > "Shortcut_34"; "0 1 0 Q Edit/Item/Reverse Faces", > "Shortcut_35"; "0 0 1 Q Edit/Item/Orient Faces", > "Shortcut_36"; "0 0 1 R Edit/Item/Mirror Selection", > "Shortcut_37"; "0 0 0 D Edit/Item/Divide", > "Shortcut_4"; "0 0 0 Z selectZoomTool;", > "Shortcut_5"; "0 0 1 Z viewZoomExtents;", > "Shortcut_6"; "0 0 0 A selectArcTool;", > "Shortcut_7"; "0 0 0 C selectCircleTool;", > "Shortcut_8"; "0 0 0 E selectEraseTool;", > "Shortcut_9"; "0 0 0 B selectPaintTool;" > },
BUT I recommend that you use the longstanding method
Sketchup.get_shortcuts
to return a similar list...***It returns an array, with elements formatted thus:
"Ctrl+Shift+E\tCamera/Zoom Extents", "Ctrl+Shift+W\tCamera/Zoom Window", ...
where the modifier keys are spelled out more clearly than in the json file's 0/1.. format [clearly separated by+
signs], and the\t
always separates the keys and the command...
***This method will probably also return a longer list, as it includes ALL shortcuts, including those shipped with the installer, whereas the json version only includes those which have been added or modified by the user...great!
If I modify the SharedPreferences.json file,such as add some shortcuts in it,will it take effect in sketchup immediately?
-
Where are shortcuts stored in sketchup2018
In su 2017 or before , shortcuts are stored in registry.
But where are they stored in su2018?wikii
-
Differences bewteen HtmlDialog and WebDialog
Js call back for WebDialog :
window.location = 'skp:ruby_messagebox@Hello World';Js call back for HtmlDialog:
sketchup.say('Hello World', 42);I found window.location also work for HtmlDialog.
Is there any differences?
-
RE: Where can I find webdialog's position and size in su 2018
@tig said:
C:/Users/USERNAME/AppData/Local/SketchUp/SketchUp 2018/SketchUp/**PrivatePreferences.json**
For example, for the "ExtensionStore" toolbar info, you need to find the entries using some grepping and parsing/splitting... for the toolbar
"RubyWorkspace\\ToolbarsUser-Bar8"; { > "BarID"; 59661, > "BarName"; "ExtensionStore" > },
and from its BarID, its status later on
"RubyWorkspace\\RubyToolBar-59661"; { > "Columns"; 0, > "DockBarId"; 0, > "Visible"; 1 > },
and for its main dialog details
"WebDialog_SketchUcation ExtensionStore"; { > "Height"; 918, > "Left"; 11, > "Top"; 84, > "Width"; 862 > },
for this kind of entry note that another 'prefix' might apply for the newer HTML dialog type - test it..
Great!
Many thanks!
wikii -
Where can I find webdialog's position and size in su 2018
In su2017 or before, each Webdialog's position and size was stored in registry .
but where can i find Webdialog's position and size when I use sketchup 2018 ?
thanks a lot!
wikii
-
RE: [Plugin] AMS Library 3.7.1b (29 May 2021)
How to get the version number?
AMS.ver ?
-
RE: [Plugin]SharpComp v1.0 2015-11-29
@jim said:
@wikii said:
v1.0 1129
1 lock component instances when definition opened in the seperate su window.
2 unlock component instances when the seperate su window close.
3 rewrite codes to work more clearly.Is there any good reason that you are including Anton's AMS Lib with this? AMSLib is easily available in the Plugins Store and also the Extension Warehouse.
You have now created a conflict - one of the libraries will re-write the other. This is not a problem until one of you makes changes which could potentially break both plugins and cause a lot of confusion for yourselves and problems for everyone else using the library.
I hope you at least that you talked to Anton about including his work in your extension. At the very least, you need to wrap AMSLib in a different namespace to avoid conflicts.
In our place,many time,it very difficult to access sketchucation.com or the Extension Warehouse.
Thank you for your advise.
I remove ams_lib in the packed file.
-
RE: [Plugin]SharpComp v1.0 2015-11-29
v1.0 1129
1 lock component instances when definition opened in the seperate su window.
2 unlock component instances when the seperate su window close.
3 rewrite codes to work more clearly.