SketchUcation Premium Membership

 

 

[Tutorial > Modeling] Another Curve That's Got Me Stumped

[Tutorial > Modeling] Another Curve That's Got Me Stumped

Postby Bernard Hagan » Tue Nov 13, 2007 2:30 pm

I've been mucking around with this model where I'm trying to create a curved path for a 'follow me' circle that will, in turn, create the 'cord' component of a power-cord that goes from the rear of a mantle radio to a plug that is plugged into a wall socket.

I sense that there is an easy way to do this but I can't get my mind thinking laterally enough. I've build a matrix that I thought may help me better understand the 3D nature of the space and on which I could then build planes that I could draw curves on. It makes me more confused than ever.

I tend to think that 'Intersects with model' may have something to do with the solution?

Any ideas?

(Bernard Hagan)
Please, register (free) to access all the attachments on the forums.
Bernard

Our fantasies keep us safe and sane in an incomprehensible, indifferent universe: inevitably we comprehend them as reality itself.
Bernard Hagan
 
Posts: 83
Joined: Thu Nov 15, 2007 4:37 pm
Location: Brisbane, Australia
Name: Bernard

Re: Another Curve That's Got Me Stumped

Postby boofredlay » Tue Nov 13, 2007 2:31 pm

Here is one way of going about it.
See attached.



Download Tutorial

Now I did not account for scale so forgive me if this is huge, the cord that is.

Edit: You could also use the weld ruby to make the curves a single polyline but when you lift the end it makes all the curves in a single plane. I like the effect in the tutorial I just created better. It looks more like a cord.
User avatar
boofredlay
Global Moderator
 
Posts: 9006
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Another Curve That's Got Me Stumped

Postby Shaun Tennant » Tue Nov 13, 2007 2:34 pm

Bernard, could you post a picture of what the cord should look like? I don't know that i can help, but I would like to try, and I don't understand what the cord should look like..
Shaun
Okay, I gave 'er a rip, I am using a really slow laptop, so, the imperfection will have to do. I just started drawing lines everywhere I thought the cord would shoot out into in 3D space, then I smoothed them out with curves.. then messed with follow-me, which took this machine forever, so I won't really be too interested in going back. You can see my rough path if you go into Xray mode..
I actually couldn't manipulate this file even in wireframe, so either it's wayyy too heavy, or

(Shaun Tennant)
Please, register (free) to access all the attachments on the forums.
Whether they find a life there or not, I think Jupiter should be called an enemy planet.
- Jack Handey
Shaun Tennant
 
Posts: 192
Joined: Wed Jan 09, 2008 11:00 pm
Location: Edmonton, Alberta
Name: El "Man"

Re: Another Curve That's Got Me Stumped

Postby Howard Leslie » Tue Nov 13, 2007 2:40 pm

Bernard,
An easy way, based on Eric's Method using a VERY useful Ruby Script.
(Great for Pipes, Tubes, Cords etc etc)
...
1. Download Ruby Script from Didier's Website here:
http://www.crai.archi.fr/RubyLibraryDep ... o_page.htm
"PipeAlongPath.rb" (Thank you TIG for this great Script).
...
2. Copy it here (Plugins Folder) (if you have a Windows PC, I'm not sure about Mac's)
C:\Program Files\Google\Google SketchUp 6\Plugins\
...
3. Draw guidelines (cord / pipe centreline) as per Eric's method as required.
...
4. Use PipeAlongPath Script - which has now appeared in top Menu
Plugins - PipeAlongPath (See Scene 8 in attached *.skp)
...
(See attached)
Hope this helps

Regards
Howard L'
Please, register (free) to access all the attachments on the forums.
Howard Leslie
 
Posts: 236
Joined: Mon Nov 12, 2007 2:41 pm
Location: Cumbria; UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: Another Curve That's Got Me Stumped

Postby boofredlay » Tue Nov 13, 2007 2:46 pm

Howard, thanks for that. I have inquired about pipe along path before but never tried it. Well I finally did and I love it. Makes the steps much easier. Thanks again.

Bernard, do what Howard says :!:
User avatar
boofredlay
Global Moderator
 
Posts: 9006
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Another Curve That's Got Me Stumped

Postby Gaieus » Tue Nov 13, 2007 2:46 pm

Guys as I understand Bernard's biggest pain is to create the proper path first of all! Unfortunately the radio with the grid confuses mee too much to understand what exacly he is trying to do. Maybe looking into it a bit more will allow me to see.
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27610
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: Another Curve That's Got Me Stumped

Postby CHARLIE__V » Tue Nov 13, 2007 2:47 pm

Thought I would share just a slightly different approach than already posted.
I was confounded by this very thing just a couple days ago,and here is an approach I used.
The "Grips" I beleive allow for a little more flexability in adjusting the path.

C
Please, register (free) to access all the attachments on the forums.
CHARLIE__V
 
Posts: 272
Joined: Tue Nov 13, 2007 1:39 pm

Re: Another Curve That's Got Me Stumped

Postby boofredlay » Tue Nov 13, 2007 2:47 pm

Charlie, that is great. I never knew you could add grips to a welded curve. Good tip.
User avatar
boofredlay
Global Moderator
 
Posts: 9006
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Another Curve That's Got Me Stumped

Postby Cyberdactyl » Tue Nov 13, 2007 2:49 pm

Here's a another with a generic electrical cord cross section. I made the plastic a bit too shiny.

(Cyberdactyl)
Cyberdactyl
 
Posts: 108
Joined: Sat Nov 24, 2007 10:20 pm
Location: Raleigh, NC

Re: Another Curve That's Got Me Stumped

Postby CHARLIE__V » Tue Nov 13, 2007 2:52 pm

Boofredlay wrote:Charlie, that is great. I never knew you could add grips to a welded curve. Good tip.


Thanks Eric..........But as the saying goes,every now and then a blind squirrel finds a nut.
:~)

C
CHARLIE__V
 
Posts: 272
Joined: Tue Nov 13, 2007 1:39 pm

Re: Another Curve That's Got Me Stumped

Postby bellwells » Tue Nov 13, 2007 2:52 pm

Charlie,

What a great tip! I didn't know this, either. Thanks.

Ron

(bellwells)
Ron
bellwells
 
Posts: 560
Joined: Thu Nov 15, 2007 12:55 am
Location: Colorado
Name: Ron Wells

Re: Another Curve That's Got Me Stumped

Postby modelhead » Tue Nov 13, 2007 2:54 pm

Hey Charlie far out! I'm playing with it now...building a roller coaster...that is a real great find. Cheers! Thanks!
Modelhead
modelhead
 

Re: Another Curve That's Got Me Stumped

Postby gata » Tue Nov 13, 2007 2:54 pm

Also explode same curve and use the Smoove tool on it. A 20' radius worked well on the example.
gata
 
Posts: 141
Joined: Tue Nov 13, 2007 1:57 am

Re: Another Curve That's Got Me Stumped

Postby CHARLIE__V » Tue Nov 13, 2007 2:55 pm

gata wrote:Also explode same curve and use the Smoove tool on it. A 20' radius worked well on the example.


Gata,
Clever use of the smoove tool,never occured to me to try it,Thanks :~)
This is great collaboration,gotta love it.

modelhead,
Can't wait to see the coaster,i want a front seat 8O .

C
CHARLIE__V
 
Posts: 272
Joined: Tue Nov 13, 2007 1:39 pm

Re: Another Curve That's Got Me Stumped

Postby Bernard Hagan » Tue Nov 13, 2007 2:56 pm

Thanks to everyone who helped solve this problem - one that has been bothering me for some time.

As I suspected, it now seems embarrassingly simple. As Gaieus said, my problem was drawing the single line curve through 3D space.

Eric [Boofredlay] - a simple, clear and efficient method that I will now be able to use on other models. Very much appreciated. Shouldn't this go on the Tutorial Forum?

Jim - yours is another simple method that would work because you could vary the size and shape of the two curves to avoid other objects that might be in the way. Many thanks.

Shaun - I appreciate your efforts. You got a lot further than I did. You actually had curves which is more than I could manage.

Howard - I intended to use this ruby plug-in or one like it but had to draw the curve first. Thanks for pointing me in the right direction.

Charlie - Your "Grips" seem as if they would make a job that I would hesitate at doing in the first place, a lot easier.

This is what makes this forum so great - one problem and so many members willing to help find a solution. Again, many thanks to everyone who helped.

(Bernard Hagan)
Bernard

Our fantasies keep us safe and sane in an incomprehensible, indifferent universe: inevitably we comprehend them as reality itself.
Bernard Hagan
 
Posts: 83
Joined: Thu Nov 15, 2007 4:37 pm
Location: Brisbane, Australia
Name: Bernard

Re: Another Curve That's Got Me Stumped

Postby sorgesu » Tue Nov 13, 2007 2:57 pm

Ah, that is interesting. the "grips" work by actually breaking up the welded curves into segments again, but the segment endpoints are at key positions with welded bits left in between. Neat!
Susan Sorger
Seller Hand Rendered Entourage
Canadian Authorized Training Centre, SketchUp
http://www.entouragearts.com
sorgesu
Entourage Arts
 
Posts: 854
Joined: Tue Nov 13, 2007 1:20 pm
Location: Thornhill, ON Canada
Name: Susan Sorger

Re: Another Curve That's Got Me Stumped

Postby boofredlay » Tue Nov 13, 2007 2:57 pm

Bernard Hagan wrote:Shouldn't this go on the Tutorial Forum?

Good idea Bernard. I will move it and leave a shadow copy in the Pro Users Forum for a few days.
User avatar
boofredlay
Global Moderator
 
Posts: 9006
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Another Curve That's Got Me Stumped

Postby Bernard Hagan » Tue Nov 13, 2007 2:58 pm

Here is a tutorial [a bit heavy] showing how I created the electrical cord.

I'd be still struggling with it if it weren't for the help I received here. Again - much appreciated. The radio, shelf, plug and socket I built in Lightwave using nurbs so it looks a bit primitive in SU. Still some work to do on it. The cord could be a lot smoother if I spent more time on it - though these old fabric covered cords had a tendency to retain their kinks.

I'll leave it to the powers that be to move it to the appropriate forum.

(Bernard Hagan)
Please, register (free) to access all the attachments on the forums.
Bernard

Our fantasies keep us safe and sane in an incomprehensible, indifferent universe: inevitably we comprehend them as reality itself.
Bernard Hagan
 
Posts: 83
Joined: Thu Nov 15, 2007 4:37 pm
Location: Brisbane, Australia
Name: Bernard

Re: Another Curve That's Got Me Stumped

Postby Gaieus » Tue Nov 13, 2007 3:00 pm

Here's a pic:


I got the ruby plugin [MENUS_02] from Alan at:

viewtopic.php?f=128&t=371

It has a whole pile of useful scripts including a number that project lines and planes.
Please, register (free) to access all the attachments on the forums.
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27610
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to SketchUp Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests