sketchucation logo sketchucation
    • Login
    1. Home
    2. jolran
    3. Posts
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 37
    • Posts 1,027
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: [REQ] Deck Builder

      2D boolean might help for the deck. Although it may look simple here, in case where the deck is getting irregular shapes it can get tedious copy and adjusting planks. Then you could make use of the extrusion method.. There's a PDF on how to go about...
      It may give you some other ideas.

      Like Pixeros link, you may have to use multiple tools for this..

      posted in Plugins
      jolranJ
      jolran
    • RE: Problem with the boundary of the viewport and my tool

      Same here on SU8. On both sides of the window.
      If I hold down the mousebutton near border of window(at the right side where there's no tools)and do a mousemove/nudge it starts panning right sometimes.

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: [Plugin] FloorGenerator ( Updated 6-Apr-2017)

      @unknownuser said:

      I tried what you said jolran but I couldn't figure it out. How should I do it ?

      unsuns, I meant this to be tried by Sam at developer-level. I havent dug in his script, so this suggestion was a shot in the dark.

      @unknownuser said:

      I wasn't. Another one of those things that is there but not a necessity so I just ignored it. Thanks for the suggestion.

      Hope it helps.
      /Joel

      posted in Plugins
      jolranJ
      jolran
    • RE: [Plugin] FloorGenerator ( Updated 6-Apr-2017)

      @unknownuser said:

      Just don't "X" out of the WebDialog window, instead Right click in space or select any other tool. This will close the WebDialog window an unselect the Toolbar Icon.

      Sam. I think you could try trigger some actions during the closing of the dialog with "X", using @yourdialog.set_on_close { #set closing action here }. If you are not already using it, that is.
      As usual concerning webdialogs, I don't know how reliable that method is..

      posted in Plugins
      jolranJ
      jolran
    • RE: SketchUp Debugging for Notepad++

      Ok, thanks.

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Plugin to make a hole in a group?

      Ah, now I see. It wasent a video. Last "Gif", which seams to have cause some confusion from my part.

      I say no more...

      posted in Plugins
      jolranJ
      jolran
    • RE: Plugin to make a hole in a group?

      I meant Fredo's video about the stamp-boolean thing, double-sorry ๐Ÿ˜ณ
      I can see how that got misinterpreted.. My english is not fluid sometimes.

      Watching your video again, Sam. I clearly see you do the same thing. So thanks for the code ๐Ÿ‘

      You only have to do some fancy widgets now, and you are good to go!

      posted in Plugins
      jolranJ
      jolran
    • RE: SketchUp Debugging for Notepad++

      This only works with Sketchup 2014/ Ruby 2, right ?

      I havent followed along the Ruby 2 activities ๐Ÿ˜ž

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Width problems with select option in WebDialog

      @unknownuser said:

      I would avoid any spaces based alignment, because GUI is translated in few languages

      Fine, then.

      I would stick to IE=edge in the META. Or set specific version of IE.
      I use D3.js and it wont launch otherwise since using CSS3 selectors/HTML5.. If you don't. Then you will have to include Sizzle or Html5 Shiv since any library dependent of CSS3 selectors need IE9(?) and up. For Mac don't know..

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Plugin to make a hole in a group?

      @Sam
      @unknownuser said:

      With Fredo on the job, I can stop wasting my time!!!!!!!!

      Copy that! As Jack Bauer use to say.

      BTW, looking at the video the response time seams to be pretty good. Does it work well with denser geometry ?

      How the h&#l do you do that ?

      posted in Plugins
      jolranJ
      jolran
    • RE: Width problems with select option in WebDialog

      @unknownuser said:

      FYI using an inline STYLE attribute, kills the META "MSThemeCompatible" feature that is set in the HEAD section.

      Really ? ๐Ÿ˜ฎ Did not know that. Yet another reason to avoid inline styling.
      Dumb question: Do you know if it kills the META just for that particular element or just by using inline style once in the document everything is ruined, if you understand my question.

      I mainly use classes because it's easier to switch styling just by toggling class on/off..
      It's difficult to overide that if using inline style or ID selectors.

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Width problems with select option in WebDialog

      Even SVG text element ?

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Width problems with select option in WebDialog

      Ok.... you liked that hack dident you....How bout this one..

      
      <!DOCTYPE html>
      		<html xmlns="http://www.w3.org/1999/xhtml">
      		<head>
      		<style>
      			.DL_selection select {
      				width;250px;
      			}
      			.op;after { content;"                                       ";}
      		</style>
      		<meta http-equiv="MSThemeCompatible" content="Yes">
      		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      		</head>
      
      		<body>
      			<div class="DL_selection">
      			<select name="season_select" id="season_select">
      				<option class="op" value="year" id="year_season_select" >year</option>
      				<option class="op" value="summer" id="summer_season_select">summer</option>
      				<option class="op" value="autumn" id="autumn_season_select">autumn</option>
      				<option class="op" value="winter" id="winter_season_select">winter</option>
      				<option class="op" value="spring" id="spring_season_select">spring</option>
      			</select>
      			</div>
      			</body>
      		</html>
      

      @unknownuser said:

      Padding with dummy characters with a dummy list item won't ever be able to accurately adjust the length.

      Now since he is using style 250 px for the select element I naturally assumed he wanted that size. Spaces are acurate enough for that.. Wont work dynamically, has to be tested and nudged to liking, so in that sence not accurate..
      Don't know the output from the select though. Pseudo element should not affect the value...

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Width problems with select option in WebDialog
       <option value='' disabled selected style='display;none;'>................Choose season.............</option>
      

      Placeholder HACK ๐Ÿ˜„
      You will have to do some testing in JS to eliminate this selected.

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Close a WebDialog, THEN execute ruby code?

      Thanks, good to know!

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Close a WebDialog, THEN execute ruby code?

      dialog.set_on_close { #do stuff here.. } ?

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: [Plugin] FloorGenerator ( Updated 6-Apr-2017)

      @unknownuser said:

      There might be performance to gain by using the second options argument disable_ui in model.start_operation.

      Nothing slips thou past ๐Ÿ˜„

      posted in Plugins
      jolranJ
      jolran
    • RE: [Plugin] FloorGenerator ( Updated 6-Apr-2017)

      @unknownuser said:

      maybe some of the pros could look into some speed optimisations

      Sam IS a pro. ๐Ÿ˜„

      I don't think there are massive gains to be made in that area. Adding, intersecting dense geometry within a Sketchup plugin IS a slow process. This has been discussed many times..
      Maybe in 2014, things are better, I don't know, still on 8.

      posted in Plugins
      jolranJ
      jolran
    • RE: Nicedit for SketchUp (javascript issue)

      @unknownuser said:

      I try to add the meta tags, but it still doesn't work.

      Ah, to bad. That's the only "quick" solution I could think of..
      I know nothing about NicEdit, can not comment on it's compability with Sketchup.

      I assume you are aware of webdialog focus and issues trapping keyevents ?

      http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=57462

      Maybe have a peek into Aerilius different consols, if you wish to solve this sans JS library.
      Can't have different color highlighting in a HTML text-inputfield though ๐Ÿ˜ž

      BTW, this topic may get moved to the developper section...

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Nicedit for SketchUp (javascript issue)

      Hi. Without testing any code... You might try attaching some meta tags to the HTML, if you havent done so.

      Something like.(for windows only)

      <meta http-equiv="content-type" content="charset=UTF-8" />
      	<meta http-equiv="MSThemeCompatible" content="Yes" />
      	<meta http-equiv="X-UA-Compatible" content="IE=edge>
      

      Your javascript library might require a later version of browser than what is automatically loaded from a default webdialog. I think it is reverted to IE8 ? Not lastest one installed.

      posted in Developers' Forum
      jolranJ
      jolran
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 51
    • 52
    • 10 / 52