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

    Posts

    Recent Best Controversial
    • RE: Making New Scene using "Add' Loses Layers

      Bob, if you happened to add that Layer using my Add Layer extension, it may have been set to be not visible for any new Layers added to the model. Any chance of that?

      posted in SketchUp Discussions
      J
      Jim
    • [Plugin] North Angle Animator

      North Angle Animator stores the position of the model's North Angle per Scene. When enabled, the North Angle is animated from Scene to Scene.

      I will apologize in advance for the icons.

      Its use is simple:

      [1] Select a Scene.
      [2] Click the green button
      [3] Enter the North Angle in Degrees. Clear the entry to exclude the Scene. Repeat 1 - 3 for other Scenes to include.
      [4] Enable the animation
      [5] Click through the Model Scenes.

      2016-10-30_123414.png

      Available on the Plugin Store

      2016-10-20: v0.0.1 Released

      posted in Plugins
      J
      Jim
    • RE: Question about scenes

      I'm cleaning up an old "North Angle Animator" extension I've had around. Will post on Extension Store later today. It stores the North Angle per Scene and animates it between Scene changes.

      posted in SketchUp Discussions
      J
      Jim
    • RE: Question about scenes

      The North Angle can be saved with the Scene iff you turn off Scene Transitions (in the View > Animation > Settings dialog.)

      But once you re-enable Scene Transition, your per-Scene North Angles are lost.

      posted in SketchUp Discussions
      J
      Jim
    • RE: [Plugin] FreeDXF Importer

      One thing you can try while I work on a fix is to open the .dxf file in an editor such as Notepad++, set the encoding to utf-8, then save the file. It should import correctly.

      But might lose some characters such as this one:

      
      puts "\x90".force_encoding("cp1251").encode("utf-8")
      ั’
      
      
      posted in Plugins
      J
      Jim
    • RE: Schemas

      @laggingbehind said:

      That's great Jim & really appreciated ๐Ÿ˜„
      I'll have a proper look later in the day, apparently my boss thinks I should we working hahaha

      You could use plain old Dynamic Component attributes for this - then you could use the fields with Generate Report. Any reason you want a schema?

      posted in Newbie Forum
      J
      Jim
    • RE: Making New Scene using "Add' Loses Layers

      The new Scene gets its properties from whichever Scene Tab is selected (across the top.) It doesn't matter which Scene is selected in the Scenes dialog. Is this not what you are seeing?

      I admit it may not be as intuitive as it could be, but that's how it's always been.

      posted in SketchUp Discussions
      J
      Jim
    • RE: [Plugin] FreeDXF Importer

      Oh so it's an encoding issue. Can you share the file here or in a private message? I don't have an example with which to work out a solution.

      posted in Plugins
      J
      Jim
    • RE: [Plugin] FreeDXF Importer

      @elektro said:

      Good evening.
      I have installed the latest version freeDXF 16th in Sketchup 2016, but I can not
      to import any DXF files.
      I tried to install the older version of freeDXF but nothing has changed.
      Some solution?

      If you open the Ruby Console before attempting to import using FreeDXF, then are there any errors that appear?

      posted in Plugins
      J
      Jim
    • RE: Schemas

      For reference, the following page is a good place to start.

      Link Preview Image
      XML Schema Part 0: Primer Second Edition

      favicon

      (www.w3.org)

      posted in Newbie Forum
      J
      Jim
    • RE: Schemas

      I see SketchUp will create a drop-down for enumerations which is a nice feature. I'm out of time now but can post an example later.

      2016-10-28_043606.png

      posted in Newbie Forum
      J
      Jim
    • RE: Schemas

      I am interested in learning about this in relation to SketchUp. I will preface this by saying I don't quite understand everything that is going on with SketchUp Classifications and XML Schemas, but here is something simple and which may work for you.

      The SketchUp Help Center article says SketchUp can import both .skc and .xsd files. .xsd file is a simple text file. I just googled an example .xsd file, modified it slightly, and imported into SketchUp via the Classification dialog.

      [1] Import the Thing.xsd file (from Model Info/Classification Dialog)
      [2] Classify your components as a "Thing" type (in Entity Info)
      [3] Open the Components Options Dialog.

      Of course, you will want to rename the Thing.xsd file and edit it's contents from "Thing" to whatever you want to name your classification.

      Rename to Thing.xsd

      2016-10-27_201449.png

      posted in Newbie Forum
      J
      Jim
    • RE: Schemas

      @slbaumgartner said:

      I know what the word means, but that doesn't clarify what the OP wants with respect to SketchUp. A text description of the steps to create a model? For what kind of "project work"? And why 6-line?

      I assume the original poster is talking about a Classification Schema, although a 6-line classification schema seems... unlikely.

      posted in Newbie Forum
      J
      Jim
    • RE: [Plugin] FreeDXF Importer

      @kuu said:

      Nice plugin, works much better than the SketchupPro import. However, there's a few things I've noticed: ...

      Hi Kuu, thanks for the feedback.

      It does not respect blocks' scaling / orientation properly: blocks that were mirrored in the original DXF sometimes end up in strange positions (this does not happen with the other import).

      Could you provide a minimal .dxf example file, and example result?

      Perhaps related to the last issue, sometimes I saw blocks that had the proper orientation but had ellipse elements that were rotated in 90 or 180 degrees.

      Maybe related, maybe not - ellipses have proven difficult to crack but it's been awhile since I've had a look at it. Again, a minimal sample file demonstrating an incorrect ellipse would be helpful.

      Layer colors? Visibility?

      I wrote this long before SketchUp had support for setting layer colors. Now it does. Can have a look.

      posted in Plugins
      J
      Jim
    • RE: [code] reset webdialog and toolbars .bat file

      Unless you're still using SketchUp 7 or 8, you don't need this; and even if your are, you still probably don't need it.

      What problem do you wish to solve by running this code?

      posted in Developers' Forum
      J
      Jim
    • RE: Nudge objects plugin?

      I too have a Nudge tool and it works with the camera if nothing is selected; and aectionnplane too. Maybe we all should put our heads together and create the ultimate nudge tool hehe!

      posted in SketchUp Discussions
      J
      Jim
    • RE: Getting Ruby C Extensions to work with 64-bit Windows

      Check out this issue on the GitHub Repo:

      https://github.com/SketchUp/ruby-c-extension-examples/issues/6

      Thom posted a revised RubyLib.h file that fixes these.

      posted in Developers' Forum
      J
      Jim
    • RE: [Plugin] ToolbarEditor (1.1.2) โ€“ updated 08.06.2014

      Look also in your "%APPDATA%\SketchUp Toolbar Editor" folder for toolbar commands.

      posted in Plugins
      J
      Jim
    • RE: Fastest way to download a collection from warehouse

      You can download 12 at a time from the Components dialog "Save as local collection."

      posted in SketchUp Discussions
      J
      Jim
    • RE: How detect that a file is locked by another app?

      @unknownuser said:

      Also, prefer opening files using block syntax so it always closes - saves you explicit rescue to close.

      ...which actually simplifies everything.

      
      def write_to_file(filename)
         File.open(filename, "a") { |file|
            file.puts("Hello #{Time.now}")
         }
      rescue Errno;;EACCES
         puts "Could not write to file."
      end
      
      
      posted in Developers' Forum
      J
      Jim
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 210
    • 211
    • 5 / 211