🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download
  • Transparent backgound

    SketchUp Discussions sketchup
    11
    0 Votes
    11 Posts
    666 Views
    M
    wow, cool! Thanks!
  • Tip for importing DWG into SketchUp

    SketchUp Discussions sketchup
    9
    0 Votes
    9 Posts
    7k Views
    M
    First of all: I am NOT a programmer, so there is ZERO error handling on this quick-and dirty script. I had tried TIG's solution, but did not work on my DWG because some of the arcs would "clip" others as they were rebuilt by the script. So I wrote this small routine to: loop through imported AutoCAD entities. select curves and group them (individually) create a more refined clone of the curve (the number of segments is controlled by two parameters. See script) Delete the original curve. Anyone is welcome to turn this snippet into something better and more reusable. Best, Marcos. theModel = Sketchup.active_model #selEntities = theModel.selection theModel.selection.clear allEntities = theModel.entities Collect user values: prompts = ["Minimum number of segments:", "Minimum Segment Length:"] defaults = [36, 10] input = UI.inputbox(prompts, defaults, "Enter Desired Settings") #set minimum length for each arc segment (in model units) userSegs = input[0] minLen = input[1] #UI.messagebox(userSegs.to_s) #UI.messagebox(minLen.to_s) allEntities.each do |i| if (i.typename == "Edge") aCurve = i.curve if (aCurve) Sel = theModel.selection unless defined?(Sel) Sel.add (aCurve.edges) newGroup = allEntities.add_group (theModel.selection) Sel.clear else #not a Curve end end end theModel = Sketchup.active_model theModel.selection.clear allEntities = theModel.entities Loop through all entities allEntities.each do |i| #open Groups, search for Curves if (i.typename == "Group") #Loop through array of Entities inside each Group subset = i.entities subset.each do |s| curve = s.curve # if it is a curve, collect a few properties if (curve) # get coord. transformation, since entities are in a group #use "transform" below to translate to global coordinates tr=i.transformation cCenter = curve.center.transform! (tr) cSangle = curve.start_angle cEangle = curve.end_angle cRadius = curve.radius cNormal = curve.normal.transform! (tr) cXaxis = curve.xaxis.transform! (tr) cYaxis = curve.yaxis.transform! (tr) cLength = curve.length #UI.messagebox(" Curve Length is " + cLength.to_s) #divides arcs in minLen(model unit) increments divSegs = (cLength / minLen).to_i #UI.messagebox("Divided Result is " + divSegs.to_s) #for very small arcs, sets a minimum number of segments if (divSegs <= userSegs) numSegs = userSegs # UI.messagebox("Using: " + numSegs.to_s) else #subdivides larger arcs using target length numSegs = divSegs.to_i # UI.messagebox("using Divided total" + numSegs.to_s) end myarc = allEntities.add_arc cCenter,cXaxis,cNormal,cRadius,cSangle,cEangle,numSegs #Erases original i.erase! end # if curve end # entities inside group loop end # if it is a group end #loop through all entities
  • Texture blurry on export to jpg only

    SketchUp Discussions sketchup
    12
    0 Votes
    12 Posts
    2k Views
    N
    thanks for your suggestions. I lowered all texture resolutions to 4000x4000 (there was only one bigger than 2500) but this doesn't make a difference.
  • [Tutorial] Load Ruby script

    SketchUp Tutorials sketchup
    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • How to do this?

    SketchUp Discussions sketchup
    8
    0 Votes
    8 Posts
    414 Views
    EscapeArtistE
    LOL, yes, I've been bitten by this too.
  • Question on Match Photo

    SketchUp Discussions sketchup
    3
    0 Votes
    3 Posts
    227 Views
    pbacotP
    Thank you, Gaieus! That must be what I am missing. I looked at online help for this but I didn't see that. After using SU8 for a while I would have stumbled over it eventually, I guess.
  • 0 Votes
    8 Posts
    647 Views
    honoluludesktopH
    Thanks Gai, guess I won't worry about it.
  • HDRI Locator simplified

    SketchUp Discussions sketchup
    2
    0 Votes
    2 Posts
    249 Views
    fuzzionF
    @richard said: Ok I cant find where I posted the first idea for this but have worked out a simple workaround for locating HDRI offsets in SU for exporting to render apps. I took out the previous process of needing to develop the sun / grid map together externally. Not nailed yet but in general: ROTATORS: Sphere mapped with a Grid (PNG) - the grid would suit the offset parameters of the render app! Sphere mapped with a JPG representation of the HDRI - this is UV mapped with the map relaced on use with that selected (via material edit). A sun that is rotated around the orgin to match the sun location on the above HDRI map. USE: (DO ALL ROTATES WITH MOVE TOOL) Drag in component and explode Replace HDRI with selected Rotate sun (X/Y) to main light sorce on the HDRI sphere Group GRID, HDRI and SUN - "Locator Group" Turn off perspective and orbit scene until objects in scene trace ground shadows as seen from the camera Rotate "Locator Group" until sun covers its own shadow cast. DONE read off the Offset Setting from the grid at the red indicator! ThomThom mentioned this as maybe being a godsent for other apps such as VRAY where the HDRI results cant be previewed. I hope that this might also be developed beyond my limits as a dynamic or ruby assisted process, would be cool. I can imagine once the sun is manually positioned to the HDRI sun all after could be "hit button, choose render app and bang offsets listed, or made available for the exporter plugin to read. [attachment=0:21jniyfw]<!-- ia0 -->globe2.jpg<!-- ia0 -->[/attachment:21jniyfw]
  • How can lay an object flat

    SketchUp Discussions sketchup
    2
    0 Votes
    2 Posts
    1k Views
    B
    It can be just right with the rotate tool. You only need to be careful with snapping to points, directions etc. Draw a flat plane, bring your objects to intersect with it and rotate with the intersection line as axis.
  • Layers

    Newbie Forum sketchup
    10
    0 Votes
    10 Posts
    516 Views
    GaieusG
    @pvm said: By the way Gaieus. Waistcoats are not so pointless when you live in England. But at least they are short I hope we can agree...
  • Free DWG program

    SketchUp Discussions sketchup
    13
    0 Votes
    13 Posts
    1k Views
    G
    @tails said: AutoCAD WS!! Still don't think I can edit line colour. You should be able to. I just tried it and it worked for me.
  • House plans

    Newbie Forum sketchup
    2
    0 Votes
    2 Posts
    254 Views
    KrisidiousK
    I would suggest looking through house plan websites and then e-mailing the designer and asking for permission to build the house in 3D.
  • How to get feedback for planned sketchup plugin

    Newbie Forum sketchup
    3
    0 Votes
    3 Posts
    233 Views
    H
    @tig said: @hardimeybaum said: This assumes that this is not a 'commercial' tool - if it is, then consider Option 1 with perhaps a promise of a free-license for helpers once it goes 'public' ?? Thanks for great advice. The plugin isn't commercial in traditional way. We don't plan to sell licenses but we plan to get orders from sketchup users. We have CAD engineering services marketplace and we connect professional engineers to the one with engineering need. We are thinking of following use cases: sketchup user have modeled smth with sketchup and needs professional 3D model, technical drawings, renderings .. They can press button in sketchup and the order will be send to ww.grabcad.com where engineers will do the order.
  • 0 Votes
    5 Posts
    389 Views
    brodieB
    Very nice tip. I didn't know about 'laydel' I'd always done a right click -> select similar -> delete and then purge after i'm done. your method saves a lot of clicking! -Brodie
  • Freezing Issues

    Newbie Forum sketchup
    4
    0 Votes
    4 Posts
    203 Views
    GaieusG
    Now your card seems to be quite capable of handling the OpenGL needs of SU but probably the driver is not up-to-date. Try to update it and turn HW acceleration back on. Without it, SU does everything based on the software and CPU while with it, textures, shadows and whatnot can be rendered by the video system thus freeing some resources of the CPU to work on the geometry. Of course, with very simple models you would not experience too much difference but as model complexity increases and more and more (especially higher resolution) materials you use, it can slow down significantly without video support.
  • Load Time Test

    SketchUp Discussions sketchup
    32
    0 Votes
    32 Posts
    3k Views
    honoluludesktopH
    Isn't loading time more a function of hard drive, and bus speed? I have a slow 3 ghz, 2 core machine that loads about 30 plugins in under 10 seconds the first time.
  • Import .eps File for Use with Push-Pull Tool?

    Newbie Forum sketchup
    40
    0 Votes
    40 Posts
    3k Views
    V
    I really appreciate all your help.
  • Learning Dynamic Components

    Dynamic Components sketchup
    9
    0 Votes
    9 Posts
    2k Views
    Dan RathbunD
    Just in case you missed the support pages. SketchUp › Help articles › Beyond SketchUp › Dynamic Components [image: TJnU_DC_Support_Topics.png]
  • Plugins - From menu to button?

    Newbie Forum sketchup
    3
    0 Votes
    3 Posts
    189 Views
    D
    Thanks, i want this mainly for the plugins added to the menus as some of the tools i use most don't have buttons. Looking at the code quickly it seems built for the default tools but still very useful and hopefully i can adjust it to work with plugins also by adding new code and icons to the folders it has. Many thanks
  • Manipulator Tools?

    Newbie Forum sketchup
    6
    0 Votes
    6 Posts
    706 Views
    mitcorbM
    But is it operational?