• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

'Project Matchbox': 3D Car Modeler

Scheduled Pinned Locked Moved Developers' Forum
24 Posts 10 Posters 4.7k Views 10 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    geh4evr
    last edited by 19 Aug 2008, 16:01

    Max, this is a very interesting looking project, I think it's one of the best Ruby Scripts(In my Opinion) I've ever used. A Thing I think would enhance it would be a seed generator, so the Ruby script would output a certain random number for each vehicle it makes, that way if we wanted to make the same vehicle again, we'd just enter the seed.

    1 Reply Last reply Reply Quote 0
    • A Offline
      antantantant
      last edited by 19 Aug 2008, 16:22

      Thanks Pixero, πŸŽ‰

      The backside-out thing is my fault, but easy to fix. Also I'm with you about adding bumpers and wheels. However, I don't want to change the wheel design cos this whole thing is focused on the car body. What do you think? I plan to add user-control if the non-controllable interactive genetic algorithm turns out to be not convergent.

      Bezier_surf is from 'Victor Liu' on Google SketchUp group. I attached his standalone plug-in: bez-patch.zip (bez-patch.rb should be the entering point).
      My contribution to it is to make connected Bezier curve/surfaces have smooth tangent/curvature.

      -Max

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 19 Aug 2008, 16:25

        A very clever script.

        Suggested tweaks:
        Add a notifier or progress bar if it takes much longer (e.g. when additional tweaking is added)
        Flip the faces so that blue is inside (it's an easy normal swap)
        Make the sub-pieces into components, assemble these into a 'half-car' component and make the whole car a component from a pair of handed components.
        Make the window areas transparent, and add front/back lights, wheels, trim/handles, floor-pan, dash, steeringwheel, seats etc etc
        Add interactivity...

        Well done to date !

        TIG

        1 Reply Last reply Reply Quote 0
        • M Offline
          Marian
          last edited by 19 Aug 2008, 20:27

          Are you using a separate script for linking together multiple bezier curves? and if so can you release it as a separate ruby, it will also be very usefull for making cars.

          http://marian87.deviantart.com/

          1 Reply Last reply Reply Quote 0
          • A Offline
            antantantant
            last edited by 19 Aug 2008, 20:49

            @marian said:

            Are you using a separate script for linking together multiple bezier curves? and if so can you release it as a separate ruby, it will also be very usefull for making cars.

            I'm sorry for the messed-up code. This is actually my first Ruby code anyway...
            I link curves/surfs together in a way that they have continuous tangent or curvature. And I would like to release a separate ruby so that people can attach a curve to a existing one and make sure they linked smoothly. But I don't have a schedule for that... πŸ˜•

            1 Reply Last reply Reply Quote 0
            • A Offline
              antantantant
              last edited by 19 Aug 2008, 20:51

              @unknownuser said:

              I hit the button like crazy but nothing happens.

              Hmmm.... That's weird. You should have one entering file "MatchboxPlugin.rb" and a folder with the same name. Do not move files out of that folder.

              1 Reply Last reply Reply Quote 0
              • M Offline
                Marian
                last edited by 20 Aug 2008, 09:20

                I had this idea of ruby generated cars for months but never uttered a word cause i'm a ruby ignorant πŸ˜› and i thought it would be impossible as there would many variables involved.
                GOOD JOB antantantant

                http://marian87.deviantart.com/

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Crazy Eyes
                  last edited by 20 Aug 2008, 12:47

                  Great script, I am amazed with the possibilities, but I think it might need a re-write so we can alter the wheel well size. A 700mm wheel well just isn't big enough to fit the wheels nicely.Would it be too difficult to alter the script so the wheel well doesn't factor in the wheelbase?

                  Some people are lovers, some are fighters, if you love to fight, fight for love!

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    antantantant
                    last edited by 20 Aug 2008, 16:05

                    @crazy eyes said:

                    Great script, I am amazed with the possibilities, but I think it might need a re-write so we can alter the wheel well size. A 700mm wheel well just isn't big enough to fit the wheels nicely.Would it be too difficult to alter the script so the wheel well doesn't factor in the wheelbase?

                    Thanks Crazy Eyes,

                    That is a good question. Several parameters should be further linked with the wheel size. I'll fix them soon. Good observation!

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Julius
                      last edited by 20 Aug 2008, 16:59

                      wow! cool plugin! also i would suggest to generate the two halves of the car as components.

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        RayOchoa
                        last edited by 20 Aug 2008, 20:24

                        What does this plug-in really do?

                        CaR DeSiGnS bY mE
                        http://ray-ochoa.com

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          ely862me
                          last edited by 20 Aug 2008, 20:59

                          As Marian said we will be verry happy if u can put the "My contribution to it is to make connected Bezier curve/surfaces have smooth tangent/curvature." in a plugin.


                          making the contour;for more details more curves added


                          the plugin should do this

                          Elisei (sketchupper)


                          Before no life was done on Earth it was THE LIFE ITSELF...GOD
                          Come and See EliseiDesign

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            majid
                            last edited by 21 Aug 2008, 09:28

                            very cool plugin... thanx . i had some problem whit the BEZ plugin ... ( a message showing it doesn't uploaded )

                            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 Reply Last reply Reply Quote 0
                            • R Offline
                              RayOchoa
                              last edited by 26 Aug 2008, 23:52

                              all it does for me is generate random cars. is that what its supposed to do? Nice plugin although it takes a bit out of using your imagination

                              CaR DeSiGnS bY mE
                              http://ray-ochoa.com

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                antantantant
                                last edited by 27 Aug 2008, 00:12

                                @rayochoa said:

                                all it does for me is generate random cars. is that what its supposed to do? Nice plugin although it takes a bit out of using your imagination

                                Thanks Ochoa. I'll say this is an alpha prototype and yes, that's all it does for now. From my opinion, Sketchup is not only a efficient tool to convey ideas MANUALLY, but also a promising way to create things using artificial intelligence, e.g. let SketchUp gradually learn what kind of cars people are looking for and generate them automatically, or build a house that has enough light in it but doesn't cost too much on the windows. What do you think? πŸŽ‰

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  RayOchoa
                                  last edited by 27 Aug 2008, 00:49

                                  Well if you look at it like that i guess your right πŸ˜„ but if you look at my cars (well the recent ones anyway) I make them with mostly only one tool: the line tool and if you use it right it will get you some pretty good results. Oh and when i was using it sometimes it woulsd generate a car with the rear panel stretched out like an airplane so yeah.

                                  CaR DeSiGnS bY mE
                                  http://ray-ochoa.com

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    antantantant
                                    last edited by 27 Aug 2008, 01:03

                                    @rayochoa said:

                                    Well if you look at it like that i guess your right πŸ˜„ but if you look at my cars (well the recent ones anyway) I make them with mostly only one tool: the line tool and if you use it right it will get you some pretty good results. Oh and when i was using it sometimes it woulsd generate a car with the rear panel stretched out like an airplane so yeah.

                                    I checked some on the warehouse. Pretty awesome! But I cannot imagine building surfaces with line tool...how long does that take? I recommend Alias/Catia if you really enjoy building concept vehicles by hand. The current SketchUp will not bring you to the next level.

                                    I noticed that bug...and I hope you enjoy it along with all other bugs. πŸ˜‰

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      RayOchoa
                                      last edited by 27 Aug 2008, 01:24

                                      lol finds a roach and says "BAM I GOT YOU!!!"

                                      Actually no, its not that hard. And its alot easier with blueprints. you just need to align the lines to the points in the drawing. It depends how experienced you are

                                      CaR DeSiGnS bY mE
                                      http://ray-ochoa.com

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        Marian
                                        last edited by 27 Aug 2008, 05:11

                                        Could this script be made to make other shapes, like asteroids, craters, generic airplanes stuff like that?

                                        http://marian87.deviantart.com/

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          Julius
                                          last edited by 27 Aug 2008, 07:42

                                          @rayochoa said:

                                          Well if you look at it like that i guess your right πŸ˜„ but if you look at my cars (well the recent ones anyway) I make them with mostly only one tool: the line tool and if you use it right it will get you some pretty good results. Oh and when i was using it sometimes it woulsd generate a car with the rear panel stretched out like an airplane so yeah.

                                          it's pretty hard to build them ONLY with the line tool! πŸ’š

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            13/24
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement