sketchucation logo sketchucation
    • Login
    1. Home
    2. Jernej Vidmar
    3. Posts
    βŒ› Sale Ending | 30% Off Profile Builder 4 ends 30th September
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 29
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Compute Rotation and Scale from Transform Object

      Hello transformation gurus!

      just to double check the euler_angle(xyz=[]) method ... is the condition:

      if m[6] != 1 and m[6]!= 1
      

      at the beginning correct? Why double checking the same variable against the same value? Or is it meant to be:

      if m[6] != 1 and m[6]!= -1
      

      ?

      Cheers,
      Jernej

      posted in Developers' Forum
      J
      Jernej Vidmar
    • RE: SKUI β€” A GUI Framework for SketchUp

      Hi Thomas, you have done a wonderful thing. Again. Congratulations!

      posted in Developers' Forum
      J
      Jernej Vidmar
    • Looking for translators (Modelur)

      Dear SketchUcators,

      as mentioned in the subject of this topic, we are looking for translators of Modelur, a SketchUp plugin for parametric urban design. Modelur is still available free of charge to anyone interested and it can be downloaded from our website: www.modelur.com. You can see the tool in action by visiting our youtube channel: www.youtube.com/user/modelur.

      We are about to release v0.3.0 (Pre-beta 3), which is a major update and it brings quite some new functionality. As befits the occasion, we also want to improve user experience by providing it in as many languages as possible.

      With a great help of our fellow SketchUp users, the tool is already more or less fully translated to Dutch, English, French, German, Polish, Portuguese and Slovenian languages.We are looking for translators of any other language; Chinese and Spanish are already 50% translated. In order to make translating easier, we have set up automatic translation system so there is no need to deal with plain text files anymore.

      As a token of our appreciation, we will provide a full version of Modelur 1.0 to all the translators once it is out. Of course, the translators also get all the credits regarding the translation.

      If you think you can help us out and improve Modelur experience, please send me a private message.

      Thank you and best regards,
      Jernej Vidmar
      The Modelur Team

      posted in Extensions & Applications Discussions extensions
      J
      Jernej Vidmar
    • RE: State of Observers β€” 28 February 2010

      Hi guys,

      seems like we have found new observer problem (MacOSX + SketchUp8). When InstanceObserver is attached to the Group and SketchUp is then exited, bugsplat window appears. If the model is saved before exiting SketchUp, no bugsplat window appears.

      class TestObserver <  Sketchup;;InstanceObserver
      	def onOpen(entity)
      		p 'on called'
      	end
      
      	def onClose(entity)
      		p 'onClose called'
      	end
      end
      # Select a Skethcup Group and call this method
      # so the observer will be attached to the Group
      def attach_observer
      	group = Sketchup.active_model.selection[0]
      	group.add_observer(TestObserver.new)
      end
      

      Can anyone please confirm that?

      It seems to be MAC OS X + SketchUp 8 specific problem, Windows version works OK, and SU 7 on Mac OS X too.

      Cheers,
      N78

      posted in Developers' Forum
      J
      Jernej Vidmar
    • RE: Optimization Tips

      Hi guys,

      I have just found out that converting String to Length directly is up to 13x slower in comparision to converting it to Float first and only then to Length...

      
      def string_to_length_conversion(iterations=100_000)
      	a=0
      	t1=Time.now.to_f
      	iterations.times do
      		# convert to Length directly
      		a = '5,0'.to_l
      	end
      	t2=Time.now.to_f
      	puts "Conversion to Length directly took #{t2-t1} sec, a=#{a}"
      
      	t1=Time.now.to_f
      	iterations.times do
      		# convert to Float, then apply units (meters in this case) and set to Length
      		a = '5,0'.to_f.m.to_l
      	end
      	t2=Time.now.to_f
      	puts "Conversion to Length via Float took #{t2-t1} sec, a=#{a}"
      end
      #Conversion to Length directly took 1.84500002861023 sec, a=5,00m
      #Conversion to Length via Float took 0.14300012588501 sec, a=5,00m
      
      
      posted in Developers' Forum
      J
      Jernej Vidmar
    • RE: Modelur 0.2.4 released

      Just a few hours after 0.2.4 was released, we received a Spanish translation of Modelur user interface. We quickly updated installation packages and updated downloads on our website, so make sure to get them if you would like to use Modelur en espaΓ±ol!

      Thank you Diego Rodriguez!

      posted in Extensions & Applications Discussions
      J
      Jernej Vidmar
    • Modelur 0.2.4 released

      Hi all,

      I am happy to tell you new version of Modelur, a SketchUp plugin for parametric urban design, has just been released. V 0.2.4 brings some new features and user interface enhancements, together with some bugfixes, reported by our users. Modelur is not only more stable, but it now speaks Dutch, too.

      To make long things short, here is a selection of three most important enhancements:

      1. Optimizing Modelur buildings for Google Earth export.
      2. Invisible UI scroller.
      3. Automatic fixing of rotated floor plans when buildings are created.

      To learn more about new functionality, please visit our YouTube channel.

      Best regards,
      N78

      posted in Extensions & Applications Discussions extensions
      J
      Jernej Vidmar
    • RE: Modelur 0.2.2 released

      Hi SketchUcationers,

      just a qucik notice: we have just published Modelur 0.2.3. It's a hotfix release which fixes bug that prevented to input some of the input parameters (i.e plot area size) in user interface. We invite you to download it from our website.

      Cheers,
      Jernej

      posted in Plugins
      J
      Jernej Vidmar
    • Modelur 0.2.2 released

      Hi guys,

      I just want to let you know that we have released a new version of Modelur, a parametric urban design tool for SketchUp.

      Updated version brings mostly performance improvements, such as much faster .skp Modelur model loading times, optimization of urban control values calculation and improved built area calculation. In addition to that, we have also added Chinese translation of user interface (thanks to Huaqiao Wang)! New version is avaliable for both Windows (SU 6 and 7) and Mac OS X (SU 7) operating systems.

      You are warmly invited to join our Pre-beta Partner Program, download it from our website and take it to a test drive πŸ˜„ All suggestions welcome!

      Best regards,
      Jernej Vidmar
      The Modelur Team

      posted in Plugins
      J
      Jernej Vidmar
    • RE: Set.insert vs array &lt;&lt; x unless array.include?(x)

      @thomthom said:

      Jernej: how about larger iterations and higher number of random values?

      t=Time.now;a=Set.new;10000000.times{a.insert(rand(10000))};puts Time.now - t
      Result: 37.911
      t=Time.now;a=[];10000000.times{r=rand(10000);a<<r};a.uniq!; puts Time.now - t
      Result: 8.282

      Still a winner?

      posted in Developers' Forum
      J
      Jernej Vidmar
    • RE: Set.insert vs array &lt;&lt; x unless array.include?(x)

      How about using Array.uniq! method:

      Test 1
      t=Time.now;a=[];10000000.times{r=rand(10);a<<r unless a.include?(r)};puts Time.now - t
      Result: 12.297
      t=Time.now;a=Set.new;10000000.times{a.insert(rand(10))};puts Time.now - t
      Result: 15.719
      t=Time.now;a=[];10000000.times{r=rand(10);a<<r};a.uniq!; puts Time.now - t
      Result: 7.753

      Test 2
      t=Time.now;a=[];100000.times{r=rand(10000);a<<r unless a.include?(r)};puts Time.now-t
      Result: 40.97
      t=Time.now;a=Set.new;100000.times{a.insert(rand(10000))};puts Time.now-t
      Result: 0.377
      t=Time.now;a=[];100000.times{r=rand(10000);a<<r};a.uniq!;puts Time.now-t
      Result: 0.087

      posted in Developers' Forum
      J
      Jernej Vidmar
    • RE: Observers WhishList

      First off, I totally agree with ThomThom's suggestions and add my vote for it.

      In addition to that, it would be great if you can add the observer, that would give us some feedback (i.e. event, value) when an event triggered via Value Control Box occurs.

      posted in Developers' Forum
      J
      Jernej Vidmar
    • RE: WebDialogs - The Lost Manual β€” R1 09 November 2009

      No, escaping doesn't seem to help. Only way to pass the float value is to write it using dot (1.12) not comma (1,12)...
      For now we have not found a workaround, but we intend to make some more tests to see if the problem can be bypassed.

      posted in Developers' Forum
      J
      Jernej Vidmar
    • RE: WebDialogs - The Lost Manual β€” R1 09 November 2009

      Hi Thom,

      thanks for sharing this really usefull information!

      Just as a side note:
      We have found a bug, which cuts decimal value sent from SketchUp to WebDialog (only in SU6 on Mac). If we i.e. want to update the value of some input box like this:
      web_dialog.execute_script("updateInputBox('varName', '12,345')")
      only 12 is shown in the varnName inputbox, everything behind (and including) comma is being cut off. But it works in SU7 on Mac and on both, 6 and 7 versions of SU on Windows.

      posted in Developers' Forum
      J
      Jernej Vidmar
    • RE: Product Ideas for SketchUp

      Hi guys,

      I have also added the request for Ruby 1.9.0 or later. Make sure to vote for it πŸ˜„
      As it might be lost among all suggestions, you can always find it using the search at the top of the page. Keyword: ruby 1.9.0.

      Cheers,
      Jernej

      PS: I have some more suggestions, but I can not post them anymore. I always get "Error parsing response"... Does anyone have similar problems?

      posted in SketchUp Discussions
      J
      Jernej Vidmar
    • RE: Modelur 0.2.0 released!

      Hi Chris,

      thanks for sharing your observations!

      @unknownuser said:

      I very much like the idea of Modelur as a plugin to Sketchup principally because I believe that human activity just has to become object oriented. Sketchup or something similar might be a word processor offering 3D models instead of paragraphs to house and communicate information. Accessing and retrieving the information has to be web based; Modelur's use of a web dialog is a major step in that direction; Modelur's idea of reporting to a spreadsheet with comma separated values is decidedly not.

      I agree on that, I believe that web based, multi user environments are next step of computer applications development, which offers huge potentials. However, as long as we stick to SketchUp, we are limited to its API and the features SU offers. Of course we would love to see SU become web based application, where multiple users would be able to share information and interact with the model simultaneously. For now, we can only hope one day SU Team surprises us... πŸ˜„

      @unknownuser said:

      But if Modelur were to consider the structure of the information it could be developed into an application of universal use rather than its current narrow target. Very few people are involved in urbanism but there are millions in offices and elsewhere everyday dealing with information about objects. The world now has a giant machine of digital components and protocols that works because it uses the smallest elements of logic - on or off. We accept that quite happily, but when it comes to information we don't think twice, for example, about dissolving "design" into enormous unfathomable chunks of square feet, as we have done for as long as I can remember. It is safe ... or is it just safely delusional?

      Not so long ago in Shenzhen on the border between China and Hong Kong televisions were sold by the catty*. Don't laugh we do the same with buildings.

      Where does square footage come from? What happens if the law changes and all employees have to have 20 foot long desks? What if the leading office furniture brand makes dentist type chairs de rigeur or complete workstations exercise bikes? Do you change the circulation space factor from 40 to 60 percent, or from 60 to 40 percent (in which case do you lose an elevator?).

      Well, Modelur was and is developed to serve one purpose only: to help anyone involved in process of urban design achieve better results faster. When talking about wider public interested in dealing with information about objects, one thing comes to my mind: GIS. That is exactly what it does and what it was created for.

      The potential I see, when speaking of Modelur and GIS, is to connect them together. GIS as a base for delivering the information and Modelur as application which 'transforms' that information to 3D buildings. However, there is one obvious problem here: how to convert this GIS input data (i.e. land price, municipality regulations, laws, ...) to the buildings? And we are talking here only about the quantitative data, which can be converted by using more or less simple formulas. How about when it comes to less tactile information like interests of neighbours, social impacts on site.. how can we measure those? Of course we can assign some ponders to it and use some set of rules and algorithms to convert those, but in the end, would we trust that these would make better judgement of what the built environment should be than urban designer?

      Clearly there would still have to be some professional, or group of them, behind to drive it. But then again, can we capture all the possible scenarios and input data one might need to convert it to plan of city development? Maybe yes, but the problem becomes exponentially more complex if we want to take all those aspects into account... and maybe some day (I keep my fingers crossed:-) Modelur will be able to do that! This could be done by means of using very flexible user interface, which would allow one to add as many parameters as needed and define them. On the other hand, there is always the option to add API to an application, yet most of end-users (at least in urban design) do not use it....

      To conclude (for now), we have designed Modelur as a simple and straightforward application. We do not want to make it any more complicated as needed to make it usable in contemporary urban design practice. However, before releasing version 1, we have quite some things to add. Once we reach v1, we already have quite a few interesting ideas about further Modelur development, some quite close to what we are talking about here. And I will add this discussion to those ideas...

      @unknownuser said:

      Well I could go on but maybe I'll turn quixotic again.

      No, not at all, I think you have opened very interesting topic here...

      Cheers,
      Jernej

      posted in Extensions & Applications Discussions
      J
      Jernej Vidmar
    • RE: Modelur 0.2.0 released!

      Hi Che,

      thanks for your comment, we are always open for new suggestions to improve Modelur. Can you please explain in more detail what exactly do you mean by this:

      @unknownuser said:

      ...a new approach that, in this case, actually defines the source of gross floor area calculations, and then manipulate the elements (the criteria) of the source rather than the summary.

      Thanks and best regards,
      Jernej

      posted in Extensions & Applications Discussions
      J
      Jernej Vidmar
    • Modelur 0.2.0 released!

      **(20.7.2009) -**We are glad to announce the release of an updated version of Modelur, the SketchUp tool for parametric urban design.

      http://2.bp.blogspot.com/_FP4YJp3kOgM/SmRXZgO1K3I/AAAAAAAAADs/bGb5ujvppIA/s400/modelur_0.2.0.png

      What's new?

      The new version of Modelur brings several new features and enhancements. The most important improvements are:

      • Advanced manual editing of buildings.
      • Enhanced user interface.
      • Basic off-line mode.
      • Support for both metric and imperial units.
      • Export of urban control values to .csv file and saving of default parameters.

      To learn more about the new features, please visit Modelur YouTube channel. The videos describing the improvements will be published in the upcoming week.

      Version 0.2.0 (Pre-beta 2) is available free of charge for both, Mac OS X and Windows, to anyone registered to Modelur Pre-beta Partner Program at http://www.modelur.com.

      Best regards,
      Jernej

      posted in Extensions & Applications Discussions extensions
      J
      Jernej Vidmar
    • RE: Help plugin Modelur

      On Windows, this might be the case, if you are using Internet Explorer 6 or prior. Please make sure, you update Explorer to version 7 or later (no need to make it default browser). Even if you use Firefox or any other browser to surf the web, SketchUp does not allow us to use anything else than IE... For Mac version Sfari 3.0 or later is required.

      Best regards,
      Jernej

      posted in Developers' Forum
      J
      Jernej Vidmar
    • Modelur for Mac is out!

      Just a week after we successfully launched Modelur - a SketchUp tool for parametric urban design - we are releasing its first update.

      Besides being available for Microsoft Windows, the updated version now installs on Apple Mac OS X also and can be downloaded as a part of our Pre-beta Partner Program free of charge. Due to a great response to our initial release and thanks to help of our friends at SketchUcation (Edson, Burkhard and Pilou), we can now provide three additional (Portuguese, German and French) translations of the Modelur user interface.

      To learn more and get Modelur, please visit www.modelur.com or see it in action on our YouTube channel.

      Kind regards,
      Jernej

      posted in Extensions & Applications Discussions extensions
      J
      Jernej Vidmar
    • 1 / 1