sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    [REQ] Plugin Multi-View Elevations

    已排程 已置頂 已鎖定 已移動 Plugins
    50 貼文 10 Posters 4.8k 瀏覽 10 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • S 離線
      sepo
      最後由 編輯

      If you are showing design only than cut walls could be omitted, but if you are preparing working drawings than one would show cut walls. In any case I always show cut walls as they convey idea of proximity of windows /doors to the floor/ceiling.
      So idea of this plugin is really advanced section tool. That would save a lot of time if possible to implement, so +1 from me.

      1 條回覆 最後回覆 回覆 引用 0
      • renderizaR 離線
        renderiza
        最後由 編輯

        Hi,

        Here is an update of what I have done so far;

        
        #########Guide
        # camdist = 80*12
        # Elavation A (Front) = x , y+camdist
        # Elavation B (Right) = x+camdist , y
        # Elavation D (Left)  = x-camdist , y
        # Elavation C (Back)  = x , y-camdist
        ########
        
        model = Sketchup.active_model ;
        view = model.active_view ;
        camera = view.camera ;
        pages = model.pages ;
        page = pages.selected_page
        sel = model.selection ;
        ents = model.active_entities ;   
        groups = ents.grep(Sketchup;;Group)
        
        groups.each do |e|
          if e.name == "Camera"
            boundbox = e.bounds ;
            @center = boundbox.center ;
          end ;
        end ;
        
        x = @center.x.to_f ;
        y = @center.y.to_f ;
        z = 6*12 ;
        newEye = Geom;;Point3d.new(x,y,z) ;
        newUp = Geom;;Vector3d.new(0,0,1)
        camdist = 80*12
        
        if page == nil
        pages.add "Elevation A" 
        pages.add "Elevation B" 
        pages.add "Elevation C" 
        pages.add "Elevation D" 
        end
        
        elev1 = "Elevation A" ;
        elev2 = "Elevation B" ;
        elev3 = "Elevation D" ;
        elev4 = "Elevation C" ;
        page_num = 0 ;
        
        pages.each {|page|
        	if page.name == elev1
        		pages.selected_page = model.pages[page_num] ;
        		break
        	end ;
        	page_num+=1 ;
        } #Pages.each
        if page.name != "Elevation A"
        pages.add "Elevation A" 
        end
        
        targetX = x ;
        targetY = y+camdist ;
        targetZ = z ;
        newTarget = Geom;;Point3d.new(targetX,targetY,targetZ)
        
        elevACam = view.camera
        elevACam.set(newEye,newTarget,newUp)
        
        view.camera = elevACam
        view.invalidate()
        
        camera.perspective = true ;
        camera.perspective = false ;
        page = pages.selected_page.update(1) ;
        
        #####################################################################
        x = @center.x.to_f ;
        y = @center.y.to_f ;
        page_num = 0 ;
        pages.each {|page|
        	if page.name == elev2
        		pages.selected_page = model.pages[page_num] ;
        		break
        	end ;
        	page_num+=1 ;
        } #Pages.each
        if page.name != "Elevation B" 
        pages.add "Elevation B" 
        end
        
        targetX = x+camdist ;
        targetY = y ;
        targetZ = z ;
        newTarget = Geom;;Point3d.new(targetX,targetY,targetZ)
        
        elevBCam = view.camera
        elevBCam.set(newEye,newTarget,newUp)
        
        view.camera = elevBCam
        view.invalidate()
        
        camera.perspective = false ;
        page = pages.selected_page.update(1) ;
        
        #####################################################################
        x = @center.x.to_f ;
        y = @center.y.to_f ;
        page_num = 0 ;
        pages.each {|page|
        	if page.name == elev3
        		pages.selected_page = model.pages[page_num] ;
        		break
        	end ;
        	page_num+=1 ;
        } #Pages.each
        if page.name != "Elevation D" 
        pages.add "Elevation D" 
        end
        
        targetX = x-camdist ;
        targetY = y ;
        targetZ = z ;
        newTarget = Geom;;Point3d.new(targetX,targetY,targetZ)
        
        elevBCam = view.camera
        elevBCam.set(newEye,newTarget,newUp)
        
        view.camera = elevBCam
        view.invalidate()
        
        camera.perspective = false ;
        page = pages.selected_page.update(1) ;
        
        #####################################################################
        x = @center.x.to_f ;
        y = @center.y.to_f ;
        page_num = 0 ;
        pages.each {|page|
        	if page.name == elev4
        		pages.selected_page = model.pages[page_num] ;
        		break
        	end ;
        	page_num+=1 ;
        } #Pages.each
        if page.name != "Elevation C" 
        pages.add "Elevation C" 
        end
        
        targetX = x ;
        targetY = y-camdist ;
        targetZ = z ;
        newTarget = Geom;;Point3d.new(targetX,targetY,targetZ)
        
        elevBCam = view.camera
        elevBCam.set(newEye,newTarget,newUp)
        
        view.camera = elevBCam
        view.invalidate()
        
        camera.perspective = false ;
        page = pages.selected_page.update(1) ;
        
        #####################################################################
        page_num = 0 ;
        pages.each {|page|
        	if page.name == elev1
        		pages.selected_page = model.pages[page_num] ;
        		break
        	end ;
        	page_num+=1 ;
        } #Pages.each
        
        

        Important to realize that the above code is just a sketch which still needs to be polish but it offers an idea of the progress. Also I post it so that if anyone spots something that I can improve then please by all means let me know.

        If you want to test this its important to do the following;

        1. Crete group to serve as a marker
        2. Right click that group and pick "Entity info"
        3. Under Name enter "Camera"
        4. Open "Ruby Code Editor" plugin
        5. Copy & Paste the above code I provided to "Ruby Code Editor"
        6. Execute Code
        7. Done!

        Anyways hope to keep working on this so I can finish and make Beta rb file...Cheers!

        [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

        1 條回覆 最後回覆 回覆 引用 0
        • TIGT 線上
          TIG Moderator
          最後由 編輯

          I have PM'd a 2013 compliant version of my tool 'TIG-ElevTag' to some of you for beta-testing...
          All comments welcome [by PM] before it gets published...

          TIG

          1 條回覆 最後回覆 回覆 引用 0
          • Rich O BrienR 離線
            Rich O Brien Moderator
            最後由 編輯

            Are you gonna publish it how i think you're gonna publish it?

            Download the free D'oh Book for SketchUp 📖

            1 條回覆 最後回覆 回覆 引用 0
            • TIGT 線上
              TIG Moderator
              最後由 編輯

              NO.
              I await beta-test results...
              I'll send you a copy - to test 😕

              TIG

              1 條回覆 最後回覆 回覆 引用 0
              • renderizaR 離線
                renderiza
                最後由 編輯

                Hi,

                TIG is upcoming plugin looks very good! I might still finish my attempt to make plugin but only for learning purpose. (Hope to be as good as TIG one day) 💚

                Cheers!

                [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

                1 條回覆 最後回覆 回覆 引用 0
                • KrisidiousK 離線
                  Krisidious
                  最後由 編輯

                  @renderiza said:

                  Hi,

                  TIG is upcoming plugin looks very good! I might still finish my attempt to make plugin but only for learning purpose. (Hope to be as good as TIG one day) 💚

                  Cheers!

                  He's a talented guy no doubt. I still want to see what you came up with too Renderiza.

                  By: Kristoff Rand
                  Home DesignerUnique House Plans

                  1 條回覆 最後回覆 回覆 引用 0
                  • S 離線
                    sepo
                    最後由 編輯

                    Hi Tig
                    Any chance for me to test it?
                    Best
                    Sepo

                    1 條回覆 最後回覆 回覆 引用 0
                    • K 離線
                      KrisM
                      最後由 編輯

                      TIG or Rendriza,

                      Have you done anything further on your plugin? The need is certainly still out there.

                      KrisM

                      1 條回覆 最後回覆 回覆 引用 0
                      • KrisidiousK 離線
                        Krisidious
                        最後由 編輯

                        Here it is KrisM...

                        Link Preview Image
                        SketchUp Plugins | PluginStore | SketchUcation

                        SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

                        favicon

                        (sketchucation.com)

                        By: Kristoff Rand
                        Home DesignerUnique House Plans

                        1 條回覆 最後回覆 回覆 引用 0
                        • TIGT 線上
                          TIG Moderator
                          最後由 編輯

                          It's been in the PluginStore for ~16 months !
                          😒

                          TIG

                          1 條回覆 最後回覆 回覆 引用 0
                          • K 離線
                            KrisM
                            最後由 編輯

                            Krisidious,
                            Thanks for the link.

                            Tig,
                            I am rather embarrassed here. I did do a search for your plugins but didn't go past the first page. Didn't realize your list is composed of four pages. Your output is prodigious and well appreciated.

                            KrisM

                            1 條回覆 最後回覆 回覆 引用 0
                            • KrisidiousK 離線
                              Krisidious
                              最後由 編輯

                              He's pretty awesome... And sarcastic.

                              By: Kristoff Rand
                              Home DesignerUnique House Plans

                              1 條回覆 最後回覆 回覆 引用 0
                              • TIGT 線上
                                TIG Moderator
                                最後由 編輯

                                I prefer to think of it as my 'dry wit' 😉

                                TIG

                                1 條回覆 最後回覆 回覆 引用 0
                                • KrisidiousK 離線
                                  Krisidious
                                  最後由 編輯

                                  Then it shall be known as such... In all my kingdoms... as far as the eye can see...

                                  By: Kristoff Rand
                                  Home DesignerUnique House Plans

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • O 離線
                                    otb designworks
                                    最後由 編輯

                                    Not sure how I missed this the other year, but thanks TIG! Totally awesome!

                                    Cheers, Chuck

                                    OTB Designworks is on Youtube

                                    6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • 1
                                    • 2
                                    • 3
                                    • 3 / 3
                                    • 第一個貼文
                                      最後的貼文
                                    Buy SketchPlus
                                    Buy SUbD
                                    Buy WrapR
                                    Buy eBook
                                    Buy Modelur
                                    Buy Vertex Tools
                                    Buy SketchCuisine
                                    Buy FormFonts

                                    Advertisement