sketchucation logo sketchucation
    • Login
    1. Home
    2. HPW
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 29
    • Posts 126
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: SimLab 3D PDF for SketchUp verison 3 released

      Hello,

      It s not my plugin, I only evaluated it.
      Contact simlab support with your problem.

      Regards

      Hans-Peter

      posted in Plugins
      H
      HPW
    • RE: .skp to inventor autodesk

      Hello,

      Generally it is hard or impossible to convert a surface modell to a solid modell file.
      From solid to surface only the surface is triangulated and the surface mesh is written.

      The question is also what inventor fusion has build from the surface-file?
      It might be still a mesh-modell.

      Regards

      Hans-Peter

      posted in Newbie Forum
      H
      HPW
    • RE: Perfect Isometric View in Sketchup

      Lets just say that the metod I showed allows you to do an ISO view in the direction you prefer...

      Hm, the Sketchup function let you do this also.
      Rotate fairly into the wanted view and choose ISO and it will be aligned exactly into the prefered view.

      posted in SketchUp Tutorials
      H
      HPW
    • RE: Perfect Isometric View in Sketchup

      Is it not the same as menu:

      Camera\Standardviews\Iso

      ??

      posted in SketchUp Tutorials
      H
      HPW
    • RE: SimLab 3D PDF for SketchUp verison 3 released

      Hello,

      SimLab 3DPDF (now V3) is the plugin only:
      http://www.simlab-soft.com/3d-plugins/3D-PDF-from-sketchup-main.aspx

      SimLap Composer (now V2013) is the full product:
      http://www.simlab-soft.com/3d-products/simlab-composer-compare-editions.aspx
      There is a upgrade price for 2.X

      Regards

      Hans-Peter

      posted in Plugins
      H
      HPW
    • RE: SimLab 3D PDF for SketchUp verison 3 released

      Hello,

      On the download page you can read: The plugin is supported on SketchUp 8 ...

      So question: Is Sketchup 7 also supported/usable ?

      Regards

      Hans-Peter

      Edit: Got an answer by mail

      @unknownuser said:

      Yes the plugin should work with both SKP7 and 8 (free and pro)

      Best Regards,
      SimLab Soft

      posted in Plugins
      H
      HPW
    • RE: Sketchup 7 setting opacity with ruby?

      Oops, just noticed:

      
      	 material.alpha = 0.5
      
      
      posted in Developers' Forum
      H
      HPW
    • Sketchup 7 setting opacity with ruby?

      Hello,

      The API doc says:

      Color.alpha= is only for SketchUp 8.0 M1+

      Any other way to set opacity in Sketchup 7 with ruby?

      This does also not work:

      
      color_from_rgba = Sketchup;;Color.new(material.color.red, material.color.green, material.color.blue, 128) 
      material.color = color_from_rgba
      
      
      posted in Developers' Forum
      H
      HPW
    • RE: Getting and iterating scene list?

      This does what I want:

      
       model = Sketchup.active_model
       pages = model.pages
       pages.each {|page|
          pages.selected_page = page
          UI.messagebox("Scene; "+page.name)
          view = model.active_view
          new_view = view.zoom_extents
          status = page.update(33) 
          }
      
      

      But I have to press OK on the messagebox when scene-update has finished.

      Edit: Kernel.sleep does not work for that.

      posted in Developers' Forum
      H
      HPW
    • RE: Getting and iterating scene list?

      OK, things seems not so easy.
      The scene tab even does first appear after a autosart ruby has run, so no way to access the scenes via shortcut.

      Other idea: Scenes can store the camera loctation. So can a ruby calculate a new camera location for each scene and write the property.
      This would not update the screen or change the visible scene. But next time the scene-change is used it updates to the new location.
      And the new camera locations are stored for each scenes in onSave.

      What Propertys does ZoomExtents set? Is there a equivalent in ruby to calculate the values in the same way?

      Regards

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • RE: Getting and iterating scene list?

      Hello,

      Thanks for the hints.

      
       model = Sketchup.active_model
       pages = model.pages
       pages.each {|page|
          pages.selected_page = page
          view = model.active_view
          new_view = view.zoom_extents
          status = page.update(33) 
          }
      
      

      Iterating through the pages seems to work.
      But they have now all the same view.
      How can I get the view of the selected page first and then do the zoom extent on that view?
      The page have different viewing angle after import. That should be preserved and only zoomed to extent.
      I do not see a page.view or something else.

      Regards

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • Getting and iterating scene list?

      Hello,

      I do an automated ACAD-import and get some scenes converted from ACAD-views.

      Can I get a list with ruby of all existing scenes and iterate through the list
      and set each scene activ, zoom to the extents and then update the scene property.

      When I later click on the scene I get the correct view with all geometry in view.

      Regards

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • RE: Storing attributes?

      Hello,

      Sound like you want to use dynamic components.
      Have you had a look at them?
      They can get attributes and there are plugins to extract them (I think)

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • Neobook application builder in Sketchup

      Hello,

      For a long time I use the Rapid Application Builder tool neobook for programming windows software:
      Then comes the idea that it would be nice to have all that options in sketchup for user interface creation.

      Similar to my newLISP+pdScript integration into Sketchup, I build a neobook extension for Sketchup.
      The plugin DLL interfaces to the OCX of the neobook enviroment and loads there a neobook PKG file.
      The neobook dialog can be extended by its own plugin system.

      Windows only!

      Hardcopy:
      http://www.hpwsoft.de/anmeldung/html1/sketchup/NB_SU.png

      Interested who want to try it can download here:

      http://www.hpwsoft.de/anmeldung/html1/sketchup/sketchup4.html

      The ZIP contains 1 file at the toplevel:
      neobook_ext.rb

      The rb is the extension which must be activated in the preferences.
      The subfolder contains the DLL's and samples. Preserve the folder when you unpack the ZIP.
      The extension adds a menu to the plugins menu with some demo.

      The Win32API extension is needed from here:
      http://forums.sketchucation.com/viewtopic.php?f=323&t=42732#p380121

      Regards

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • RE: PdScript-interpreter for GUI Scripting in SketchUp-Ruby

      Hello,

      I made a small page for the sketchup plugin on my website.
      I updated the above link for the download.

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • RE: NewLISP-interpreter in SketchUp-Ruby

      Hello,

      I made a small page for the sketchup plugins on my website.
      I updated the above link for the download.

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • RE: NewLISP-interpreter in SketchUp-Ruby

      Hello,

      After some deeper insights with ruby module with the pdScript-extension here:
      http://forums.sketchucation.com/viewtopic.php?f=180&t=42730

      I make also the newLISP extension to a module.

      Interested who want to try it can download here:

      HPW's newLISP page

      favicon

      (www.hpwsoft.de)

      The ZIP contains 1 file at the toplevel:
      newLISP_ext.rb

      The rb is the extension which must be activated in the preferences.
      The subfolder contains the DLL's and samples. Preserve the folder when you unpack the ZIP.
      The extension adds a menu to the plugins menu with some demo.

      The Win32API extension is needed from here:
      http://forums.sketchucation.com/viewtopic.php?f=323&t=42732#p380121

      Regards

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • RE: NewLISP-interpreter in SketchUp-Ruby

      Hello,

      I updated the ZIP with the latest corrections.

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • RE: NewLISP-interpreter in SketchUp-Ruby

      Hello Dan,

      Oops, typo on my side. Will correct it later.
      Strange: It does work for me without errors.

      I hopy that ruby does not get more formating aware like for example python.

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • RE: NewLISP-interpreter in SketchUp-Ruby

      Hello,

      After even more help from Dan with the pdScript-extension I ported the same module and language support to the newLISP extension and make a version 1.01
      Still under the link above to download.

      Hans-Peter

      posted in Developers' Forum
      H
      HPW
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 1 / 7