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

    Elektro

    @Elektro

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

    Elektro Unfollow Follow
    registered-users

    Latest posts made by Elektro

    • RE: [Plugin] FreeDXF Importer

      @jim said:

      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")
      > ั’
      > 
      

      I did the test that you have advised me, but nothing has changed.
      Instead I have converted the files in ANSI, I saved it, and then I imported into Sketchup and ...... cheers now works. ๐Ÿ˜„

      posted in Plugins
      E
      Elektro
    • RE: [Plugin] FreeDXF Importer

      @jim said:

      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.

      Hello Jim I have attached the file you that I can not open in Sketchup 2016.
      If this can be of help, this file was saved as 'AutoCAD 2013 Compatible DXF (*.dxf)

      File_1.dxf

      posted in Plugins
      E
      Elektro
    • RE: [Plugin] FreeDXF Importer

      Hello Jim.
      No before pressing 'Import' in Ruby Console nothing appears, but after I pressed the 'Import' button appears this error:

      Error: #<Encoding::UndefinedConversionError: "\x90" to UTF-8 in conversion from Windows-1252 to UTF-8>
      C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/dxf2ruby.rb:181:in gets' C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/dxf2ruby.rb:181:in read_codes'
      C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/dxf2ruby.rb:58:in parse' C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/freedxf.rb:269:in import'
      C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/freedxf.rb:236:in do_import' C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/freedxf.rb:136:in block in do_options'
      C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/SKUI/events.rb:82:in call' C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/SKUI/events.rb:82:in block in trigger_event'
      C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/SKUI/events.rb:78:in each' C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/SKUI/events.rb:78:in trigger_event'
      C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/SKUI/window.rb:357:in event_control_callback' C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/SKUI/window.rb:311:in callback_handler'
      C:/Users/Roberto/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/jf-FreeDXF/SKUI/window.rb:269:in block in add_callback' SketchUp:1:in call'

      posted in Plugins
      E
      Elektro
    • RE: [Plugin] FreeDXF Importer

      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?

      posted in Plugins
      E
      Elektro