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!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    Parametric modeling, anyone?

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

      Hi Jolran,

      We're currently using Unity3D as our viewer, and a C# codebase for our parametric engine + operators - which delivers quite good performance in the browser. We're not strictly married to Unity3D, so SketchUp is a really interesting option for us.

      Too early to say where we will draw the line between SketchUp and our application. There are a few options, from a really tenuous connection, to deep integration.

      We're using SVG for our graph. AFAIK SketchUp uses WebKit on Mac and IE on PC. MatterMachine should run on both.

      But we expect some hurdles 😄 Would be great if you could help us with those, but totally understand you're invested. Respect for what you've done! I kinda know how much work it is 😉

      I'll PM you!


      [MatterMachine(http://maattermachine.com)]

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

        Ah .net, I see. That's a different thing then..

        So if I may ask, have you made any efforts whatsoever getting into Sketchup ?

        Ok I wait for the PM.

        1 條回覆 最後回覆 回覆 引用 0
        • majidM 離線
          majid
          最後由 編輯

          Woooow, cant waiting for this.... an huge step forward

          My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

          1 條回覆 最後回覆 回覆 引用 0
          • tkluyskT 離線
            tkluysk
            最後由 編輯

            Jolran, your work looks great. And for a big part, complementary. Are you still actively working on it?

            For the sake of completeness, I compiled a little list of relevant threads and projects. Please add if you know of any other ones. We might be able to help eachother out and make this happen.

            This April fool's led to some intense discussion on the topic:
            http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=51564

            More...
            http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=51698
            http://sketchucation.com/forums/viewtopic.php?t=22713
            http://sketchucation.com/forums/viewtopic.php?f=179%26amp;t=11074
            http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=52388

            Other users of this forum that had a stab at this:

            • Jolran's solution seems most mature. No links yet Jolran?
            • tbd with SME
            • Eric Cheung with his Script Sequencer:

            https://vimeo.com/22764739
            https://vimeo.com/22764739


            [MatterMachine(http://maattermachine.com)]

            1 條回覆 最後回覆 回覆 引用 0
            • tkluyskT 離線
              tkluysk
              最後由 編輯

              @jolran
              Yes, we've done basic work trying to get a C# <-> Ruby socket working, but we hit a first wall with threads in Ruby.

              We're starting a more serious attempt soon.

              The SketchUp team has been really supportive sofar, and the community is vibrant, with several relevant and similar projects undertaken by its members, so with everybody's help, we feel confident we can pull it off.


              [MatterMachine(http://maattermachine.com)]

              1 條回覆 最後回覆 回覆 引用 0
              • JQLJ 離線
                JQL
                最後由 編輯

                I really feel you guys should PM a lot to each other and talk to the SU team a lot. I feel it's a bit of a waste to not mix both your efforts and you can be sure you'll get a lot of us asking for more!!!

                Best of luck to both!

                João

                www.casca.pt
                Visit us on facebook!

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

                  +1
                  on Joãos comment

                  1 條回覆 最後回覆 回覆 引用 0
                  • tkluyskT 離線
                    tkluysk
                    最後由 編輯

                    Our first phase effort will involve building a working socket to pass data between C# and Ruby/SU. We have a socket going, but there are some issues passing data between the socket thread and main thread in Ruby.

                    Second issue we're tackling is efficiently pass (or at least display) large amounts of triangles and line segments between MatterMachine and SU. Building 20000 triangles using Ruby takes about a second. That is too slow!


                    [MatterMachine(http://maattermachine.com)]

                    1 條回覆 最後回覆 回覆 引用 0
                    • JQLJ 離線
                      JQL
                      最後由 編輯

                      @tkluysk said:

                      Building 20000 triangles using Ruby takes about a second. That is too slow!

                      I've just crossed my eyes on the "Cricket for sketchup" thread, (Pixero's fault on Thea Render Forum 😄) where Thomthom talks about a way to visualize geometric operations before commiting them to actual geometry. This is supposedly faster than that sec you talk about, but I can't understand half of what is being discussed...

                      Jolran is there discussing it too so you should PM each other even more!

                      http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=51564#p465815

                      Cheers,

                      João

                      www.casca.pt
                      Visit us on facebook!

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

                        We have alread PM each other but we are not on the "same page".
                        So there is no collaboration going on.

                        That is simply the game.

                        Apparently Thomthom is on the "job".

                        It would have been common curtesy contacting me as well since I've been
                        posting stuff about this plugin for over a year, and a longtime member of this forum..
                        But I guess this is the new Trimble policy

                        Anyway. You will have an alternative when this .net application keeps crashing. 😉
                        I'm not going to back off!

                        @unknownuser said:

                        Building 20000 triangles using Ruby takes about a second. That is too slow!

                        I have no problem with 20K displaying it in OPEN_GL.
                        It will take a couple of seconds more even if you untriangulate the geometry.
                        An ex:


                        brepstest.gif

                        1 條回覆 最後回覆 回覆 引用 0
                        • tkluyskT 離線
                          tkluysk
                          最後由 編輯

                          Jolran, please: I PM you for a reason.

                          As far as I'm concerned we are very much on the same page, big picture wise. But again, I respect and understand if you'd rather go solo on this.

                          ThomThom is not 'on the job'. He has given us some early advice, and has been very supportive, as he has been with you, I'm sure. And we hope to be able to tap his wisdom in the future.

                          Anyway, I take away your advice on the direct GL drawing. It's a good one.


                          [MatterMachine(http://maattermachine.com)]

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

                            Dear Tom. Please check your PM.

                            @unknownuser said:

                            ThomThomThom is not 'on the job'. He has given us some early advice, and has been very supportive, as he has been with you, I'm sure

                            Ok, I missunderstood that part.
                            And yes, he has.

                            Best regards/
                            Joel

                            1 條回覆 最後回覆 回覆 引用 0
                            • tkluyskT 離線
                              tkluysk
                              最後由 編輯

                              @ JQL & DOD3R thanks for your encouraging words. We know we'll need those over the coming months!


                              [MatterMachine(http://maattermachine.com)]

                              1 條回覆 最後回覆 回覆 引用 0
                              • tt_suT 離線
                                tt_su
                                最後由 編輯

                                @jolran said:

                                It would have been common curtesy contacting me as well since I've been
                                posting stuff about this plugin for over a year, and a longtime member of this forum..
                                But I guess this is the new Trimble policy

                                Sorry jolran, I didn't connect the two project. I knew you where working on something paremetric - but I had no idea how far you'd gotten and the exact details. I haven't been able to keep up to date with everything the last year. Last time I checked in it was about concepts I think. The screens you have to show here is mighty impressive!
                                Rest assured we have no "policy" of excluding anyone.

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

                                  Don't worry Thomthom. You have helpt me so much in the past.
                                  Therefore I was a bit surprised not getting any info at all, that's all.

                                  I must admit, I have been cryptic regarding this project. So I have myself to blame.

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • tt_suT 離線
                                    tt_su
                                    最後由 編輯

                                    And we also have to be careful about sharing information which people come to us about. Some of it can be sensitive information which isn't meant to be shared.

                                    I really like what I have seen so far from both of your projects, and it would be great if there was some way you all could benefit from each other.

                                    We are here to answer questions should there be any. And we're paying close attention to these types of extensions as we're aware that there are improvements to the API to be desired. Performance is one of them.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • JQLJ 離線
                                      JQL
                                      最後由 編輯

                                      I don't want to contribute to promote any argument here, but I take it Jolran's aproach is the way I'd opt as it is Sketchup based, but the web based viewer/product configurator is the sort of thing I'd need on some projects of mine I've just started to develop.

                                      I really hope both of you achieve your goals wich will greatly contribute for the community as a whole. If, your combined achievements could be awesome faster though...

                                      Again best of all,

                                      João

                                      www.casca.pt
                                      Visit us on facebook!

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • tkluyskT 離線
                                        tkluysk
                                        最後由 編輯

                                        @JQL Portability to the web/cloud is central for us, and you might agree that this is where all things CAD/3D will end up. But you're right: it makes for an odd marriage with SketchUp in its current state. But odd couples often work out great 😄

                                        We can think of a few elegant ways of integrating, though. Many plugin developers already resort to C/++ extensions for vast performance increase over Ruby, and we hear a C# wrapper for the API is on the way as well. Those apporaches are not very different from what we have in mind. If we (as in you included!) can demonstrate exciting applications done this way, we might get the SU team to play long, I'm sure.

                                        For a larger pov, the MatterMachine integration might help shape people's ideas of what SketchUp's presence in the cloud could mean. The Sketchup Warehouses (asset & extensions) could become natural places to interact with SketchUp files, rather than pulling them into the desktop app. The WebGL viewer for SU files is a great step in that direction.


                                        [MatterMachine(http://maattermachine.com)]

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • tkluyskT 離線
                                          tkluysk
                                          最後由 編輯

                                          MatterMachine - SketchUp: first contact!

                                          This is through a socket, straight from the Unity webplayer plugin in Chrome, to a SketchUp Ruby thread.

                                          The Ruby threads seem to refresh very erratically and somewhat infrequently. By far not fast enough to sustain, say, a 30fps link between MM and SU. It might very well be that that's as good as Ruby threads get. They are not much faster when run in a shell, outside of SU, so SU is not really to blame here we think.

                                          If we rule out error from us, we will work through a C++ socket instead.


                                          SU-MM-first-contact.png


                                          [MatterMachine(http://maattermachine.com)]

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • jeff hammondJ 離線
                                            jeff hammond
                                            最後由 編輯

                                            @tkluysk said:

                                            MatterMachine - SketchUp: first contact!

                                            This is through a socket, straight from the Unity webplayer plugin in Chrome, to a SketchUp Ruby thread.

                                            The Ruby threads seem to refresh very erratically and somewhat infrequently. By far not fast enough to sustain, say, a 30fps link between MM and SU. It might very well be that that's as good as Ruby threads get. They are not much faster when run in a shell, outside of SU, so SU is not really to blame here we think.

                                            If we rule out error from us, we will work through a C++ socket instead.

                                            (disclaimer - i don't write code)

                                            are you trying to get all of the drawing to happen in sketchup itself? because i would imagine that being pretty slow for this type of plugin as it's going to be creating lots of geometry very quickly and i don't think sketchup can handle it except for the most basic of operations.

                                            what if it accepts geometry from sketchup (say, a line in a model) as input.. then does all the calculating/previewing/etc outside of the sketchup model space (or maybe in the space but using different type of preview drawing than normal sketchup?).. once a user is satisfied, the results are then drawn ('baked' in grasshopper terms) with real sketchup geometry.

                                            or is what i'm describing already what you and jolran's sneakpeeks showing?

                                            dotdotdot

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

                                            Advertisement