Small Green Box in scale tool
-
Hello everyone.
I'm new in Sketchup Ruby . . Programming can anyone give me a head start on how to make those green boxes appear temporarily when I click the scale to to an entity?( in ruby script ) and also I noticed when I hover the mouse on the green boxes , it changes its color . . . your tip would be of big help . .
-
I sorry if posted in a wrong forum
can we just continue?
i tried your advice but the codes written by the sketchup team. the thing is, The ruby scripts are incrypted written by sketchup team. I found this Eneroth scale tool which its ruby script shoulb be helpfull but its just incrypted . -
You are in the wrong forum. (This is a specific project forum which is really a dead project.)
Writing tools in SketchUp Ruby would mean you have to draw these kinds of boxes yourself.
(Meaning, the native scale tool is not exposed to the Ruby API. So you would need to write a clone.)
Search the main Developers forum for Ruby tools. Or read the examples that the SketchUp Team has in the Extension Warehouse. -
@penpendrum said:
I sorry if posted in a wrong forum
can we just continue?I'll get a moderator to move the thread.
@penpendrum said:
i tried your advice but the codes written by the sketchup team. the thing is, The ruby scripts are incrypted written by sketchup team.
The team examples are not encrypted.
http://extensions.sketchup.com/en/content/example-ruby-scripts
http://extensions.sketchup.com/en/content/utilities-tools
http://extensions.sketchup.com/en/content/simplify-contours-tool
http://extensions.sketchup.com/en/content/shapes
http://extensions.sketchup.com/en/content/bezier-curve-tool
http://extensions.sketchup.com/en/content/rotated-rectangle-tool
-
@dan rathbun said:
@penpendrum said:
I sorry if posted in a wrong forum
can we just continue?I'll get a moderator to move the thread.
Done.
-
Thankyou for your help..
I tried to open in notepad the Bezier Curve Tool ruby script..
this is what happens . ..
PK ;p—B*¡9Ü' ø su_bezier.rbU]Ú:}ϯÁ/4ûÑÕUµÒVJ!۵Ć( ýxZdÖ%ví@é¯ïØaùh+Ý{¥F’ÌããñaÕîµX-Ü^ß¼C¡E³Ü $|+VÜ
%a&a±
‚!kaÀ¨Úî¸F ûV«¨°n€KÀo¼i)[ÕÐ!W×Y·ÜƒuÍK$« ÿm¹^´¡cMQ7·…:ƒc(IÖU‰š~¹¬ Æj±ì,鹊Zi .÷ÐvºU=~'ìZujôBר‘d¬4'!Õø$Ü®¹õ2ùRmºòX©¬()жÈ5í øfãÂ×]<±òùcñ9Êb û4›bÓx ƒ(§çDÉ>³âi¾(èþ+Ä_Ò,Îs˜g”ΞÓ#0egQR°8K&³Å”%ÇǼ{fET°yBÝyŠ_Óˆà”óGxŽ³É=FØŒ_ýÚ¬HÜzó"H£¬
“Å,Ê ]dé<ÃøæO^$*á ÂầÏü.PäÓ[„B© ܄ׄ›¢)µhý„9\D½§ @©‘S—‰¥K¤záeÌbs
žj¾{óþœßj¢¨Á߬G;T\ {!‚0ÃWx¦1Ç
–î U4§Æmãür›r˵í!nÀÝ̔Ÿѷ!IJúOзDŒ¥¢‰¥/«>-¤B…Ö
‰ÆSX.W(Ë=ôûÙá2NåoÖ¹!qu¡o¸±ÿkµß¯ä@(+×Kׯ³µÞ]Ýþuu{}}çɾ½ˆ¹øÓShü§ä#ã}¥kC½ÞÒ¾Q:1þ}@¾Ò‘Kåðý}îm˼úq ÒÙâ#Kànjwà'ýdú¿R†ÁÒ£_\qŽœñ1.q£Ã ºÍÆ$³{é³ú/ëÄVg‡ãá˜mzsíCPkÕœ|´TÍõé³atÒ‘»ˆú#F¾ù ƒW†ÁEüè„ø·?†+M†+2hyQïÂÇšgF³V;ôHŽêÐÆšÜY’Õ¶\â&òc¬/'Æ“Ê1XÝaÐÂ.[wñî×>ÿ PK
ïc—B
su_bezier/PK Jp—Bn}l; 6 su_bezier/bezier.rb½[{oIÿŸOÑÓ-dñÄguò³Æ6Iü’Á›[Ef˜ó03;c¼Éw¿ª~NÏãMtÖný¨®ª®þÕ£Û-rF›Ø[,SÒßïtÉ$öV3Ÿ’+ûÁ[Ø©äÂ[y)u™,½„$á<]Û1%ð9ŠÃÏ¥.±b„>Ú«f‡s’%^° é’’Ûl¶!^Òxn;¨¤!ßÓÔYÞER½¡ñÊK\º²„v‰luÉ*t½9ü¶—¸^’ÆÞ,K)Ís1cDì
C¢,ŽÂ„²ñk/]†YJæ”1º¤16±
Œ¸]Íxº´SƦ=;Gi$SÏŽ(¢vÛ÷±Û£ ã{òq4&ãë÷“OƒÛ!Ï7·×¿Î‡ç¤9Ã÷&\“O£ÉÇë» |þƒÿss;Éõ-L]Þ\Œ0̾\MFÃq—Œ®Î.îÎGWºjÞÅèr4LF×W°;‡rÐÉõ{r9¼=û_§£‹Ñä¶öûÑä ×{}Käfp;Ý]nÉÍÝíÍõxh5Z{?ò˜º²W”ˆŸ#øÿ”>y4&gYü@É$}Ò³öaÜ9MœØ‹˜…á¸ì=t‚81µa—ÅD'‚¾[ä’¥t%(ŸÇözï]ž~£ÎBØàÇ”ÆQC×K &
Ì]b/hŽÇ1õ“’C…§ Š‘ÿÁ!=‹ŒS;Nù4p´G,Žî[d¸; = ÂÔ ÁbáŸ4°iHJ\šâÑhÂH¤v° ³!ÜbÄÄO‚\V¬sh‘+Ô(Ø·“ôE«U¯„ƒhàâ^â~åÖú×›þ/oúûû‡xH6‘ч&ð£®Ó?3°à§„áJYñì'<¢{“V4H9žÁ†¶Õh Îd€Zc1ùèhÌ
,9:â‘ÒðÁö3”Ó6fã^Ø$²c0{PŸÅ@Rì6âŽKç Q— €vÛdÀKs9S‘"1n@Bæq¸"û¸o=‰ÀðßÌN€"&nu–÷gFa9<U3è¸jžœãɺ‰m Ìöɇ@¯KÓ%ŠGÒDæ>ÐØö]òÞŽ½À&à|ü²ßh û$¡þÜ¢ ~;J“.I;n¦K1
ë1V˧Á"]’=àû¼¹ìþU´àOLÓ,Hàù¬ m³ÒPd )k _‘ò&ö5˜:Ë°}êa#çà‘/þyÿ‹õH^ ÖºÑÝú¤[Ÿt+_ ˆ‡úêY–ÅÙV,.ð×ëTµÌè/¯Û|öž÷s¯óÆÓDAÖ£U7ŠÑ~$?ø×È¢ât4R¦öƲ)AÛOƧÜT¶R[Œ‰Ä†r®aU¥¿Mõ€RåSõ€'¾Æ®ŽŽnЮ\+ ëöc—€êp3¤EÀÊ—¡KвŒ¦Ð’Ÿ [Íà4À¡á…ywaJ8T´¢{L[-ïãvtàwGï;[š@œÏ_¸I‹#oÄh.N‹ñ¨xŠ³ÇqÝ°£}ËÓT]6ÃÕ6$W‡‚Îò+9¡Á¶w“8‚åel¥ÕÀº”º@1çÀúÐ ÑÏB¬x SÖ.ØH((*Š5ʲ]“±˜÷™† ÃÚfÞó6+u_µQÀbn£Z2$0õMÝãI²aÙ®;å¢Jòçxs²š9MDYeãÇÇCçÌp˜Æ Çï›0[aBa\ðF|odÞ’m¤€¶ï=ѶBÞ®¤ÕC/oÞV ¤£,ïndh‚!Ð,|$ÍK ¼ÊV°Á·ôšj¬&-
ÄOò„ßAÖ°…²ýX Ü߯"Ýß7¬œÜõùõùDI!<x%ÖgöÌêþ7Kx¸aŒ{‚ƒ‹šT cˆ|{ÃðBéZƒ‹éA—T² ÃßÀî€Å鬄8ÍØ¡7Ü•˜&”ŸéINà ¤(MG0|Š}Y2eajóÌ÷œ{f‰Ž/›b_!Âå¾ÃO¨^”? /µ…¹ ÁT(‹0L8[‰²TâKpÖ”ÜS Ý ÜƒÒÄÔ/êá¾ øI]x«†öåPZÛªqŠde
û|d+‚XEðP¶D°;ÕDß"Qp,3
6Êi«•sœÛ»^ }šÓßaÌÁcwóö¹1L2&…«(Œíx“ŒŸÐà‚ÂîNbhOX˜ÈEž[ƒ¶6ü-¶}ÎNT³KƧÓßÏN§ƒÓáÅ3“,¨9¿.î†Úö]*¿ýàÑ5Çüdy¸OÏÅcá'?;ù}”a§Ø²Ü×óë¡ùõøªXƒËÔx‚£™ûö\o4C
‹À ö}½¤Àî€Úͽ¬c!msbM+BP@zœ¶êcàýLÔßÈ?ÿÉ6ìÕ1R#±”ÛÂjÆ+üht¦úäaüö
üŠÓ¼Ã]¶úNl÷Ël÷kØFŒýÜÃx‰
’–ûrÑú Z@a’ÃEß/êAYÔƒ]D=øQ¥›m•”‹{lˆ+çn¶¿“°‡ea· +Ý“B~‡Ð–¥Èä
â…KÜË%¨ïÈÁwŸ¼·eQßn•!ƒ’ôíß“Tþfã0¶Lv#“ò¡âY#§§Úmóˆè˜Ü\Ü}]ñ|±Ú•ÁYÎ
VV|{¾/R
ØÔsAF£žø|²‚Y;¤àf‡²;ÕTÜÏפí,Yr—ª
p˜ä°ÒË+¸²ºÂ·ÙLµ0Q«i©ëØUs,tNzÕfr3k:ñCº‰Ð¯‰ô¦ù’© Uøt’Oó‡ÎØÚœ«Í¹Ÿ‹Ó,MÃà<\uHÆÐw‰H=Ö¡8îi®dÜ–p ¡ÇŠµªMqšŸ°‹ýd ŠfCL¦(‹£"ž¯/ 5TTÁËW$
VcÛ+/½EWªÝiù\í‹U}žv
•w3÷TÅó=“‰“B½HmZéˆi·Z滿•oµvÿåâð½í7Mú–ÂGƒ$z¹_õç
nÕ(ƵƳ/u@·›tŠìß•²õ§õY •¹tfõÙÙÉšíadéÂÙŠ'ÀIÙ1Ÿ<BÂÇ°3Àµ<–€³¥Ò_lÄA<º÷Éç×:eV#µVÇ×î;5µ#ÓxšÏÚg6žWyul^R0H?|L„àÙæ%ÁÓ0\ˆ'OÃG•NäØ<>6Äe€ƒym9j6ÐJßl‰üÿ·²ÏfX(ª6He/yýÈ ±å Ù,—–€ˆ„D˜Àx¥“ŠA¥ôrg¦Y³¦¯ATÒ8£f·……“u!57õÜ3ô̪HðÛÇr•²X^þ¶ú³#ƒfâ„~OqÚ ´1&æÁbÇÌ$ùp1½]
§ãÉíè†;‰ª“4f“yÆ·)«±XgH6g¾íÜ7KUXûˆJ$~z»p¯Š•<ÔÂß,r–ÖÒµ
1äuAmåX¹b‘ºq}É—xž÷•ýr¹uÓ:å u^·+Ó•šiÆ, Hk¾€|ϲöò”kýîYn–ëW R£°>SØáK¦3³!·ª@?L¸NeÄY $LøEM¹ ý¬’S¼¤¬+’ã f±P®ª£U…ØBI•
·ÿ«æê>Q:—¼
Yâ [¸^Ú÷ ŒYLÕãþœ¯EjóF†“§\ß'…LKvNMœÂTí”ü²qA#(LÖ$Ÿú²µ|ÔWœ Iˆ(bó¥Å¶Æäçuž(~çL3"Wø@c|¯#$‘ß´8f?{e;dì>{ò×ׇ¯äAEßøus¦'n½w) ~g!³X‹„ 4[å)ÔÝÎ5e“vÝ.挡ïN ³Ï6 ZB#c‘Q[R?+W)œq¢%$<—Žž¸#W#;f§;~5BA.BöÞ‚ß>ðQ,
r¢,G(&4ITD0òPÀOËèÆV¬"äůF)ˆq#ö4»…Ë|L>3x÷4Ò{_Ì, ÷ÏOE|l ~§Â²dª˜_嶊Ó1J+EÒÂK >ãäo¡r8)ä—íqr5fÊ¡ëzeš×K«âůármãªQÇ…}V¦Ë/Kg GÙô½²–Y¼‹êÏàø2tÔQw•O"ÝE¼ãdÈl_’Á›áÊo”UcÑ&úÌQw€ƒ l½È=ƒ´]öÀo‡ÁâU³º÷Š|ƒ£Ô¼(=ÛkÊÔ¦¤œcµpS§JMB¾-›þ20¦&jåž¼¬¢·íÉÁK.‘ªb>›€¹^Pç>˜ýiRÔ¡Œ?Ä‘ f¡«˜4b–ZÞÛç…à ëÑ5Èÿî¸úcŒ_€]µ§¨U8ºü\I䘎#ݶèuØ4ˆª{Σ(7b…ó9Øá+$X1bkN9QZ ¨ ¨>É?Ì» @µaýÌ«|½A›$¸!Ç„é‘$Äw¬º“Ãëjkn×áx>–!ÊŠ¾nîe¼?±C^JWíæyÐf‡üµS¤úíï–ºŠ•¤š ×Öù¶Âséài >ß9Ó¨(wLµÈa]ÒÛ‡ÿý 1›â‘•«×›v*ËÔ³Ï-´âyœ™Å–²×b¦ø£_ ·Èû,àø…ž˜&,þPwfi±Î'ÛSÛГ—2F|¶Ì 3É%;œ Ï3ÁV1ÚaG Ã,õί"›L’º§}– 5úq®Dê$±¼„“úM½•Ã{‰ÅÊS5Óp”uWzáü·\"4„öFñ:.wW¦T×W‘¶‹wsãzŽS'Yxak÷gè_?z†Q·¤uº–Ùp1q/¦Ã îó¸c°Î%XØ(<à4-~/EyïùEÍÅôŽ\xàâU ")q–!þ©Œñ¬qfTl
ßÚ¨œðæÚ.u9#ˆÃ Å—ïƒ1A°n"6ùê¶rÿÅ%ßdÌÈ9uÄŸ†0Ž—vàúüÂÓ‡¹ 3VjžE±8{Zʧ3æ¦rº’¯ØðÕˆf*,¤Ñ(ÿ£äîæB–£a%¨¶Qòö‰€ô
|ö/ þPK 5³žBC‹UQ X su_bezier/extension_info.txtÁ;€ ÐÝ»4¡-•2°áÀ¢‰&†O{ÿ#ø^«E‡h¦° dbˆä
y&ÙiŒŽ$¶½Çý´ëüZ-D’"¯n;BDTè.=%7ã)¼ýPK ;p—B*¡9Ü' ø $ ! su_bezier.rb
ÐÔŸf]@Îи·•P@Îи·•P@ÎPK
ïc—B
$ Q su_bezier/
ÀSÅP@ÎÀSÅP@Ο>ÅP@ÎPK Jp—Bn}l; *6 $ ! y su_bezier/bezier.rb
Oþu]@Î@¼¯‰P@Î@¼¯‰P@ÎPK 5³žBC‹UQ X å su_bezier/extension_info.txtPK i pis this encrypted??
how can I read this
-
What file are you attempting to open? If you are trying to open the .rbz file, that is a zip archive file (i.e. compressed) just relabeled so SketchUp recognizes it. You have to unzip it and open a specific .rb file within it. If you see .rbe or .rbs files in the unzipped archive, then they are encrypted ruby.
-
hello slbaumgartner
it is an RBZ file. how can I unzip it ?im running windows 64x . .
-
https://support.microsoft.com/en-us/help/14200/windows-compress-uncompress-zip-files
As I mentioned earlier, .rbz is just a renaming of .zip. You may have to change it back to .zip to get unzip to recognize it.
-
I found the solution. .
the file won't give a readable code . . when downloaded via Google chrome . .it should be downloaded through extension warehouse . .
Going back to the small green cube in the scale tool. .
( i already know how to make colors for the cube )can anyone help me how make sketchup recognize the temporary drawing green cube when I hover the mouse over it?
Advertisement