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

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

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

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

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.

boofredlay
Global Moderator

Posts: 9009
Joined: Mon Oct 22, 2007 1:50 pm
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
SketchUp use: architecture

### Re: Another Curve That's Got Me Stumped

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

Bernard,
An easy way, based on Eric's Method using a VERY useful Ruby Script.
(Great for Pipes, Tubes, Cords etc etc)
...
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)
...
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
SketchUp use: engineering and mechanical design

### Re: Another Curve That's Got Me Stumped

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

boofredlay
Global Moderator

Posts: 9009
Joined: Mon Oct 22, 2007 1:50 pm
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
SketchUp use: architecture

### Re: Another Curve That's Got Me Stumped

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...

Gaieus

Posts: 27638
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 2013
SketchUp use: historical reconstruction

### Re: Another Curve That's Got Me Stumped

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: 274
Joined: Tue Nov 13, 2007 1:39 pm

### Re: Another Curve That's Got Me Stumped

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

boofredlay
Global Moderator

Posts: 9009
Joined: Mon Oct 22, 2007 1:50 pm
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
SketchUp use: architecture

### Re: Another Curve That's Got Me Stumped

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

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: 274
Joined: Tue Nov 13, 2007 1:39 pm

### Re: Another Curve That's Got Me Stumped

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
Name: Ron Wells

### Re: Another Curve That's Got Me Stumped

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

### Re: Another Curve That's Got Me Stumped

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

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.

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

C
CHARLIE__V

Posts: 274
Joined: Tue Nov 13, 2007 1:39 pm

### Re: Another Curve That's Got Me Stumped

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

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
http://www.entouragearts.com
sorgesu
Entourage Arts

Posts: 854
Joined: Tue Nov 13, 2007 1:20 pm
Name: Susan Sorger

### Re: Another Curve That's Got Me Stumped

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.

boofredlay
Global Moderator

Posts: 9009
Joined: Mon Oct 22, 2007 1:50 pm
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
SketchUp use: architecture

### Re: Another Curve That's Got Me Stumped

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

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...

Gaieus

Posts: 27638
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 2013
SketchUp use: historical reconstruction

Artisan Organic Toolset - a set of powerful organic modeling tools.