sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Cricket for SketchUp; could this be true?

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

      @unknownuser said:

      I recommend using a framework such as jQuery - takes a lot of the pain away.

      I am. It would be very difficult for me without Jquery. It's difficult as it is.
      When things get going I guess one can refactor to plain js as much as possible, should one feel improved performance is necessary?

      1 條回覆 最後回覆 回覆 引用 0
      • thomthomT 離線
        thomthom
        最後由 編輯

        @jolran said:

        When things get going I guess one can refactor to plain js as much as possible, should one feel improved performance is necessary?

        I wouldn't even consider it. Not unless you can prove by measurements that jQuery produces a bottleneck.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 條回覆 最後回覆 回覆 引用 0
        • jolranJ 離線
          jolran
          最後由 編輯

          @unknownuser said:

          I wouldn't even consider it. Not unless you can prove by measurements that jQuery produces a bottleneck.

          Thanks that's sounds reassuring. I'd rather not change..

          Spent a whole day trying to get the nodes communicating.
          Finally made some progress. When dropping a nodecurve on an endpoint, and a event trigger and grab the value from the sourcenode, yesy! That's a very important aspect of the plugin.

          It turned out that the connectionplugin do not create DOM elements or rather JQuery objects 😲 . So had to find some fancy Jquery selectors to convert the elements for "parler".

          I notice I'm raping this topic quite a bit. Might create a new topic later on IF I get some good news or a testversion(that might delay) to play with. Sort of WIP maybe?

          1 條回覆 最後回覆 回覆 引用 0
          • pilouP 離線
            pilou
            最後由 編輯

            @unknownuser said:

            Might create a new topic later on IF I get some good news or a testversion(that might delay) to play with. Sort of WIP maybe?

            Sure! ☀
            Bon courage! 😎

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              @jolran said:

              It turned out that the connectionplugin do not create DOM elements or rather JQuery objects 😲 . So had to find some fancy Jquery selectors to convert the elements for "parler".

              What fancy selectors? Swapping between jQuery and DOM objects is trivial. Are you doing too much work?

              @jolran said:

              I notice I'm raping this topic quite a bit. Might create a new topic later on IF I get some good news or a testversion(that might delay) to play with. Sort of WIP maybe?

              This topic was based on an April Fool's prank. It'd served its purpose. But if you want to keep the discussion grouped in a separate thread then let me know if you want me to move some of the comments from this thread to another.

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 條回覆 最後回覆 回覆 引用 0
              • jolranJ 離線
                jolran
                最後由 編輯

                Thanks Pilou ☀

                @unknownuser said:

                What fancy selectors? Swapping between jQuery and DOM objects is trivial. Are you doing too much work?

                Don't know, it wasent obvious how to go about.
                The connector JS-plugin has it's own namespace.
                So I could not slam id or class selectors on the connector. The connector had it's own special object Id where I could extract "source" as the DOM object connected to this connector 😄 And from there use whatever Jquery selector needed.

                Just took a while to figure out..

                @unknownuser said:

                This topic was based on an April Fool's prank. It'd served its purpose. But if you want to keep the discussion grouped in a separate thread then let me know if you want me to move some of the comments from this thread to another.

                I will do that. But I think it will be ok to start an empty topic.
                First I got to see where this can lead to. Then gotta figure out a name.
                Cockroach ? 😄 Just kidding. I don't think it's a good idea to have a name that has a bug in it.

                1 條回覆 最後回覆 回覆 引用 0
                • D 離線
                  dmatho
                  最後由 編輯

                  @unknownuser said:

                  ... But I think it will be ok to start an empty topic... Then gotta figure out a name. Cock-roach ?

                  David Rutten, who initially developed what's now known as Grasshopper, called it "Explicit History Editor", the reasoning being it was that the UI allows graphically remapping processes and workflows ("the History"), irrespective and beyond actually creating and editing 3D geometry.

                  The actual product name may come later (!?), I'm just providing, of you will, the background principle or spirit that's driving this brand-new usability for SketchUp, behind the scene.

                  Cheers,

                  . Diego .

                  1 條回覆 最後回覆 回覆 引用 0
                  • jolranJ 離線
                    jolran
                    最後由 編輯

                    "Explicit History Editor". Aha there you go.

                    That name doesent really sell any numbers 😄

                    Thanks for the info.

                    1 條回覆 最後回覆 回覆 引用 0
                    • D 離線
                      DOD3R
                      最後由 編輯

                      Hi Jorlan,
                      This will be a gamechanger !!! and much better than Christmas. 😄

                      PS: I volunteered for beta testing your hatchface/paneling plugin, but I discovered that I am not able to provide you with constructive feedback due to lack of experience with plugin development. I am just sketch up enthusiast with architectural education. So I am not very useful betatester at this stage, but I hope I can help later. May by I can do some UI design stuff or You name it I would be more than happy to help make parametric modeling available in SU.

                      1 條回覆 最後回覆 回覆 引用 0
                      • jolranJ 離線
                        jolran
                        最後由 編輯

                        Thank you, but I can't make any promises this will become a useful working plugin.

                        But, I'm sure you can provide constructive feedback. I don't have much experience in plugin development either, really. Just hacking away, solving problems when they come...

                        Just a simple matter to test if the plugin works on your system could be of big help.
                        I'll let you know when there's something to test.

                        All the best.

                        1 條回覆 最後回覆 回覆 引用 0
                        • plot-parisP 離線
                          plot-paris
                          最後由 編輯

                          Hi jolran,

                          sounds really exciting. I am looking forward to a bit of alpha-testing 😉
                          such a plugin would be awesome indeed!

                          PS: the "Cricket"-name of the april fools prank isnt too bad, actually...

                          1 條回覆 最後回覆 回覆 引用 0
                          • jolranJ 離線
                            jolran
                            最後由 編輯

                            Hi Plot-Paris.

                            @unknownuser said:

                            I am looking forward to a bit of alpha-testing

                            This can take a while.. But thanks for showing interest!

                            I'm planning, testing and reading up on JQUERY events a lot at the moment so it's no standstill, just needs a lot of staging since the GUI has to be kept in a dynamic
                            nature. Even if starting small..

                            Today I took a break from troubleshooting though and worked on OPEN_GL lines and flatshaded meshes as per Thomthoms suggestions. Pretty cool indeed. Could prove very useful.
                            Using 4 rgbvalues gives a nice transparent and not so dull looking mesh.

                            1 big problem is to bridge SU and JS in a flexible yet fast way.
                            And it still has to work with Mac who has sync problem with many callbacks.
                            It's also difficult to pump the values from within SU when the DOM is dynamic. I.e number of nodes and combinations, ID's is unknown beforehand. Maybe pump a big JSON...
                            Lazy VS eager evaluation.. etc..

                            BTW using the name "Cricket" on this Interface is a lawsuit creeping around the corner. 😉
                            Gotto distance myself a little there...

                            Like I said earlier, I'll probably start a new thread soonish, if all goes well.

                            1 條回覆 最後回覆 回覆 引用 0
                            • jolranJ 離線
                              jolran
                              最後由 編輯

                              I believe some of these posts can be moved to NodebasedWIP topic ?

                              1 條回覆 最後回覆 回覆 引用 0
                              • D 離線
                                dmatho
                                最後由 編輯

                                @jolran said:

                                I believe some of these posts can be moved to NodebasedWIP topic ?

                                Nice, in my opinion you should simply go for it! At this point, you're probably well ahead of the game developing such a desirable feature 😉

                                Many thanks, cheers,

                                . Diego .

                                1 條回覆 最後回覆 回覆 引用 0
                                • thomthomT 離線
                                  thomthom
                                  最後由 編輯

                                  In TT_Lib2 I have a GUI framework where I build the UI with Ruby classes. Then the webdialog opens the Ruby side pushes messages to create the UI dynamically on the JS side. The Ruby side creates the ID for the control which is used on both sides to look up the correct corresponding UI element.

                                  Thomas Thomassen — SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • jolranJ 離線
                                    jolran
                                    最後由 編輯

                                    Thanks Thomthom I'll look into that. Although everything is very eventdriven by Jquery UI.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • thomthomT 離線
                                      thomthom
                                      最後由 編輯

                                      There's many ways to do it. But whatever creates the ID you can create an ID map (hash) on each side so either way know what ID to call.

                                      Thomas Thomassen — SketchUp Monkey & Coding addict
                                      List of my plugins and link to the CookieWare fund

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • plot-parisP 離線
                                        plot-paris
                                        最後由 編輯

                                        Hey Joel,
                                        is there already a dedicated thead somewhere?
                                        Any progress on the plugin development? 🎉

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • jolranJ 離線
                                          jolran
                                          最後由 編輯

                                          Hi Plot-Paris!

                                          Yes, all discussion should be directed to:

                                          http://sketchucation.com/forums/viewtopic.php?f=323&t=51698

                                          I'm working on it almost every day. Some days more some days less.
                                          There's a lot of work to be done to the core,
                                          but I do have some nodes responding to chaining in Ruby.

                                          Is there any specific question you having? Go ahead and post it in the other thread 😄

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

                                          Advertisement