sketchucation logo sketchucation
    • Login
    1. Home
    2. Jernej Vidmar
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 29
    • Groups 2

    Jernej Vidmar

    @Jernej Vidmar

    10
    Reputation
    1
    Profile views
    29
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Jernej Vidmar Unfollow Follow
    Extension Creator registered-users

    Latest posts made by Jernej Vidmar

    • 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