Author Topic: Multi-color, 3D line?  (Read 10644 times)

0 Members and 1 Guest are viewing this topic.

cookiejar

  • Newbie
  • *
  • Posts: 8
Multi-color, 3D line?
« on: February 11, 2010, 01:52:55 PM »
I am trying to draw some knots tied with a rope. Something like this:



To show how the rope is woven, I want to be able to put some sections of the rope behind others. Any ideas how to achieve this as much as possible? Thanks.

vojo

  • Hero Member
  • *****
  • Posts: 1711
Re: Multi-color, 3D line?
« Reply #1 on: February 11, 2010, 03:04:55 PM »
custom line fill.
Create the pattern you want...add it to the line fill options...then use it

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4887
  • Ideas Visio-lized into solutions
Re: Multi-color, 3D line?
« Reply #2 on: February 11, 2010, 03:54:38 PM »
You'll need to use Custom Line patterns to get that kind of line texture.  See Visio Guy's entry:  http://www.visguy.com/2008/03/03/release-the-power-of-visio-custom-line-patterns/.  It references John Goldsmith's articles which are quite informative.  Note, Visio Guy has quite of few Custom Line pattern offerings besides the one I referenced.  You might also search this forum.

I did an example similar to your particular design.  The pattern probably should be cut in half, but, it gives you an idea...

Wapperdude
Visio 2019 Pro

Yacine

  • Hero Member
  • *****
  • Posts: 3246
Re: Multi-color, 3D line?
« Reply #3 on: February 12, 2010, 01:53:00 AM »
The pattern line was also my first idea, however it doesn't help showing the knot.
Yacine

Jumpy

  • Hero Member
  • *****
  • Posts: 1061
Re: Multi-color, 3D line?
« Reply #4 on: February 12, 2010, 02:42:24 AM »
I have to do sth. similar all the time. I need spirals or coils, which loop arround things. Normaly pipes around tanks.
This is accomplished as can be seen in the drawing by
1. Drawing a complete spiral
2. Placing the tank above it
3. Place a copy of the spiral, where parts are missing abover the tank, so that it has the same x/y-coordinates as the complete spiral.
4. Thats it.

To 3.: The missing parts I get with changing some lines in the GeometrySection of the spiral from "ElipticArcTo" to "MoveTo" rows.

-------

The same principle should be usable to your problem, especially with different colored lines for ropes.
But it may be not usable in combination with custom line patterns, because Visio has a bug, that ignores the "MoveTo" rows with custom line patterns. There is a post about that somewhere here. MoveTo only works with patternless lines or the original Visio patterns.

cookiejar

  • Newbie
  • *
  • Posts: 8
Re: Multi-color, 3D line?
« Reply #5 on: February 12, 2010, 01:11:01 PM »
Thanks a lot for the replies. Custom pattern seems to work OK until I tried the trick of changing "LineTo" to "MoveTo". The line is drawn even the row is a "MoveTo" Any ideas about this? Thanks.

vojo

  • Hero Member
  • *****
  • Posts: 1711
Re: Multi-color, 3D line?
« Reply #6 on: February 12, 2010, 04:27:13 PM »
curson on move to row
edit==>change row

Jumpy

  • Hero Member
  • *****
  • Posts: 1061
Re: Multi-color, 3D line?
« Reply #7 on: February 12, 2010, 04:35:08 PM »
See my coment above. It's a bug.

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1737
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Multi-color, 3D line?
« Reply #8 on: February 12, 2010, 06:30:33 PM »
@cookiejar,

Don't use multiple MoveTos, try adding separate Geometry sections (Insert > Section). Maybe that will work better.
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

cookiejar

  • Newbie
  • *
  • Posts: 8
Re: Multi-color, 3D line?
« Reply #9 on: February 15, 2010, 05:39:46 PM »
Thank you all! It's working perfectly now.